|
|
|
|
@ -2,6 +2,8 @@ package com.zivilon.cinder_loe;
|
|
|
|
|
|
|
|
|
|
import cpw.mods.fml.common.registry.GameRegistry;
|
|
|
|
|
import lotr.common.LOTRMod;
|
|
|
|
|
import lotr.common.recipe.LOTRBrewingRecipes;
|
|
|
|
|
import lotr.common.recipe.LOTRMillstoneRecipes;
|
|
|
|
|
import lotr.common.recipe.LOTRRecipePoisonWeapon;
|
|
|
|
|
import lotr.common.recipe.LOTRRecipes;
|
|
|
|
|
import com.zivilon.cinder_loe.CinderLoE;
|
|
|
|
|
@ -9,6 +11,7 @@ import com.zivilon.cinder_loe.mixins.MixinLOTRBrewingRecipes;
|
|
|
|
|
|
|
|
|
|
import lotr.common.item.LOTRItemFood;
|
|
|
|
|
import net.minecraft.init.Blocks;
|
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
|
import net.minecraft.item.crafting.IRecipe;
|
|
|
|
|
import net.minecraft.init.Items;
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
@ -18,6 +21,8 @@ import net.minecraftforge.oredict.ShapelessOreRecipe;
|
|
|
|
|
import net.minecraftforge.oredict.RecipeSorter;
|
|
|
|
|
import net.minecraftforge.oredict.RecipeSorter.Category;
|
|
|
|
|
|
|
|
|
|
import static lotr.common.recipe.LOTRBrewingRecipes.BARREL_CAPACITY;
|
|
|
|
|
|
|
|
|
|
public class recipes {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -31,6 +36,7 @@ public class recipes {
|
|
|
|
|
registerArnorRecipes();
|
|
|
|
|
registerAngmarRecipes();
|
|
|
|
|
registerBrewingRecipes();
|
|
|
|
|
registerMillstoneRecipes();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void registerGeneralRecipes() {
|
|
|
|
|
@ -142,7 +148,7 @@ public class recipes {
|
|
|
|
|
OreDictionary.registerOre("meat", LOTRMod.zebraCooked);
|
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(CinderLoE.fruitsalad), Items.bowl, "fruit1", "fruit2", "fruit3"));
|
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(CinderLoE.pasta, 4), LOTRMod.rollingPin, CinderLoE.dough, CinderLoE.dough));
|
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(CinderLoE.pasta, 4), new ItemStack(LOTRMod.rollingPin, 1, OreDictionary.WILDCARD_VALUE), CinderLoE.dough, CinderLoE.dough));
|
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(CinderLoE.halva), Items.sugar, CinderLoE.dough, CinderLoE.spice, LOTRMod.almond));
|
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(CinderLoE.chocolatebar, 2), LOTRMod.mugChocolate));
|
|
|
|
|
@ -181,7 +187,7 @@ public class recipes {
|
|
|
|
|
'X', LOTRMod.coralReef));
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.plaster, 4), "XYX", "YXY", "XYX",
|
|
|
|
|
'X', Items.paper, 'Y', Blocks.clay));
|
|
|
|
|
// Mordor Cobblebrick
|
|
|
|
|
// Cinder Stony Blocks
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.cindercobble, 4, 1), "XY", "YX",
|
|
|
|
|
'X', new ItemStack(LOTRMod.rock, 1, 0), 'Y', LOTRMod.mordorGravel));
|
|
|
|
|
|
|
|
|
|
@ -192,6 +198,53 @@ public class recipes {
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(LOTRMod.banner, 1, 46), " Y ", " X ", " Z ",
|
|
|
|
|
'X', "stickWood", 'Y', new ItemStack(Blocks.wool, 1, 13), 'Z', "plankWood"));
|
|
|
|
|
|
|
|
|
|
// Furs and then carpets
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.cinderfur, 2, 0), "XX", "XX",
|
|
|
|
|
'X', new ItemStack(LOTRMod.fur, 1)));
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.furCarpet, 3, 0), "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderfur, 1, 0)));
|
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.cinderfur, 2, 1), "XX", "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderFurItem, 1, 0)));
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.furCarpet, 3, 1), "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderfur, 1, 1)));
|
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.cinderfur, 2, 2), "XX", "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderFurItem, 1, 1)));
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.furCarpet, 3, 2), "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderfur, 1, 2)));
|
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.cinderfur, 2, 3), "XX", "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderFurItem, 1, 2)));
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.furCarpet, 3, 3), "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderfur, 1, 3)));
|
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.cinderfur, 2, 4), "XX", "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderFurItem, 1, 3)));
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.furCarpet, 3, 4), "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderfur, 1, 4)));
|
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.cinderfur, 2, 5), "XX", "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderFurItem, 1, 4)));
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.furCarpet, 3, 5), "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderfur, 1, 5)));
|
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.cinderfur, 2, 6), "XX", "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderFurItem, 1, 5)));
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.furCarpet, 3, 6), "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderfur, 1, 6)));
|
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.cinderfur, 2, 7), "XX", "XX",
|
|
|
|
|
'X', new ItemStack(LOTRMod.lionFur, 1)));
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.furCarpet, 3, 7), "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderfur, 1, 7)));
|
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.cinderfur, 2, 8), "XX", "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderFurItem, 1, 6)));
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(CinderLoE.furCarpet, 3, 8), "XX",
|
|
|
|
|
'X', new ItemStack(CinderLoE.cinderfur, 1, 8)));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public static void registerRedDwarvenRecipes() {
|
|
|
|
|
LOTRRecipes.dwarvenRecipes.add(new ShapedOreRecipe(new ItemStack(CinderLoE.helmetRedDwarf), "XXX", "X X",
|
|
|
|
|
@ -319,5 +372,22 @@ public class recipes {
|
|
|
|
|
Character.valueOf('X'), Items.iron_ingot, Character.valueOf('Y'), "stickWood"));
|
|
|
|
|
}
|
|
|
|
|
public static void registerBrewingRecipes() {
|
|
|
|
|
System.out.println("[CinderLoE] Registering Brewing recipes... We like to drink! jk I hate alcohol");
|
|
|
|
|
|
|
|
|
|
CinderBrewingRecipes.addCustomBrewingRecipe(new ItemStack(LOTRMod.mugTauredainCocoa, BARREL_CAPACITY),
|
|
|
|
|
new ItemStack(Items.dye, 1, 3),
|
|
|
|
|
new ItemStack(Items.dye, 1, 3),
|
|
|
|
|
new ItemStack(Items.dye, 1, 3),
|
|
|
|
|
new ItemStack(LOTRMod.doubleFlower, 1, 2),
|
|
|
|
|
new ItemStack(LOTRMod.doubleFlower, 1, 3),
|
|
|
|
|
new ItemStack(LOTRMod.mugMilk));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void registerMillstoneRecipes() {
|
|
|
|
|
System.out.println("[CinderLoE] Registering Millstone recipes...");
|
|
|
|
|
|
|
|
|
|
LOTRMillstoneRecipes.addRecipe(Items.wheat, new ItemStack(CinderLoE.flour));
|
|
|
|
|
LOTRMillstoneRecipes.addRecipe(LOTRMod.corn, new ItemStack(CinderLoE.flour));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|