use of mods.railcraft.common.plugins.color.EnumColor in project Railcraft by Railcraft.
the class BlockStrengthGlass method defineRecipes.
@Override
public void defineRecipes() {
for (EnumColor color : EnumColor.VALUES) {
CraftingPlugin.addShapedRecipe(getStack(8, color), "GGG", "GDG", "GGG", 'G', RailcraftBlocks.GLASS.getWildcard(), 'D', color.getDyeOreDictTag());
}
Object[] frameTypes = { "ingotTin", "ingotNickel", "ingotInvar", "ingotBrass", Items.IRON_INGOT };
FluidStack water = Fluids.WATER.get(FluidTools.BUCKET_VOLUME);
for (Object frame : frameTypes) {
CraftingPlugin.addShapedRecipe(getStack(6, EnumColor.WHITE), "GFG", "GSG", "GWG", 'G', "blockGlassColorless", 'F', frame, 'S', "dustSaltpeter", 'W', water);
}
}
Aggregations