From 95151481dc59fad6a424f0be2a366273530894cc Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Sun, 22 Jun 2014 15:45:06 -0500 Subject: [PATCH] Add 1.8 recipes for stone variants --- ...2-Add-1.8-recipes-for-stone-variants.patch | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 CraftBukkit-Patches/0162-Add-1.8-recipes-for-stone-variants.patch diff --git a/CraftBukkit-Patches/0162-Add-1.8-recipes-for-stone-variants.patch b/CraftBukkit-Patches/0162-Add-1.8-recipes-for-stone-variants.patch new file mode 100644 index 000000000..69699835b --- /dev/null +++ b/CraftBukkit-Patches/0162-Add-1.8-recipes-for-stone-variants.patch @@ -0,0 +1,37 @@ +From f7cbdf8fd9cee61da3298cb917e6af0a30900277 Mon Sep 17 00:00:00 2001 +From: Zach Brown +Date: Tue, 10 Jun 2014 18:22:19 -0500 +Subject: [PATCH] Add 1.8 recipes for stone variants + + +diff --git a/src/main/java/net/minecraft/server/CraftingManager.java b/src/main/java/net/minecraft/server/CraftingManager.java +index 9675edb..e2fbdc4 100644 +--- a/src/main/java/net/minecraft/server/CraftingManager.java ++++ b/src/main/java/net/minecraft/server/CraftingManager.java +@@ -148,6 +148,11 @@ public class CraftingManager { + this.registerShapelessRecipe(new ItemStack(Items.FIREBALL, 3), new Object[] { Items.SULPHUR, Items.BLAZE_POWDER, new ItemStack(Items.COAL, 1, 1)}); + this.registerShapedRecipe(new ItemStack(Blocks.DAYLIGHT_DETECTOR), new Object[] { "GGG", "QQQ", "WWW", Character.valueOf('G'), Blocks.GLASS, Character.valueOf('Q'), Items.QUARTZ, Character.valueOf('W'), Blocks.WOOD_STEP}); + this.registerShapedRecipe(new ItemStack(Blocks.HOPPER), new Object[] { "I I", "ICI", " I ", Character.valueOf('I'), Items.IRON_INGOT, Character.valueOf('C'), Blocks.CHEST}); ++ // PaperSpigot start - Register moss stone and mossy and chiseled stone brick recipes ++ this.registerShapelessRecipe(new ItemStack(Blocks.MOSSY_COBBLESTONE), new Object[] { Blocks.VINE, Blocks.COBBLESTONE}); ++ this.registerShapelessRecipe(new ItemStack(Blocks.SMOOTH_BRICK, 1, 1), new Object[] { Blocks.VINE, Blocks.SMOOTH_BRICK}); ++ this.registerShapelessRecipe(new ItemStack(Blocks.SMOOTH_BRICK, 1, 3), new Object[] { new ItemStack(Blocks.STEP, 1, 5), new ItemStack(Blocks.STEP, 1, 5)}); ++ // PaperSpigot end + // Collections.sort(this.recipes, new RecipeSorter(this)); // CraftBukkit - moved below + this.sort(); // CraftBukkit - call new sort method + } +diff --git a/src/main/java/net/minecraft/server/RecipesFurnace.java b/src/main/java/net/minecraft/server/RecipesFurnace.java +index c474d54..23a1446 100644 +--- a/src/main/java/net/minecraft/server/RecipesFurnace.java ++++ b/src/main/java/net/minecraft/server/RecipesFurnace.java +@@ -33,6 +33,7 @@ public class RecipesFurnace { + this.registerRecipe(Blocks.EMERALD_ORE, new ItemStack(Items.EMERALD), 1.0F); + this.a(Items.POTATO, new ItemStack(Items.POTATO_BAKED), 0.35F); + this.registerRecipe(Blocks.NETHERRACK, new ItemStack(Items.NETHER_BRICK), 0.1F); ++ this.registerRecipe(Blocks.SMOOTH_BRICK, new ItemStack(Blocks.SMOOTH_BRICK, 1, 2), 0.5F); // PaperSpigot - Register cracked stone brick recipe + EnumFish[] aenumfish = EnumFish.values(); + int i = aenumfish.length; + +-- +1.9.1 +