use of forestry.core.items.ItemRegistryCore in project ForestryMC by ForestryMC.
the class ModuleCharcoal method registerRecipes.
@Override
public void registerRecipes() {
BlockRegistryCharcoal blocks = getBlocks();
ItemRegistryCore coreItems = ModuleCore.getItems();
// Wood Pile
RecipeUtil.addShapelessRecipe("wood_pile", new ItemStack(blocks.woodPile), OreDictUtil.LOG_WOOD, OreDictUtil.LOG_WOOD, OreDictUtil.LOG_WOOD, OreDictUtil.LOG_WOOD);
RecipeUtil.addShapelessRecipe("wood_pile_decorative", new ItemStack(blocks.woodPile), blocks.woodPileDecorative);
RecipeUtil.addShapelessRecipe("decorative_wood_pile", new ItemStack(blocks.woodPileDecorative), blocks.woodPile);
// Charcoal
RecipeUtil.addRecipe("charcoal_block", blocks.charcoal, "###", "###", "###", '#', new ItemStack(Items.COAL, 1, 1));
RecipeUtil.addShapelessRecipe("charcoal", new ItemStack(Items.COAL, 9, 1), blocks.charcoal);
// Dirt Pile Block
RecipeUtil.addShapelessRecipe("loam", new ItemStack(blocks.loam, 4), Items.CLAY_BALL, coreItems.compost, Items.CLAY_BALL, OreDictUtil.SAND, Items.CLAY_BALL, OreDictUtil.SAND, Items.CLAY_BALL, coreItems.compost, Items.CLAY_BALL);
}
use of forestry.core.items.ItemRegistryCore in project ForestryMC by ForestryMC.
the class ModuleArboriculture method registerRecipes.
@Override
public void registerRecipes() {
ItemRegistryCore coreItems = ModuleCore.getItems();
BlockRegistryArboriculture blocks = getBlocks();
ItemRegistryArboriculture items = getItems();
for (BlockArbLog log : blocks.logs) {
ItemStack logInput = new ItemStack(log, 1, OreDictionary.WILDCARD_VALUE);
ItemStack coalOutput = new ItemStack(Items.COAL, 1, 1);
RecipeUtil.addSmelting(logInput, coalOutput, 0.15F);
}
List<IWoodType> allWoodTypes = new ArrayList<>();
Collections.addAll(allWoodTypes, EnumForestryWoodType.VALUES);
Collections.addAll(allWoodTypes, EnumVanillaWoodType.VALUES);
for (IWoodType woodType : allWoodTypes) {
ItemStack planks = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.PLANKS, false);
ItemStack logs = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.LOG, false);
ItemStack slabs = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.SLAB, false);
ItemStack fences = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.FENCE, false);
ItemStack fenceGates = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.FENCE_GATE, false);
ItemStack stairs = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.STAIRS, false);
ItemStack doors = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.DOOR, false);
ItemStack fireproofPlanks = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.PLANKS, true);
ItemStack fireproofLogs = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.LOG, true);
ItemStack fireproofSlabs = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.SLAB, true);
ItemStack fireproofFences = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.FENCE, true);
ItemStack fireproofFenceGates = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.FENCE_GATE, true);
ItemStack fireproofStairs = TreeManager.woodAccess.getStack(woodType, WoodBlockKind.STAIRS, true);
if (woodType instanceof EnumForestryWoodType) {
planks.setCount(4);
logs.setCount(1);
RecipeUtil.addShapelessRecipe("planks_" + woodType.getName(), planks.copy(), logs.copy());
slabs.setCount(6);
planks.setCount(1);
RecipeUtil.addRecipe("slabs_" + woodType.getName(), slabs.copy(), "###", '#', planks.copy());
fences.setCount(3);
planks.setCount(1);
RecipeUtil.addRecipe("fences_" + woodType.getName(), fences.copy(), "#X#", "#X#", '#', planks.copy(), 'X', "stickWood");
fenceGates.setCount(1);
planks.setCount(1);
RecipeUtil.addRecipe("fence_gates_" + woodType.getName(), fenceGates.copy(), "X#X", "X#X", '#', planks.copy(), 'X', "stickWood");
stairs.setCount(4);
planks.setCount(1);
RecipeUtil.addRecipe("stairs_" + woodType.getName(), stairs.copy(), "# ", "## ", "###", '#', planks.copy());
doors.setCount(3);
planks.setCount(1);
RecipeUtil.addRecipe("doors_" + woodType.getName(), doors.copy(), "## ", "## ", "## ", '#', planks.copy());
}
fireproofPlanks.setCount(4);
fireproofLogs.setCount(1);
RecipeUtil.addShapelessRecipe("fireproof_planks_" + woodType.getName(), fireproofPlanks.copy(), fireproofLogs.copy());
fireproofSlabs.setCount(6);
fireproofPlanks.setCount(1);
RecipeUtil.addRecipe("fireproof_slabs_" + woodType.getName(), fireproofSlabs.copy(), "###", '#', fireproofPlanks.copy());
fireproofFences.setCount(3);
fireproofPlanks.setCount(1);
RecipeUtil.addRecipe("fireproof_fences_" + woodType.getName(), fireproofFences.copy(), "#X#", "#X#", '#', fireproofPlanks.copy(), 'X', "stickWood");
fireproofFenceGates.setCount(1);
fireproofPlanks.setCount(1);
RecipeUtil.addRecipe("fireproof_fence_gates_" + woodType.getName(), fireproofFenceGates.copy(), "X#X", "X#X", '#', fireproofPlanks.copy(), 'X', "stickWood");
fireproofStairs.setCount(4);
fireproofPlanks.setCount(1);
RecipeUtil.addRecipe("fireproof_stairs_" + woodType.getName(), fireproofStairs.copy(), "# ", "## ", "###", '#', fireproofPlanks.copy());
doors.setCount(3);
fireproofPlanks.setCount(1);
RecipeUtil.addRecipe("fireproof_doors_" + woodType.getName(), doors.copy(), "## ", "## ", "## ", '#', fireproofPlanks.copy());
// Fabricator recipes
if (ForestryAPI.enabledModules.containsAll(Arrays.asList(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.FACTORY), new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.APICULTURE)))) {
logs.setCount(1);
fireproofLogs.setCount(1);
RecipeManagers.fabricatorManager.addRecipe(ItemStack.EMPTY, Fluids.GLASS.getFluid(500), fireproofLogs.copy(), new Object[] { " # ", "#X#", " # ", '#', coreItems.refractoryWax, 'X', logs.copy() });
planks.setCount(1);
fireproofPlanks.setCount(5);
RecipeManagers.fabricatorManager.addRecipe(ItemStack.EMPTY, Fluids.GLASS.getFluid(500), fireproofPlanks.copy(), new Object[] { "X#X", "#X#", "X#X", '#', coreItems.refractoryWax, 'X', planks.copy() });
}
}
if (ForestryAPI.enabledModules.contains(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.FACTORY))) {
// SQUEEZER RECIPES
int seedOilMultiplier = ForestryAPI.activeMode.getIntegerSetting("squeezer.liquid.seed");
int juiceMultiplier = ForestryAPI.activeMode.getIntegerSetting("squeezer.liquid.apple");
int mulchMultiplier = ForestryAPI.activeMode.getIntegerSetting("squeezer.mulch.apple");
ItemStack mulch = new ItemStack(coreItems.mulch);
RecipeManagers.squeezerManager.addRecipe(20, EnumFruit.CHERRY.getStack(), Fluids.SEED_OIL.getFluid(5 * seedOilMultiplier), mulch, 5);
RecipeManagers.squeezerManager.addRecipe(60, EnumFruit.WALNUT.getStack(), Fluids.SEED_OIL.getFluid(18 * seedOilMultiplier), mulch, 5);
RecipeManagers.squeezerManager.addRecipe(70, EnumFruit.CHESTNUT.getStack(), Fluids.SEED_OIL.getFluid(22 * seedOilMultiplier), mulch, 2);
RecipeManagers.squeezerManager.addRecipe(10, EnumFruit.LEMON.getStack(), Fluids.JUICE.getFluid(juiceMultiplier * 2), mulch, (int) Math.floor(mulchMultiplier * 0.5f));
RecipeManagers.squeezerManager.addRecipe(10, EnumFruit.PLUM.getStack(), Fluids.JUICE.getFluid((int) Math.floor(juiceMultiplier * 0.5f)), mulch, mulchMultiplier * 3);
RecipeManagers.squeezerManager.addRecipe(10, EnumFruit.PAPAYA.getStack(), Fluids.JUICE.getFluid(juiceMultiplier * 3), mulch, (int) Math.floor(mulchMultiplier * 0.5f));
RecipeManagers.squeezerManager.addRecipe(10, EnumFruit.DATES.getStack(), Fluids.JUICE.getFluid((int) Math.floor(juiceMultiplier * 0.25)), mulch, mulchMultiplier);
RecipeUtil.addFermenterRecipes(new ItemStack(items.sapling, 1, OreDictionary.WILDCARD_VALUE), ForestryAPI.activeMode.getIntegerSetting("fermenter.yield.sapling"), Fluids.BIOMASS);
}
// Grafter
RecipeUtil.addRecipe("grafter", items.grafter.getItemStack(), " B", " # ", "# ", 'B', "ingotBronze", '#', "stickWood");
RecipeUtil.addRecipe("tree_chest", blocks.treeChest, " # ", "XYX", "XXX", '#', "blockGlass", 'X', "treeSapling", 'Y', "chestWood");
}
use of forestry.core.items.ItemRegistryCore in project ForestryMC by ForestryMC.
the class ModuleBackpacks method setDefaultsForConfig.
private void setDefaultsForConfig() {
ItemRegistryCore coreItems = ModuleCore.getItems();
backpackAcceptedOreDictRegexpDefaults.put(BackpackManager.MINER_UID, Arrays.asList("obsidian", "ore[A-Z].*", "dust[A-Z].*", "gem[A-Z].*", "ingot[A-Z].*", "nugget[A-Z].*", "crushed[A-Z].*", "cluster[A-Z].*", "denseore[A-Z].*"));
backpackAcceptedOreDictRegexpDefaults.put(BackpackManager.DIGGER_UID, Arrays.asList("cobblestone", "dirt", "gravel", "netherrack", "stone", "stone[A-Z].*", "sand"));
backpackAcceptedOreDictRegexpDefaults.put(BackpackManager.HUNTER_UID, Arrays.asList("bone", "egg", "enderpearl", "feather", "fish[A-Z].*", "gunpowder", "leather", "slimeball", "string"));
backpackAcceptedOreDictRegexpDefaults.put(BackpackManager.FORESTER_UID, Arrays.asList("logWood", "stickWood", "woodStick", "saplingTree", "treeSapling", "vine", "sugarcane", "blockCactus", "crop[A-Z].*", "seed[A-Z].*", "tree[A-Z].*"));
backpackAcceptedOreDictRegexpDefaults.put(BackpackManager.BUILDER_UID, Arrays.asList("block[A-Z].*", "paneGlass[A-Z].*", "slabWood[A-Z].*", "stainedClay[A-Z].*", "stainedGlass[A-Z].*", "stone", "sandstone", OreDictUtil.PLANK_WOOD, OreDictUtil.STAIR_WOOD, OreDictUtil.SLAB_WOOD, OreDictUtil.FENCE_WOOD, OreDictUtil.FENCE_GATE_WOOD, OreDictUtil.TRAPDOOR_WOOD, "glass", "paneGlass", "torch", "chest", "chest[A-Z].*", "workbench", "doorWood"));
backpackAcceptedItemDefaults.put(BackpackManager.MINER_UID, getItemStrings(Arrays.asList(new ItemStack(Blocks.COAL_ORE), new ItemStack(Items.COAL), coreItems.bronzePickaxe.getItemStack(), coreItems.kitPickaxe.getItemStack(), coreItems.brokenBronzePickaxe.getItemStack())));
backpackAcceptedItemDefaults.put(BackpackManager.DIGGER_UID, getItemStrings(Arrays.asList(new ItemStack(Blocks.DIRT, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.FLINT), new ItemStack(Blocks.SANDSTONE, 1, 0), new ItemStack(Items.CLAY_BALL), new ItemStack(Items.SNOWBALL), new ItemStack(Blocks.SOUL_SAND), coreItems.bronzeShovel.getItemStack(), coreItems.kitShovel.getItemStack(), coreItems.brokenBronzeShovel.getItemStack())));
backpackAcceptedItemDefaults.put(BackpackManager.FORESTER_UID, getItemStrings(Arrays.asList(new ItemStack(Blocks.RED_MUSHROOM), new ItemStack(Blocks.BROWN_MUSHROOM), new ItemStack(Blocks.RED_FLOWER, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.YELLOW_FLOWER), new ItemStack(Blocks.TALLGRASS, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.DOUBLE_PLANT, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.PUMPKIN), new ItemStack(Blocks.MELON_BLOCK), new ItemStack(Items.GOLDEN_APPLE), new ItemStack(Items.NETHER_WART), new ItemStack(Items.WHEAT_SEEDS), new ItemStack(Items.PUMPKIN_SEEDS), new ItemStack(Items.MELON_SEEDS), new ItemStack(Items.BEETROOT_SEEDS), new ItemStack(Items.BEETROOT), new ItemStack(Items.CHORUS_FRUIT), new ItemStack(Items.APPLE))));
backpackAcceptedItemDefaults.put(BackpackManager.HUNTER_UID, getItemStrings(Arrays.asList(new ItemStack(Items.BLAZE_POWDER), new ItemStack(Items.BLAZE_ROD), new ItemStack(Items.ROTTEN_FLESH), new ItemStack(Items.SKULL, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.GHAST_TEAR), new ItemStack(Items.GOLD_NUGGET), new ItemStack(Items.ARROW), new ItemStack(Items.SPECTRAL_ARROW), new ItemStack(Items.TIPPED_ARROW), new ItemStack(Items.PORKCHOP), new ItemStack(Items.COOKED_PORKCHOP), new ItemStack(Items.BEEF), new ItemStack(Items.COOKED_BEEF), new ItemStack(Items.CHICKEN), new ItemStack(Items.COOKED_CHICKEN), new ItemStack(Items.MUTTON), new ItemStack(Items.COOKED_MUTTON), new ItemStack(Items.RABBIT), new ItemStack(Items.COOKED_RABBIT), new ItemStack(Items.RABBIT_FOOT), new ItemStack(Items.RABBIT_HIDE), new ItemStack(Items.SPIDER_EYE), new ItemStack(Items.FERMENTED_SPIDER_EYE), new ItemStack(Items.DYE, 1, 0), new ItemStack(Blocks.HAY_BLOCK), new ItemStack(Blocks.WOOL, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.ENDER_EYE), new ItemStack(Items.MAGMA_CREAM), new ItemStack(Items.SPECKLED_MELON), new ItemStack(Items.FISH, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.COOKED_FISH, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.LEAD), new ItemStack(Items.FISHING_ROD), new ItemStack(Items.NAME_TAG), new ItemStack(Items.SADDLE), new ItemStack(Items.DIAMOND_HORSE_ARMOR), new ItemStack(Items.GOLDEN_HORSE_ARMOR), new ItemStack(Items.IRON_HORSE_ARMOR))));
backpackAcceptedItemDefaults.put(BackpackManager.BUILDER_UID, getItemStrings(Arrays.asList(new ItemStack(Blocks.REDSTONE_TORCH), new ItemStack(Blocks.REDSTONE_LAMP), new ItemStack(Blocks.SEA_LANTERN), new ItemStack(Blocks.END_ROD), new ItemStack(Blocks.STONEBRICK, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.BRICK_BLOCK), new ItemStack(Blocks.CLAY), new ItemStack(Blocks.HARDENED_CLAY, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.STAINED_HARDENED_CLAY, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.PACKED_ICE), new ItemStack(Blocks.NETHER_BRICK), new ItemStack(Blocks.NETHER_BRICK_FENCE), new ItemStack(Blocks.CRAFTING_TABLE), new ItemStack(Blocks.FURNACE), new ItemStack(Blocks.LEVER), new ItemStack(Blocks.DISPENSER), new ItemStack(Blocks.DROPPER), new ItemStack(Blocks.LADDER), new ItemStack(Blocks.IRON_BARS), new ItemStack(Blocks.QUARTZ_BLOCK, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.QUARTZ_STAIRS), new ItemStack(Blocks.SANDSTONE_STAIRS), new ItemStack(Blocks.RED_SANDSTONE_STAIRS), new ItemStack(Blocks.COBBLESTONE_WALL, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.STONE_BUTTON), new ItemStack(Blocks.WOODEN_BUTTON), new ItemStack(Blocks.STONE_SLAB, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.STONE_SLAB2, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.WOODEN_SLAB, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.PURPUR_BLOCK), new ItemStack(Blocks.PURPUR_PILLAR), new ItemStack(Blocks.PURPUR_STAIRS), new ItemStack(Blocks.PURPUR_SLAB), new ItemStack(Blocks.END_BRICKS), new ItemStack(Blocks.CARPET, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Blocks.IRON_TRAPDOOR), new ItemStack(Blocks.STONE_PRESSURE_PLATE), new ItemStack(Blocks.WOODEN_PRESSURE_PLATE), new ItemStack(Blocks.LIGHT_WEIGHTED_PRESSURE_PLATE), new ItemStack(Blocks.HEAVY_WEIGHTED_PRESSURE_PLATE), new ItemStack(Items.SIGN), new ItemStack(Items.ITEM_FRAME), new ItemStack(Items.ACACIA_DOOR), new ItemStack(Items.BIRCH_DOOR), new ItemStack(Items.DARK_OAK_DOOR), new ItemStack(Items.IRON_DOOR), new ItemStack(Items.JUNGLE_DOOR), new ItemStack(Items.OAK_DOOR), new ItemStack(Items.SPRUCE_DOOR))));
if (ForestryAPI.enabledModules.contains(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.APICULTURE))) {
BlockRegistryApiculture beeBlocks = ModuleApiculture.getBlocks();
backpackAcceptedItemDefaults.get(BackpackManager.BUILDER_UID).addAll(getItemStrings(Arrays.asList(new ItemStack(beeBlocks.candle, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(beeBlocks.stump, 1, OreDictionary.WILDCARD_VALUE))));
}
// include everything added via the API
BackpackInterface backpackInterface = (BackpackInterface) BackpackManager.backpackInterface;
backpackAcceptedItemDefaults.putAll(backpackInterface.getBackpackAcceptedItems());
}
use of forestry.core.items.ItemRegistryCore in project ForestryMC by ForestryMC.
the class ModuleBackpacks method addT2BackpackRecipe.
private static void addT2BackpackRecipe(Item backpackT1, Item backpackT2) {
ItemRegistryCore coreItems = ModuleCore.getItems();
ItemStack wovenSilk = coreItems.craftingMaterial.getWovenSilk();
RecipeManagers.carpenterManager.addRecipe(200, new FluidStack(FluidRegistry.WATER, Fluid.BUCKET_VOLUME), ItemStack.EMPTY, new ItemStack(backpackT2), "WXW", "WTW", "WWW", 'X', "gemDiamond", 'W', wovenSilk, 'T', backpackT1);
}
use of forestry.core.items.ItemRegistryCore in project ForestryMC by ForestryMC.
the class ModuleCore method registerCrates.
@Override
public void registerCrates() {
ICrateRegistry crateRegistry = StorageManager.crateRegistry;
// forestry items
ItemRegistryCore items = getItems();
crateRegistry.registerCrate(items.peat);
crateRegistry.registerCrate(items.apatite);
crateRegistry.registerCrate(items.fertilizerCompound);
crateRegistry.registerCrate(items.mulch);
crateRegistry.registerCrate(items.phosphor);
crateRegistry.registerCrate(items.ash);
crateRegistry.registerCrate(OreDictUtil.INGOT_TIN);
crateRegistry.registerCrate(OreDictUtil.INGOT_COPPER);
crateRegistry.registerCrate(OreDictUtil.INGOT_BRONZE);
// forestry blocks
BlockRegistryCore blocks = getBlocks();
crateRegistry.registerCrate(blocks.humus);
crateRegistry.registerCrate(blocks.bogEarth.get(BlockBogEarth.SoilType.BOG_EARTH, 1));
// vanilla items
crateRegistry.registerCrate(OreDictUtil.CROP_WHEAT);
crateRegistry.registerCrate(Items.COOKIE);
crateRegistry.registerCrate(OreDictUtil.DUST_REDSTONE);
crateRegistry.registerCrate(new ItemStack(Items.DYE, 1, 4));
crateRegistry.registerCrate("sugarcane");
crateRegistry.registerCrate(Items.CLAY_BALL);
crateRegistry.registerCrate("dustGlowstone");
crateRegistry.registerCrate(Items.APPLE);
crateRegistry.registerCrate(new ItemStack(Items.NETHER_WART));
crateRegistry.registerCrate(new ItemStack(Items.COAL, 1, 1));
crateRegistry.registerCrate(new ItemStack(Items.COAL, 1, 0));
crateRegistry.registerCrate(Items.WHEAT_SEEDS);
crateRegistry.registerCrate("cropPotato");
crateRegistry.registerCrate("cropCarrot");
// vanilla blocks
crateRegistry.registerCrate(new ItemStack(Blocks.LOG, 1, 0));
crateRegistry.registerCrate(new ItemStack(Blocks.LOG, 1, 1));
crateRegistry.registerCrate(new ItemStack(Blocks.LOG, 1, 2));
crateRegistry.registerCrate(new ItemStack(Blocks.LOG, 1, 3));
crateRegistry.registerCrate(new ItemStack(Blocks.LOG2, 1, 0));
crateRegistry.registerCrate(new ItemStack(Blocks.LOG2, 1, 1));
crateRegistry.registerCrate("cobblestone");
crateRegistry.registerCrate("dirt");
crateRegistry.registerCrate(new ItemStack(Blocks.DIRT, 1, 2));
crateRegistry.registerCrate("stone");
crateRegistry.registerCrate("stoneGranite");
crateRegistry.registerCrate("stoneDiorite");
crateRegistry.registerCrate("stoneAndesite");
crateRegistry.registerCrate("blockPrismarine");
crateRegistry.registerCrate("blockPrismarineBrick");
crateRegistry.registerCrate("blockPrismarineDark");
crateRegistry.registerCrate(Blocks.BRICK_BLOCK);
crateRegistry.registerCrate("blockCactus");
crateRegistry.registerCrate(new ItemStack(Blocks.SAND, 1, 0));
crateRegistry.registerCrate(new ItemStack(Blocks.SAND, 1, 1));
crateRegistry.registerCrate("obsidian");
crateRegistry.registerCrate("netherrack");
crateRegistry.registerCrate(Blocks.SOUL_SAND);
crateRegistry.registerCrate(Blocks.SANDSTONE);
crateRegistry.registerCrate(Blocks.NETHER_BRICK);
crateRegistry.registerCrate(Blocks.MYCELIUM);
crateRegistry.registerCrate("gravel");
crateRegistry.registerCrate(new ItemStack(Blocks.SAPLING, 1, 0));
crateRegistry.registerCrate(new ItemStack(Blocks.SAPLING, 1, 1));
crateRegistry.registerCrate(new ItemStack(Blocks.SAPLING, 1, 2));
crateRegistry.registerCrate(new ItemStack(Blocks.SAPLING, 1, 3));
crateRegistry.registerCrate(new ItemStack(Blocks.SAPLING, 1, 4));
crateRegistry.registerCrate(new ItemStack(Blocks.SAPLING, 1, 5));
}
Aggregations