/** Adds the crafting recipes to the CraftingManager. */ public void addRecipes(CraftingManager p_77589_1_) { p_77589_1_.addRecipe( new ItemStack(Blocks.chest), new Object[] {"###", "# #", "###", '#', Blocks.planks}); p_77589_1_.addRecipe( new ItemStack(Blocks.trapped_chest), new Object[] {"#-", '#', Blocks.chest, '-', Blocks.tripwire_hook}); p_77589_1_.addRecipe( new ItemStack(Blocks.ender_chest), new Object[] {"###", "#E#", "###", '#', Blocks.obsidian, 'E', Items.ender_eye}); p_77589_1_.addRecipe( new ItemStack(Blocks.furnace), new Object[] {"###", "# #", "###", '#', Blocks.cobblestone}); p_77589_1_.addRecipe( new ItemStack(Blocks.crafting_table), new Object[] {"##", "##", '#', Blocks.planks}); p_77589_1_.addRecipe( new ItemStack(Blocks.sandstone), new Object[] { "##", "##", '#', new ItemStack(Blocks.sand, 1, BlockSand.EnumType.SAND.func_176688_a()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.red_sandstone), new Object[] { "##", "##", '#', new ItemStack(Blocks.sand, 1, BlockSand.EnumType.RED_SAND.func_176688_a()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.sandstone, 4, BlockSandStone.EnumType.SMOOTH.func_176675_a()), new Object[] { "##", "##", '#', new ItemStack(Blocks.sandstone, 1, BlockSandStone.EnumType.DEFAULT.func_176675_a()) }); p_77589_1_.addRecipe( new ItemStack( Blocks.red_sandstone, 4, BlockRedSandstone.EnumType.SMOOTH.getMetaFromState()), new Object[] { "##", "##", '#', new ItemStack( Blocks.red_sandstone, 1, BlockRedSandstone.EnumType.DEFAULT.getMetaFromState()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.sandstone, 1, BlockSandStone.EnumType.CHISELED.func_176675_a()), new Object[] { "#", "#", '#', new ItemStack(Blocks.stone_slab, 1, BlockStoneSlab.EnumType.SAND.func_176624_a()) }); p_77589_1_.addRecipe( new ItemStack( Blocks.red_sandstone, 1, BlockRedSandstone.EnumType.CHISELED.getMetaFromState()), new Object[] { "#", "#", '#', new ItemStack( Blocks.stone_slab2, 1, BlockStoneSlabNew.EnumType.RED_SANDSTONE.func_176915_a()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.quartz_block, 1, BlockQuartz.EnumType.CHISELED.getMetaFromState()), new Object[] { "#", "#", '#', new ItemStack(Blocks.stone_slab, 1, BlockStoneSlab.EnumType.QUARTZ.func_176624_a()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.quartz_block, 2, BlockQuartz.EnumType.LINES_Y.getMetaFromState()), new Object[] { "#", "#", '#', new ItemStack(Blocks.quartz_block, 1, BlockQuartz.EnumType.DEFAULT.getMetaFromState()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.stonebrick, 4), new Object[] { "##", "##", '#', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.STONE.getMetaFromState()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.stonebrick, 1, BlockStoneBrick.CHISELED_META), new Object[] { "#", "#", '#', new ItemStack(Blocks.stone_slab, 1, BlockStoneSlab.EnumType.SMOOTHBRICK.func_176624_a()) }); p_77589_1_.addShapelessRecipe( new ItemStack(Blocks.stonebrick, 1, BlockStoneBrick.MOSSY_META), new Object[] {Blocks.stonebrick, Blocks.vine}); p_77589_1_.addShapelessRecipe( new ItemStack(Blocks.mossy_cobblestone, 1), new Object[] {Blocks.cobblestone, Blocks.vine}); p_77589_1_.addRecipe( new ItemStack(Blocks.iron_bars, 16), new Object[] {"###", "###", '#', Items.iron_ingot}); p_77589_1_.addRecipe( new ItemStack(Blocks.glass_pane, 16), new Object[] {"###", "###", '#', Blocks.glass}); p_77589_1_.addRecipe( new ItemStack(Blocks.redstone_lamp, 1), new Object[] {" R ", "RGR", " R ", 'R', Items.redstone, 'G', Blocks.glowstone}); p_77589_1_.addRecipe( new ItemStack(Blocks.beacon, 1), new Object[] { "GGG", "GSG", "OOO", 'G', Blocks.glass, 'S', Items.nether_star, 'O', Blocks.obsidian }); p_77589_1_.addRecipe( new ItemStack(Blocks.nether_brick, 1), new Object[] {"NN", "NN", 'N', Items.netherbrick}); p_77589_1_.addRecipe( new ItemStack(Blocks.stone, 2, BlockStone.EnumType.DIORITE.getMetaFromState()), new Object[] {"CQ", "QC", 'C', Blocks.cobblestone, 'Q', Items.quartz}); p_77589_1_.addShapelessRecipe( new ItemStack(Blocks.stone, 1, BlockStone.EnumType.GRANITE.getMetaFromState()), new Object[] { new ItemStack(Blocks.stone, 1, BlockStone.EnumType.DIORITE.getMetaFromState()), Items.quartz }); p_77589_1_.addShapelessRecipe( new ItemStack(Blocks.stone, 2, BlockStone.EnumType.ANDESITE.getMetaFromState()), new Object[] { new ItemStack(Blocks.stone, 1, BlockStone.EnumType.DIORITE.getMetaFromState()), Blocks.cobblestone }); p_77589_1_.addRecipe( new ItemStack(Blocks.dirt, 4, BlockDirt.DirtType.COARSE_DIRT.getMetadata()), new Object[] { "DG", "GD", 'D', new ItemStack(Blocks.dirt, 1, BlockDirt.DirtType.DIRT.getMetadata()), 'G', Blocks.gravel }); p_77589_1_.addRecipe( new ItemStack(Blocks.stone, 4, BlockStone.EnumType.DIORITE_SMOOTH.getMetaFromState()), new Object[] { "SS", "SS", 'S', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.DIORITE.getMetaFromState()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.stone, 4, BlockStone.EnumType.GRANITE_SMOOTH.getMetaFromState()), new Object[] { "SS", "SS", 'S', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.GRANITE.getMetaFromState()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.stone, 4, BlockStone.EnumType.ANDESITE_SMOOTH.getMetaFromState()), new Object[] { "SS", "SS", 'S', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.ANDESITE.getMetaFromState()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.prismarine, 1, BlockPrismarine.ROUGHMETA), new Object[] {"SS", "SS", 'S', Items.prismarine_shard}); p_77589_1_.addRecipe( new ItemStack(Blocks.prismarine, 1, BlockPrismarine.BRICKSMETA), new Object[] {"SSS", "SSS", "SSS", 'S', Items.prismarine_shard}); p_77589_1_.addRecipe( new ItemStack(Blocks.prismarine, 1, BlockPrismarine.DARKMETA), new Object[] { "SSS", "SIS", "SSS", 'S', Items.prismarine_shard, 'I', new ItemStack(Items.dye, 1, EnumDyeColor.BLACK.getDyeColorDamage()) }); p_77589_1_.addRecipe( new ItemStack(Blocks.sea_lantern, 1, 0), new Object[] { "SCS", "CCC", "SCS", 'S', Items.prismarine_shard, 'C', Items.prismarine_crystals }); }
/** Adds the food recipes to the CraftingManager. */ public void addRecipes(CraftingManager p_77608_1_) { p_77608_1_.addShapelessRecipe( new ItemStack(Items.mushroom_stew), new Object[] {Blocks.brown_mushroom, Blocks.red_mushroom, Items.bowl}); p_77608_1_.addRecipe( new ItemStack(Items.cookie, 8), new Object[] { "#X#", 'X', new ItemStack(Items.dye, 1, EnumDyeColor.BROWN.getDyeDamage()), '#', Items.wheat }); p_77608_1_.addRecipe( new ItemStack(Items.rabbit_stew), new Object[] { " R ", "CPM", " B ", 'R', new ItemStack(Items.cooked_rabbit), 'C', Items.carrot, 'P', Items.baked_potato, 'M', Blocks.brown_mushroom, 'B', Items.bowl }); p_77608_1_.addRecipe( new ItemStack(Items.rabbit_stew), new Object[] { " R ", "CPD", " B ", 'R', new ItemStack(Items.cooked_rabbit), 'C', Items.carrot, 'P', Items.baked_potato, 'D', Blocks.red_mushroom, 'B', Items.bowl }); p_77608_1_.addRecipe( new ItemStack(Blocks.melon_block), new Object[] {"MMM", "MMM", "MMM", 'M', Items.melon}); p_77608_1_.addRecipe(new ItemStack(Items.melon_seeds), new Object[] {"M", 'M', Items.melon}); p_77608_1_.addRecipe( new ItemStack(Items.pumpkin_seeds, 4), new Object[] {"M", 'M', Blocks.pumpkin}); p_77608_1_.addShapelessRecipe( new ItemStack(Items.pumpkin_pie), new Object[] {Blocks.pumpkin, Items.sugar, Items.egg}); p_77608_1_.addShapelessRecipe( new ItemStack(Items.fermented_spider_eye), new Object[] {Items.spider_eye, Blocks.brown_mushroom, Items.sugar}); p_77608_1_.addShapelessRecipe( new ItemStack(Items.blaze_powder, 2), new Object[] {Items.blaze_rod}); p_77608_1_.addShapelessRecipe( new ItemStack(Items.magma_cream), new Object[] {Items.blaze_powder, Items.slime_ball}); }