use of convenientadditions.api.recipe.ShapelessNBTOreRecipe in project ConvenientAdditions by Necr0.
the class ModRecipes method initCheese.
private static void initCheese() {
if (ModConfigConsumables.cheese) {
GameRegistry.addSmelting(Items.MILK_BUCKET, new ItemStack(ModItems.itemCheeseBucket), 0.5f);
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.itemCheese, 2), ModItems.itemCheeseBucket));
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.itemCheeseSandwich, 2), "cheese", Items.BREAD));
}
if (ModConfigBuildingBlocks.cheeseBlock) {
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModBlocks.cheeseBlock, 1), ModItems.itemCheese, ModItems.itemCheese, ModItems.itemCheese, ModItems.itemCheese, ModItems.itemCheese, ModItems.itemCheese, ModItems.itemCheese, ModItems.itemCheese, ModItems.itemCheese));
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.itemCheese, 9), ModBlocks.cheeseBlock));
}
if (ModConfigConsumables.potion_lumbering)
GameRegistry.addRecipe(new ShapelessNBTOreRecipe(new ItemStack(ModItems.itemPotionLumbering), PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), PotionTypes.WATER), "cheese", "sap", "cropPotato"));
if (ModConfigConsumables.potion_thorns)
GameRegistry.addRecipe(new ShapelessNBTOreRecipe(new ItemStack(ModItems.itemPotionThorns), PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), PotionTypes.WATER), Items.SPIDER_EYE, Items.POISONOUS_POTATO, new ItemStack(Items.DYE, 1, 3)));
}
Aggregations