use of crazypants.enderio.base.material.material.NutritiousStickRecipe in project EnderIO by SleepyTrousers.
the class MaterialRecipes method register.
@SubscribeEvent
public static void register(@Nonnull RegistryEvent.Register<IRecipe> event) {
final IForgeRegistry<IRecipe> registry = event.getRegistry();
for (Alloy alloy : Alloy.values()) {
registry.register(new ShapedOreRecipe(null, alloy.getStackBlock(), "iii", "iii", "iii", 'i', alloy.getOreIngot()).setRegistryName(Crafting.mkRL("Auto: " + alloy.getBaseName() + " 1 block to 9 ingots")));
registry.register(new ShapelessOreRecipe(null, alloy.getStackIngot(9), alloy.getOreBlock()).setRegistryName(Crafting.mkRL("Auto: " + alloy.getBaseName() + " 9 ingots to 1 block")));
registry.register(new ShapedOreRecipe(null, alloy.getStackIngot(), "nnn", "nnn", "nnn", 'n', alloy.getOreNugget()).setRegistryName(Crafting.mkRL("Auto: " + alloy.getBaseName() + " 9 nuggets to 1 ingot")));
registry.register(new ShapelessOreRecipe(null, alloy.getStackNugget(9), alloy.getStackIngot()).setRegistryName(Crafting.mkRL("Auto: " + alloy.getBaseName() + " 1 ingot to 9 nuggets")));
}
for (EnumDyeColor color : EnumDyeColor.values()) {
for (FusedQuartzType type : FusedQuartzType.values()) {
registry.register(new ShapedOreRecipe(null, new ItemStack(type.getBlock(), 8, color.getMetadata()), "GGG", "CGG", "GGG", 'G', type.getOreDictName(), 'C', "dye" + MaterialOredicts.dyes[color.getDyeDamage()]).setRegistryName(Crafting.mkRL("Auto: Coloring " + type.getName() + " with " + color.getUnlocalizedName())));
}
}
registry.register(new NutritiousStickRecipe().setRegistryName(Crafting.mkRL("Auto: NutritiousStickRecipe")));
}
Aggregations