Search in sources :

Example 1 with RecipeSoulGem

use of convenientadditions.item.soulGem.RecipeSoulGem in project ConvenientAdditions by Necr0.

the class ModRecipes method init.

public static void init() {
    RecipeSorter.register("ShapedNBTOreRecipee", ShapedNBTOreRecipe.class, Category.SHAPED, "");
    RecipeSorter.register("ShapelessNBTOreRecipee", ShapelessNBTOreRecipe.class, Category.SHAPELESS, "");
    if (ModConfigTools.ironWrench)
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.itemIronWrench, 1), "n n", " i ", "n n", 'i', "ingotIron", 'n', "nuggetIron"));
    if (ModConfigRelics.transmutationTome_recipe)
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.itemTransmutationTome, 1), Items.BOOK, Items.BLAZE_ROD, Items.ENDER_EYE, Items.WHEAT_SEEDS));
    if (ModConfigCraftingItems.dislocationCore)
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.itemDislocationCore, 3), " e ", "lrl", " e ", 'e', "enderpearl", 'r', "dustRedstone", 'l', new ItemStack(Items.DYE, 1, 4)));
    if (ModConfigCraftingItems.soulGem) {
        RecipeSorter.register("RecipeSoulGem", RecipeSoulGem.class, Category.SHAPELESS, "");
        GameRegistry.addRecipe(new RecipeSoulGem());
    }
    if (ModConfigCraftingItems.spikes)
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.itemSpikes, 4), "sss", "hhh", 's', "stickWood", 'h', "slabWood"));
    if (ModConfigMisc.backpack_recipe)
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.itemBackpack), "sls", "l l", "lll", 'l', "leather", 's', "string"));
    initCompost();
    initBlocks();
    initMachines();
    initArrows();
    initRelics();
    initBaubles();
    initInventoryProxies();
    initModules();
    initTreeTap();
    initAdvPickaxe();
    initMCDs();
    if (Loader.isModLoaded("gbook") && ModConfigCompat.gbook_recipe)
        GameRegistry.addRecipe(new ShapelessOreRecipe(GameRegistry.makeItemStack("gbook:guidebook", 0, 1, "{Book:\"convenientadditions:xml/book.xml\"}"), Items.BOOK, Items.FEATHER, Items.WHEAT_SEEDS));
    initCheese();
}
Also used : RecipeSoulGem(convenientadditions.item.soulGem.RecipeSoulGem) ShapedOreRecipe(net.minecraftforge.oredict.ShapedOreRecipe) ShapelessOreRecipe(net.minecraftforge.oredict.ShapelessOreRecipe) ItemStack(net.minecraft.item.ItemStack)

Aggregations

RecipeSoulGem (convenientadditions.item.soulGem.RecipeSoulGem)1 ItemStack (net.minecraft.item.ItemStack)1 ShapedOreRecipe (net.minecraftforge.oredict.ShapedOreRecipe)1 ShapelessOreRecipe (net.minecraftforge.oredict.ShapelessOreRecipe)1