summaryrefslogtreecommitdiffstats
path: root/nms-patches/CraftingManager.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/CraftingManager.patch')
-rw-r--r--nms-patches/CraftingManager.patch15
1 files changed, 12 insertions, 3 deletions
diff --git a/nms-patches/CraftingManager.patch b/nms-patches/CraftingManager.patch
index 3a7c82ec..7435b9f8 100644
--- a/nms-patches/CraftingManager.patch
+++ b/nms-patches/CraftingManager.patch
@@ -17,10 +17,19 @@
public static CraftingManager getInstance() {
return CraftingManager.a;
-@@ -167,7 +173,12 @@
- 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.WOODEN_SLAB});
+@@ -32,7 +38,7 @@
+ this.recipes.add(new RecipeMapExtend());
+ this.recipes.add(new RecipeFireworks());
+ this.recipes.add(new RecipeRepair());
+- this.recipes.add(new RecipeTippedArrow());
++ // this.recipes.add(new RecipeTippedArrow());
+ (new RecipesBanner()).a(this);
+ (new RecipiesShield()).a(this);
+ this.registerShapedRecipe(new ItemStack(Items.PAPER, 3), new Object[] { "###", Character.valueOf('#'), Items.REEDS});
+@@ -176,7 +182,12 @@
this.registerShapedRecipe(new ItemStack(Blocks.HOPPER), new Object[] { "I I", "ICI", " I ", Character.valueOf('I'), Items.IRON_INGOT, Character.valueOf('C'), Blocks.CHEST});
this.registerShapedRecipe(new ItemStack(Items.ARMOR_STAND, 1), new Object[] { "///", " / ", "/_/", Character.valueOf('/'), Items.STICK, Character.valueOf('_'), new ItemStack(Blocks.STONE_SLAB, 1, BlockDoubleStepAbstract.EnumStoneSlabVariant.STONE.a())});
+ this.registerShapedRecipe(new ItemStack(Blocks.END_ROD, 4), new Object[] { "/", "#", Character.valueOf('/'), Items.BLAZE_ROD, Character.valueOf('#'), Items.CHORUS_FRUIT_POPPED});
- Collections.sort(this.recipes, new Comparator() {
+ sort();
+ }
@@ -31,7 +40,7 @@
public int a(IRecipe irecipe, IRecipe irecipe1) {
return irecipe instanceof ShapelessRecipes && irecipe1 instanceof ShapedRecipes ? 1 : (irecipe1 instanceof ShapelessRecipes && irecipe instanceof ShapedRecipes ? -1 : (irecipe1.a() < irecipe.a() ? -1 : (irecipe1.a() > irecipe.a() ? 1 : 0)));
}
-@@ -274,13 +285,18 @@
+@@ -283,13 +294,18 @@
do {
if (!iterator.hasNext()) {