2018-10-16 01:36:30 +02:00
|
|
|
package de.ellpeck.naturesaura.recipes;
|
|
|
|
|
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-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"),
|
|
|
|
new ItemStack(Blocks.SAPLING), new ItemStack(ModItems.EYE), 250,
|
2018-10-16 17:48:36 +02:00
|
|
|
new ItemStack(Items.SPIDER_EYE),
|
|
|
|
new ItemStack(Items.GOLD_INGOT),
|
|
|
|
new ItemStack(ModItems.GOLD_LEAF),
|
2018-11-11 16:50:51 +01:00
|
|
|
new ItemStack(ModItems.GOLD_LEAF)).register();
|
2018-10-22 00:14:52 +02:00
|
|
|
new TreeRitualRecipe(new ResourceLocation(NaturesAura.MOD_ID, "nature_altar"),
|
|
|
|
new ItemStack(Blocks.SAPLING), new ItemStack(ModBlocks.NATURE_ALTAR), 500,
|
2018-10-16 17:48:36 +02:00
|
|
|
new ItemStack(Blocks.STONE),
|
|
|
|
new ItemStack(Blocks.STONE),
|
|
|
|
new ItemStack(Blocks.STONE),
|
|
|
|
new ItemStack(ModItems.GOLD_LEAF),
|
2018-11-08 18:03:58 +01:00
|
|
|
new ItemStack(Items.GOLD_INGOT),
|
2018-11-12 01:29:33 +01:00
|
|
|
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"),
|
|
|
|
new ItemStack(Blocks.SAPLING), new ItemStack(ModBlocks.ANCIENT_SAPLING), 200,
|
2018-10-19 15:05:12 +02:00
|
|
|
new ItemStack(Blocks.SAPLING),
|
|
|
|
new ItemStack(Blocks.YELLOW_FLOWER),
|
|
|
|
new ItemStack(Blocks.RED_FLOWER),
|
|
|
|
new ItemStack(Items.WHEAT_SEEDS),
|
|
|
|
new ItemStack(Items.REEDS),
|
2018-11-11 16:50:51 +01:00
|
|
|
new ItemStack(ModItems.GOLD_LEAF)).register();
|
2018-10-26 15:01:48 +02:00
|
|
|
new TreeRitualRecipe(new ResourceLocation(NaturesAura.MOD_ID, "furnace_heater"),
|
|
|
|
new ItemStack(Blocks.SAPLING), new ItemStack(ModBlocks.FURNACE_HEATER), 600,
|
|
|
|
new ItemStack(ModBlocks.INFUSED_STONE),
|
|
|
|
new ItemStack(ModBlocks.INFUSED_STONE),
|
|
|
|
new ItemStack(ModItems.INFUSED_IRON),
|
|
|
|
new ItemStack(ModItems.INFUSED_IRON),
|
|
|
|
new ItemStack(Items.FIRE_CHARGE),
|
|
|
|
new ItemStack(Items.FLINT),
|
2018-11-08 18:03:58 +01:00
|
|
|
new ItemStack(Blocks.MAGMA),
|
2018-11-12 01:29:33 +01:00
|
|
|
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"),
|
|
|
|
new ItemStack(Blocks.SAPLING, 1, 3), new ItemStack(ModBlocks.CONVERSION_CATALYST), 600,
|
|
|
|
new ItemStack(Blocks.STONEBRICK, 1, 1),
|
|
|
|
new ItemStack(ModBlocks.INFUSED_STONE),
|
|
|
|
new ItemStack(Items.BREWING_STAND),
|
|
|
|
new ItemStack(Items.GOLD_INGOT),
|
|
|
|
new ItemStack(ModItems.GOLD_LEAF),
|
2018-11-11 16:50:51 +01:00
|
|
|
new ItemStack(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-10-31 01:17:58 +01:00
|
|
|
new ItemStack(Items.IRON_INGOT), new ItemStack(ModItems.INFUSED_IRON),
|
2018-11-11 16:50:51 +01:00
|
|
|
null, 300, 80).register();
|
2018-10-22 00:14:52 +02:00
|
|
|
new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "infused_stone"),
|
2018-10-31 01:17:58 +01:00
|
|
|
new ItemStack(Blocks.STONE), new ItemStack(ModBlocks.INFUSED_STONE),
|
2018-11-11 16:50:51 +01:00
|
|
|
null, 150, 40).register();
|
2018-10-31 01:17:58 +01:00
|
|
|
|
|
|
|
new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "chorus"),
|
2018-11-12 01:29:33 +01:00
|
|
|
ItemAuraBottle.setType(new ItemStack(ModItems.AURA_BOTTLE), NaturesAuraAPI.TYPE_END), new ItemStack(Items.DRAGON_BREATH),
|
2018-11-11 16:50:51 +01:00
|
|
|
ModBlocks.CONVERSION_CATALYST, 350, 80).register();
|
2018-10-31 01:17:58 +01:00
|
|
|
new AltarRecipe(new ResourceLocation(NaturesAura.MOD_ID, "leather"),
|
|
|
|
new ItemStack(Items.ROTTEN_FLESH), new ItemStack(Items.LEATHER),
|
2018-11-11 16:50:51 +01:00
|
|
|
ModBlocks.CONVERSION_CATALYST, 400, 50).register();
|
2018-10-16 01:36:30 +02:00
|
|
|
}
|
|
|
|
}
|