Search in sources :

Example 1 with OreStack

use of betterwithmods.common.registry.OreStack in project BetterWithAddons by DaedalusGame.

the class InteractionBWR method addDiamondRecovery.

private void addDiamondRecovery(Object input, int output) {
    ItemStack ironReturn = ItemStack.EMPTY;
    if (ModuleLoader.isFeatureEnabled(HCDiamond.class))
        ironReturn = new ItemStack(Items.IRON_INGOT, output);
    StokedCauldronRecipe diamondRecipe = new StokedCauldronRecipe(new ItemStack(Items.DIAMOND, output), ironReturn, new Object[] { input, new OreStack("ingotConcentratedHellfire", output), new OreStack("dustPotash", output * 8) });
    diamondRecipe.setPriority(110);
    StokedCauldronManager.getInstance().addRecipe(diamondRecipe);
}
Also used : OreStack(betterwithmods.common.registry.OreStack) ItemStack(net.minecraft.item.ItemStack) StokedCauldronRecipe(betterwithmods.common.registry.bulk.recipes.StokedCauldronRecipe)

Example 2 with OreStack

use of betterwithmods.common.registry.OreStack in project BetterWithAddons by DaedalusGame.

the class InteractionBWM method init.

@Override
public void init() {
    if (!isActive())
        return;
    String[] dyeOredictTags = new String[] { "White", "Orange", "Magenta", "LightBlue", "Yellow", "Lime", "Pink", "Gray", "LightGray", "Cyan", "Purple", "Blue", "Brown", "Green", "Red", "Black" };
    if (HARDCORE_SHEARING) {
        BlockBDispenser.ENTITY_COLLECT_REGISTRY.putObject(EntitySheep.class, (world, pos, entity, itemStack) -> {
            EntitySheep sheep = (EntitySheep) entity;
            if (sheep.isShearable(new ItemStack(Items.SHEARS), world, pos)) {
                return convertShearedWool(sheep.onSheared(new ItemStack(Items.SHEARS), world, pos, 0));
            }
            return NonNullList.create();
        });
        for (EnumDyeColor color : EnumDyeColor.values()) {
            ItemStack wool = ModItems.wool.getByColor(color);
        // GameRegistry.addShapedRecipe(new ItemStack(Blocks.WOOL,1,color.getMetadata())," o ","oxo"," o ",'o',wool,'x',new ItemStack(BWMBlocks.AESTHETIC,1,BlockAesthetic.EnumType.WICKER.getMeta()));
        }
    }
    if (DYE_IN_CAULDRON) {
        // Dyeing
        for (EnumDyeColor color : EnumDyeColor.values()) if (color != EnumDyeColor.WHITE) {
            CauldronManager.getInstance().addRecipe(new ItemStack(Blocks.WOOL, 8, color.getMetadata()), new Object[] { new ItemStack(Blocks.WOOL, 8, EnumDyeColor.WHITE.getMetadata()), new OreStack("dye" + dyeOredictTags[color.ordinal()], 1) });
        }
        // Bleaching
        for (EnumDyeColor color : EnumDyeColor.values()) if (color != EnumDyeColor.WHITE) {
            CauldronManager.getInstance().addRecipe(new ItemStack(Blocks.WOOL, 8, EnumDyeColor.WHITE.getMetadata()), new Object[] { new ItemStack(Blocks.WOOL, 8, color.getMetadata()), ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.POTASH) });
        }
    }
    // Temporary until we PR soulsand piles
    HCPiles.registerPile(Blocks.SOUL_SAND, new ItemStack(ModItems.soulSandPile, 3));
    // GameRegistry.addShapelessRecipe(new ItemStack(ModItems.soulSandPile,4),new ItemStack(Blocks.SOUL_SAND));
    // GameRegistry.addShapelessRecipe(new ItemStack(Blocks.SOUL_SAND),new ItemStack(ModItems.soulSandPile),new ItemStack(ModItems.soulSandPile),new ItemStack(ModItems.soulSandPile),new ItemStack(ModItems.soulSandPile));
    OreDictionary.registerOre("listAllExplosives", new ItemStack(Blocks.TNT));
    OreDictionary.registerOre("listAllExplosives", new ItemStack(Items.GUNPOWDER));
    OreDictionary.registerOre("listAllExplosives", new ItemStack(BWMItems.DYNAMITE));
    OreDictionary.registerOre("listAllExplosives", new ItemStack(BWMBlocks.MINING_CHARGE));
    OreDictionary.registerOre("listAllExplosives", new ItemStack(BWMBlocks.AESTHETIC, 1, BlockAesthetic.EnumType.HELLFIRE.getMeta()));
    OreDictionary.registerOre("listAllExplosives", ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.BLASTING_OIL));
    OreDictionary.registerOre("listAllExplosives", ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.HELLFIRE_DUST));
    OreDictionary.registerOre("listAllExplosives", ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.CONCENTRATED_HELLFIRE));
    OreDictionary.registerOre("listAllExplosives", ModItems.materialBag.getMaterial("gunpowder"));
    OreDictionary.registerOre("listAllExplosives", ModItems.materialBag.getMaterial("hellfire"));
    OreDictionary.registerOre("listAllmeat", Items.RABBIT);
    OreDictionary.registerOre("blockDung", BlockAesthetic.getStack(BlockAesthetic.EnumType.DUNG));
    OreDictionary.registerOre("book", Items.WRITTEN_BOOK);
    OreDictionary.registerOre("book", Items.BOOK);
    // Hardcore Packing
    if (HARDCORE_PACKING) {
        CraftingManagerPacking.getInstance().addRecipe(Blocks.DIRT.getDefaultState(), new ItemStack(Blocks.DIRT), IngredientSized.fromItem(BWMItems.DIRT_PILE, 4));
        CraftingManagerPacking.getInstance().addRecipe(Blocks.SAND.getDefaultState(), new ItemStack(Blocks.SAND), IngredientSized.fromItem(BWMItems.SAND_PILE, 4));
        CraftingManagerPacking.getInstance().addRecipe(Blocks.SAND.getDefaultState().withProperty(BlockSand.VARIANT, BlockSand.EnumType.RED_SAND), new ItemStack(Blocks.SAND, 1, 1), IngredientSized.fromItem(BWMItems.RED_SAND_PILE, 4));
        CraftingManagerPacking.getInstance().addRecipe(Blocks.GRAVEL.getDefaultState(), new ItemStack(Blocks.GRAVEL), IngredientSized.fromItem(BWMItems.GRAVEL_PILE, 4));
        CraftingManagerPacking.getInstance().addRecipe(Blocks.SOUL_SAND.getDefaultState(), new ItemStack(Blocks.SOUL_SAND), IngredientSized.fromItem(ModItems.soulSandPile, 4));
        CraftingManagerPacking.getInstance().addRecipe(Blocks.CLAY.getDefaultState(), new ItemStack(Blocks.CLAY), IngredientSized.fromItem(Items.CLAY_BALL, 4));
        CraftingManagerPacking.getInstance().addRecipe(BlockAesthetic.getVariant(BlockAesthetic.EnumType.NETHERCLAY), BlockAesthetic.getStack(BlockAesthetic.EnumType.NETHERCLAY), IngredientSized.fromStacks(ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.NETHER_SLUDGE, 4)));
        CraftingManagerPacking.getInstance().addRecipe(Blocks.SNOW.getDefaultState(), new ItemStack(Blocks.SNOW), IngredientSized.fromItem(Items.SNOWBALL, 4));
        CraftingManagerPacking.getInstance().addRecipe(Blocks.BRICK_BLOCK.getDefaultState(), new ItemStack(Blocks.BRICK_BLOCK), IngredientSized.fromItem(Items.BRICK, 4));
        CraftingManagerPacking.getInstance().addRecipe(Blocks.NETHER_BRICK.getDefaultState(), new ItemStack(Blocks.NETHER_BRICK), IngredientSized.fromItem(Items.NETHERBRICK, 4));
        CraftingManagerPacking.getInstance().addRecipe(BlockAesthetic.getVariant(BlockAesthetic.EnumType.FLINT), BlockAesthetic.getStack(BlockAesthetic.EnumType.FLINT), IngredientSized.fromItem(Items.FLINT, 9));
        CraftingManagerPacking.getInstance().addRecipe(BlockAesthetic.getVariant(BlockAesthetic.EnumType.DUNG), BlockAesthetic.getStack(BlockAesthetic.EnumType.DUNG), IngredientSized.fromStacks(ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.DUNG, 9)));
        CraftingManagerPacking.getInstance().addRecipe(BlockAesthetic.getVariant(BlockAesthetic.EnumType.SOAP), BlockAesthetic.getStack(BlockAesthetic.EnumType.SOAP), IngredientSized.fromStacks(ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.SOAP, 9)));
    }
    if (CAULDRONS_EXPLODE)
        addCauldronExplosion();
    // TileEntityAqueductWater.addWaterSource(BWMBlocks.TEMP_LIQUID_SOURCE);
    BlockBUD.addBlacklistBlock(ModBlocks.pcbwire);
    ItemStack arrowhead = ModItems.material.getMaterial("arrowhead");
    ItemStack haft = ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.HAFT);
    ItemStack string = new ItemStack(BWMBlocks.ROPE);
    ItemStack feather = new ItemStack(Items.FEATHER);
    String oreIronIngot = "ingotIron";
    // GameRegistry.addRecipe(new ShapedOreRecipe(ModItems.material.getMaterial("arrowhead"), " o ", "ooo", "o o", 'o', "nuggetSoulforgedSteel"));
    // GameRegistry.addShapedRecipe(new ItemStack(ModItems.greatarrow, 1), "a", "b", "c", 'a', arrowhead, 'b', haft, 'c', feather);
    // GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.greatbow, 1), " bc", "b c", " bc", 'b', haft, 'c', string));
    StokedCauldronManager.getInstance().addRecipe(new ItemStack(ModBlocks.pcbblock), ItemStack.EMPTY, new Object[] { new ItemStack(Items.FERMENTED_SPIDER_EYE), new ItemStack(Blocks.STONEBRICK), "dustPotash" });
    CauldronManager.getInstance().addRecipe(new ItemStack(ModItems.cookedBeetroot), ItemStack.EMPTY, new Object[] { new ItemStack(Items.BEETROOT) });
    CauldronManager.getInstance().addRecipe(new ItemStack(ModItems.cookedCarrot), ItemStack.EMPTY, new Object[] { new ItemStack(Items.CARROT) });
    CauldronManager.getInstance().addRecipe(new ItemStack(ModItems.cookedPotato), ItemStack.EMPTY, new Object[] { new ItemStack(Items.POTATO) });
    CauldronManager.getInstance().addRecipe(new ItemStack(ModItems.cookedEgg), ItemStack.EMPTY, new Object[] { new ItemStack(Items.EGG) });
    CauldronManager.getInstance().addRecipe(new ItemStack(ModItems.cookedClownfish), ItemStack.EMPTY, new Object[] { new ItemStack(Items.FISH, 1, ItemFishFood.FishType.CLOWNFISH.getMetadata()) });
    CauldronManager.getInstance().addRecipe(new ItemStack(ModItems.cookedPuffer), ItemStack.EMPTY, new Object[] { new ItemStack(Items.FISH, 1, ItemFishFood.FishType.PUFFERFISH.getMetadata()) });
    CauldronManager.getInstance().addRecipe(ModItems.material.getMaterial("bone_ingot"), ItemStack.EMPTY, new Object[] { new ItemStack(Items.BONE, 2), new ItemStack(Items.DYE, 8, 15) });
    CauldronManager.getInstance().addRecipe(ModItems.material.getMaterial("midori_popped"), ItemStack.EMPTY, new Object[] { ModItems.material.getMaterial("midori") });
    CauldronManager.getInstance().addRecipe(new ItemStack(ModItems.meatballs, 1), ItemStack.EMPTY, new Object[] { new ItemStack(ModItems.groundMeat, 1) });
    MillManager.getInstance().addRecipe(0, new ItemStack(ModBlocks.worldScale, 1), ItemStack.EMPTY, new Object[] { new ItemStack(ModBlocks.worldScaleOre, 1, 1) });
    // Bark
    ModBlocks.mulberryLog.barkStack = ModItems.materialJapan.getMaterial("bark_mulberry");
    ModBlocks.sakuraLog.barkStack = ModItems.materialJapan.getMaterial("bark_sakura");
    // Thorn Vines
    ItemStack rosebush = new ItemStack(Blocks.DOUBLE_PLANT, 4, BlockDoublePlant.EnumPlantType.ROSE.getMeta());
    ItemStack thornrose = ModItems.material.getMaterial("thornrose", 2);
    ItemStack soulUrn = new ItemStack(BWMBlocks.URN, 1, BlockUrn.EnumType.FULL.getMeta());
    ItemStack cactus = new ItemStack(Items.DYE, 1, EnumDyeColor.GREEN.getDyeDamage());
    ItemStack dung = ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.DUNG, 1);
    ItemStack midori = ModItems.material.getMaterial("midori", 8);
    CauldronManager.getInstance().addRecipe(new ItemStack(ModBlocks.thornrose), ItemStack.EMPTY, new Object[] { cactus, rosebush, dung, soulUrn });
    CauldronManager.getInstance().addRecipe(new ItemStack(ModBlocks.thornrose), ItemStack.EMPTY, new Object[] { midori, thornrose, dung, soulUrn });
    MillManager.getInstance().addRecipe(0, cactus, new Object[] { ModItems.material.getMaterial("midori", 1) });
    // Alicio Sapling
    ItemStack wheat = new ItemStack(Items.WHEAT, 16);
    ItemStack flesh = new ItemStack(Items.ROTTEN_FLESH, 4);
    ItemStack red = new ItemStack(Items.DYE, 8, EnumDyeColor.RED.getDyeDamage());
    ItemStack tree = new ItemStack(Blocks.SAPLING, 1, BlockPlanks.EnumType.BIRCH.getMetadata());
    CauldronManager.getInstance().addRecipe(new ItemStack(ModBlocks.luretreeSapling), ItemStack.EMPTY, new Object[] { tree, wheat, red, flesh });
    if (MILL_CLAY) {
        MillManager.getInstance().addRecipe(0, new ItemStack(Items.BRICK, 4), ItemStack.EMPTY, new Object[] { new ItemStack(Blocks.HARDENED_CLAY, 1) });
        EnumDyeColor[] dyes = EnumDyeColor.values();
        int len = dyes.length;
        for (int i = 0; i < len; ++i) {
            EnumDyeColor dye = dyes[i];
            ItemStack brick = new ItemStack(ModItems.stainedBrick, 1, dye.getMetadata());
            MillManager.getInstance().addRecipe(0, new ItemStack(ModItems.stainedBrick, 4, dye.getMetadata()), ItemStack.EMPTY, new Object[] { new ItemStack(Blocks.STAINED_HARDENED_CLAY, 1, dye.getMetadata()) });
        // GameRegistry.addShapedRecipe(new ItemStack(ModBlocks.coloredBrick, 1, dye.getMetadata()), "bb", "bb", 'b', brick);
        }
    }
    if (!CHORUS_IN_CAULDRON)
        GameRegistry.addSmelting(ModItems.material.getMaterial("midori"), ModItems.material.getMaterial("midori_popped"), 0.1f);
}
Also used : OreStack(betterwithmods.common.registry.OreStack) EntitySheep(net.minecraft.entity.passive.EntitySheep)

