2018-10-16 01:36:30 +02:00
|
|
|
package de.ellpeck.naturesaura.recipes;
|
|
|
|
|
2018-11-20 11:44:07 +01:00
|
|
|
import de.ellpeck.naturesaura.Helper;
|
2018-10-22 00:14:52 +02:00
|
|
|
import de.ellpeck.naturesaura.NaturesAura;
|
2018-11-12 01:29:33 +01:00
|
|
|
import de.ellpeck.naturesaura.api.NaturesAuraAPI;
|
2018-11-11 13:26:19 +01:00
|
|
|
import de.ellpeck.naturesaura.api.recipes.AltarRecipe;
|
|
|
|
import de.ellpeck.naturesaura.api.recipes.TreeRitualRecipe;
|
2018-10-16 17:48:36 +02:00
|
|
|
import de.ellpeck.naturesaura.blocks.ModBlocks;
|
2018-11-08 18:03:58 +01:00
|
|
|
import de.ellpeck.naturesaura.items.ItemAuraBottle;
|
2018-10-16 17:48:36 +02:00
|
|
|
import de.ellpeck.naturesaura.items.ModItems;
|
2018-10-16 01:36:30 +02:00
|
|
|
import net.minecraft.init.Blocks;
|
|
|
|
import net.minecraft.init.Items;
|
|
|
|
import net.minecraft.item.ItemStack;
|
2018-11-20 11:44:07 +01:00
|
|
|
import net.minecraft.item.crafting.Ingredient;
|
2018-10-22 00:14:52 +02:00
|
|
|
import net.minecraft.util.ResourceLocation;
|
2018-10-16 01:36:30 +02:00
|
|
|
|
|
|
|
public final class ModRecipes {
|
|
|
|
|
|
|
|
public static void init() {
|
2018-10-22 00:14:52 +02:00
|
|
|
new TreeRitualRecipe(new ResourceLocation(NaturesAura.MOD_ID, "eye"),
|
2018-11-20 11:44:07 +01:00
|
|
|
Ingredient.fromStacks(new ItemStack(Blocks.SAPLING)), new ItemStack(ModItems.EYE), 250,
|
|
|
|
Ingredient.fromItem(Items.SPIDER_EYE),
|
|
|
|
Ingredient.fromItem(Items.GOLD_INGOT),
|
|
|
|
Ingredient.fromItem(ModItems.GOLD_LEAF),
|
|
|
|
Ingredient.fromItem(ModItems.GOLD_LEAF)).register();
|
2018-10-22 00:14:52 +02:00
|
|
|
new TreeRitualRecipe(new ResourceLocation(NaturesAura.MOD_ID, "nature_altar"),
|
2018-11-20 11:44:07 +01:00
|
|
|
Helper.blockIng(Blocks.SAPLING), new ItemStack(ModBlocks.NATURE_ALTAR), 500,
|
|
|
|
Helper.blockIng(Blocks.STONE),
|
|
|
|
Helper.blockIng(Blocks.STONE),
|
|
|
|
Helper.blockIng(Blocks.STONE),
|
|
|
|
Ingredient.fromItem(ModItems.GOLD_LEAF),
|
|
|
|
Ingredient.fromItem(Items.GOLD_INGOT),
|
|
|
|
Helper.nbtIng(ItemAuraBottle.setType(new ItemStack(ModItems.AURA_BOTTLE), NaturesAuraAPI.TYPE_OVERWORLD))).register();
|
2018-10-22 00:14:52 +02:00
|
|
|
new TreeRitualRecipe(new ResourceLocation(NaturesAura.MOD_ID, "ancient_sapling"),
|
2018-11-20 11:44:07 +01:00
|
|
|
Helper.blockIng(Blocks.SAPLING), new ItemStack(ModBlocks.ANCIENT_SAPLING), 200,
|
|
|
|
Helper.blockIng(Blocks.SAPLING),
|
|
|
|
Helper.blockIng(Blocks.YELLOW_FLOWER),
|
|
|
|
Helper.blockIng(Blocks.RED_FLOWER),
|
|
|
|
Ingredient.fromItem(Items.WHEAT_SEEDS),
|
|
|
|
Ingredient.fromItem(Items.REEDS),
|
|
|
|
Ingredient.fromItem(ModItems.GOLD_LEAF)).register();
|
2018-10-26 15:01:48 +02:00
|
|
|
new TreeRitualRecipe(new ResourceLocation(NaturesAura.MOD_ID, "furnace_heater"),
|
2018-11-20 11:44:07 +01:00
|
|
|
Helper.blockIng(Blocks.SAPLING), new ItemStack(ModBlocks.FURNACE_HEATER), 600,
|
|
|
|
Helper.blockIng(ModBlocks.INFUSED_STONE),
|
|
|
|
Helper.blockIng(ModBlocks.INFUSED_STONE),
|
|
|
|
Ingredient.fromItem(ModItems.INFUSED_IRON),
|
|
|
|
Ingredient.fromItem(ModItems.INFUSED_IRON),
|
|
|
|
Ingredient.fromItem(Items.FIRE_CHARGE),
|
|
|
|
Ingredient.fromItem(Items.FLINT),
|
|
|
|
Helper.blockIng(Blocks.MAGMA),
|
|
|
|
Helper.nbtIng(ItemAuraBottle.setType(new ItemStack(ModItems.AURA_BOTTLE), NaturesAuraAPI.TYPE_NETHER))).register();
|
2018-10-31 01:17:58 +01:00
|
|
|
new TreeRitualRecipe(new ResourceLocation(NaturesAura.MOD_ID, "conversion_catalyst"),
|
2018-11-20 11:44:07 +01:00
|
|
|
Ingredient.fromStacks(new ItemStack(Blocks.SAPLING, 1, 3)), new ItemStack(ModBlocks.CONVERSION_CATALYST), 600,
|
|
|
|
Ingredient.fromStacks(new ItemStack(Blocks.STONEBRICK, 1, 1)),
|
|
|
|
Helper.blockIng(ModBlocks.INFUSED_STONE),
|
|
|
|
Ingredient.fromItem(Items.BREWING_STAND),
|
|
|
|
Ingredient.fromItem(Items.GOLD_INGOT),
|
|
|
|
Ingredient.fromItem(ModItems.GOLD_LEAF),
|
|
|
|
Helper.blockIng(Blocks.GLOWSTONE)).register();
|
2018-10-18 13:34:37 +02:00
|
|
|
|
2018-10-22 00:14:52 +02:00
|
|
|
new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "infused_iron"),
|
2018-11-20 11:44:07 +01:00
|
|
|
Ingredient.fromItem(Items.IRON_INGOT), new ItemStack(ModItems.INFUSED_IRON),
|
|
|
|
Ingredient.EMPTY, 300, 80).register();
|
2018-11-17 23:08:46 +01:00
|
|
|
new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "infused_iron_block"),
|
2018-11-20 11:44:07 +01:00
|
|
|
Helper.blockIng(Blocks.IRON_BLOCK), new ItemStack(ModBlocks.INFUSED_IRON),
|
|
|
|
Ingredient.EMPTY, 2700, 700).register();
|
2018-10-22 00:14:52 +02:00
|
|
|
new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "infused_stone"),
|
2018-11-20 11:44:07 +01:00
|
|
|
Helper.blockIng(Blocks.STONE), new ItemStack(ModBlocks.INFUSED_STONE),
|
|
|
|
Ingredient.EMPTY, 150, 40).register();
|
2018-10-31 01:17:58 +01:00
|
|
|
|
|
|
|
new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "chorus"),
|
2018-11-20 11:44:07 +01:00
|
|
|
Helper.nbtIng(ItemAuraBottle.setType(new ItemStack(ModItems.AURA_BOTTLE), NaturesAuraAPI.TYPE_END)),
|
|
|
|
new ItemStack(Items.DRAGON_BREATH),
|
|
|
|
Helper.blockIng(ModBlocks.CONVERSION_CATALYST), 350, 80).register();
|
2018-10-31 01:17:58 +01:00
|
|
|
new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "leather"),
|
2018-11-20 11:44:07 +01:00
|
|
|
Ingredient.fromItem(Items.ROTTEN_FLESH), new ItemStack(Items.LEATHER),
|
|
|
|
Helper.blockIng(ModBlocks.CONVERSION_CATALYST), 400, 50).register();
|
2018-10-16 01:36:30 +02:00
|
|
|
}
|
|
|
|
}
|