Example 3 with OreStack

use of betterwithmods.common.registry.OreStack in project BetterWithAddons by DaedalusGame.

the class InteractionBWR method init.

@Override
void init() {
    PlantCrossbreedHandler.initialize();
    AnimalCrossbreedHandler.initialize();
    OreDictionary.registerOre("listAllBlazeFoods", Items.COAL);
    // Charcoal
    OreDictionary.registerOre("listAllBlazeFoods", new ItemStack(Items.COAL, 1, 1));
    OreDictionary.registerOre("listAllBlazeFoods", ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.COAL_DUST));
    OreDictionary.registerOre("listAllBlazeFoods", ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.CHARCOAL_DUST));
    OreDictionary.registerOre("listAllBlazeFoods", ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.NETHERCOAL));
    OreDictionary.registerOre("listAllBlazeFoods", ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.BLASTING_OIL));
    OreDictionary.registerOre("pileSand", BWMItems.SAND_PILE);
    OreDictionary.registerOre("pileSand", BWMItems.RED_SAND_PILE);
    OreDictionary.registerOre("pileSand", ModItems.soulSandPile);
    // Tanning Leather with dung blocks
    // TODO: This is hacky.
    CauldronManager.getInstance().addRecipe(ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.TANNED_LEATHER), ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.DUNG, 8), new Object[] { ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.SCOURED_LEATHER), new ItemStack(BWMBlocks.AESTHETIC, 1, BlockAesthetic.EnumType.DUNG.getMeta()) });
    CauldronManager.getInstance().addRecipe(ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.TANNED_LEATHER_CUT, 2), ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.DUNG, 8), new Object[] { ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.SCOURED_LEATHER_CUT, 2), new ItemStack(BWMBlocks.AESTHETIC, 1, BlockAesthetic.EnumType.DUNG.getMeta()) });
    // Redstone synthesis
    ItemStack smallRedstone = new ItemStack(Items.REDSTONE, REDSTONE_PER_SYNTHESIS);
    ItemStack bigRedstone = new ItemStack(Items.REDSTONE, REDSTONE_PER_SYNTHESIS * 9);
    if (REDSTONE_SYNTHESIS) {
        StokedCrucibleRecipe smallRecipe = new StokedCrucibleRecipe(smallRedstone, ItemStack.EMPTY, new Object[] { new OreStack("nuggetGold", 1), new OreStack("ingotConcentratedHellfire", 1) });
        StokedCrucibleRecipe mediumRecipe = new StokedCrucibleRecipe(smallRedstone, new ItemStack(Items.GOLD_NUGGET, 8), new Object[] { new OreStack("ingotGold", 1), new OreStack("ingotConcentratedHellfire", 1) });
        StokedCrucibleRecipe bigRecipe = new StokedCrucibleRecipe(bigRedstone, ItemStack.EMPTY, new Object[] { new OreStack("ingotGold", 1), new OreStack("ingotConcentratedHellfire", 9) });
        smallRecipe.setPriority(108);
        mediumRecipe.setPriority(109);
        bigRecipe.setPriority(110);
        StokedCrucibleManager.getInstance().addRecipe(smallRecipe);
        StokedCrucibleManager.getInstance().addRecipe(mediumRecipe);
        StokedCrucibleManager.getInstance().addRecipe(bigRecipe);
    }
    if (REDSTONE_SYNTHESIS_EARLY) {
        MillManager.getInstance().addRecipe(2, smallRedstone, new Object[] { new OreStack("nuggetGold", 3), new OreStack("ingotConcentratedHellfire", 1) });
        MillManager.getInstance().addRecipe(2, bigRedstone, new Object[] { new OreStack("ingotGold", 3), new OreStack("ingotConcentratedHellfire", 9) });
    }
    ItemStack hellfireDust = ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.HELLFIRE_DUST);
    if (HELLFIRE_EARLY) {
        MillRecipe withSawDust = new MillRecipe(2, hellfireDust.copy(), ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.SOUL_DUST), new Object[] { new OreStack("dustNetherrack", 1), new OreStack("dustWood", 1) });
        MillRecipe withoutSawDust = new MillRecipe(2, hellfireDust.copy(), ItemStack.EMPTY, new Object[] { new OreStack("dustNetherrack", 1) });
        withSawDust.setPriority(11);
        withoutSawDust.setPriority(10);
        MillManager.getInstance().addRecipe(withSawDust);
        MillManager.getInstance().addRecipe(withoutSawDust);
    }
    if (BOILING_BUSHES)
        StokedCauldronManager.getInstance().addRecipe(new ItemStack(Blocks.DEADBUSH), new Object[] { new ItemStack(Blocks.SAPLING) });
    if (WEAVING_WEBS)
        CauldronManager.getInstance().addRecipe(new ItemStack(Blocks.WEB), new Object[] { new OreStack("string", 3), new OreStack("slimeball", 1) });
    if (DIAMOND_RECOVERY) {
        if (ModuleLoader.isFeatureEnabled(HCDiamond.class))
            addDiamondRecovery(new OreStack("ingotDiamond", 1), 1);
        addDiamondRecovery(new ItemStack(Items.DIAMOND_SWORD), 2);
        addDiamondRecovery(new ItemStack(Items.DIAMOND_PICKAXE), 3);
        addDiamondRecovery(new ItemStack(Items.DIAMOND_AXE), 3);
        addDiamondRecovery(new ItemStack(Items.DIAMOND_SHOVEL), 1);
        addDiamondRecovery(new ItemStack(Items.DIAMOND_HOE), 2);
        addDiamondRecovery(new ItemStack(Items.DIAMOND_HELMET), 5);
        addDiamondRecovery(new ItemStack(Items.DIAMOND_CHESTPLATE), 8);
        addDiamondRecovery(new ItemStack(Items.DIAMOND_LEGGINGS), 7);
        addDiamondRecovery(new ItemStack(Items.DIAMOND_BOOTS), 4);
        addDiamondRecovery(new ItemStack(ModItems.diamondSpade), 2);
        addDiamondRecovery(new ItemStack(ModItems.diamondMatchPick), 3);
        addDiamondRecovery(new ItemStack(ModItems.diamondMachete), 4);
        addDiamondRecovery(new ItemStack(ModItems.diamondKukri), 5);
        addDiamondRecovery(new ItemStack(ModItems.diamondCarpenterSaw), 5);
        addDiamondRecovery(new ItemStack(ModItems.diamondMasonPick), 4);
    }
    if (LAPIS_FROM_WOOL) {
        addLapisRinsing(EnumDyeColor.BLUE, 1, EnumDyeColor.WHITE);
        addLapisRinsing(EnumDyeColor.LIGHT_BLUE, 2, EnumDyeColor.WHITE);
        addLapisRinsing(EnumDyeColor.CYAN, 2, EnumDyeColor.GREEN);
        addLapisRinsing(EnumDyeColor.PURPLE, 2, EnumDyeColor.RED);
        addLapisRinsing(EnumDyeColor.MAGENTA, 4, EnumDyeColor.RED, EnumDyeColor.PINK);
    }
    if (GOLD_GRINDING) {
        addGoldGrinding(new ItemStack(Items.GOLDEN_SWORD), 2);
        addGoldGrinding(new ItemStack(Items.GOLDEN_PICKAXE), 3);
        addGoldGrinding(new ItemStack(Items.GOLDEN_AXE), 3);
        addGoldGrinding(new ItemStack(Items.GOLDEN_SHOVEL), 1);
        addGoldGrinding(new ItemStack(Items.GOLDEN_HOE), 2);
        addGoldGrinding(new ItemStack(Items.GOLDEN_HELMET), 5);
        addGoldGrinding(new ItemStack(Items.GOLDEN_CHESTPLATE), 8);
        addGoldGrinding(new ItemStack(Items.GOLDEN_LEGGINGS), 7);
        addGoldGrinding(new ItemStack(Items.GOLDEN_BOOTS), 4);
    }
    if (NETHERRACK_SYNTHESIS) {
        ItemStack soulUrn = new ItemStack(BWMBlocks.URN, 1, BlockUrn.EnumType.FULL.getMeta());
        CauldronManager.getInstance().addRecipe(new ItemStack(Blocks.NETHERRACK, 8), new Object[] { new ItemStack(Blocks.COBBLESTONE, 8), new ItemStack(Items.NETHER_WART, 8), soulUrn });
        CauldronManager.getInstance().addRecipe(new ItemStack(Blocks.NETHERRACK), ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.SAWDUST), new Object[] { new ItemStack(Blocks.COBBLESTONE), new ItemStack(Items.NETHER_WART), ItemMaterial.getMaterial(ItemMaterial.EnumMaterial.SOUL_DUST) });
    }
    if (DIAMOND_SYNTHESIS)
        StokedCrucibleManager.getInstance().addRecipe(new ItemStack(Items.DIAMOND), hellfireDust.copy(), new Object[] { new ItemStack(Items.GHAST_TEAR), new ItemStack(Items.DYE, 1, EnumDyeColor.CYAN.getDyeDamage()), new OreStack("dustNetherrack", 1) });
    if (QUARTZ_GROWING) {
        CauldronManager.getInstance().addRecipe(new QuartzCrystalRecipe(new ItemStack(Items.QUARTZ), ItemStack.EMPTY, new Object[] { new OreStack("pileSand", 1) }));
    }
}
Also used : OreStack(betterwithmods.common.registry.OreStack) MillRecipe(betterwithmods.common.registry.bulk.recipes.MillRecipe) QuartzCrystalRecipe(betterwithaddons.crafting.recipes.QuartzCrystalRecipe) ItemStack(net.minecraft.item.ItemStack) StokedCrucibleRecipe(betterwithmods.common.registry.bulk.recipes.StokedCrucibleRecipe)

Aggregations

OreStack (betterwithmods.common.registry.OreStack)3 ItemStack (net.minecraft.item.ItemStack)2 QuartzCrystalRecipe (betterwithaddons.crafting.recipes.QuartzCrystalRecipe)1 MillRecipe (betterwithmods.common.registry.bulk.recipes.MillRecipe)1 StokedCauldronRecipe (betterwithmods.common.registry.bulk.recipes.StokedCauldronRecipe)1 StokedCrucibleRecipe (betterwithmods.common.registry.bulk.recipes.StokedCrucibleRecipe)1 EntitySheep (net.minecraft.entity.passive.EntitySheep)1