Update to Minecraft 1.11

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-11-17 12:41:03 +11:00
parent 49bc1c57f9
commit 4e412ab4e3
279 changed files with 3722 additions and 2992 deletions

View File

@@ -0,0 +1,18 @@
--- a/net/minecraft/server/RecipeShulkerBox.java
+++ b/net/minecraft/server/RecipeShulkerBox.java
@@ -9,9 +9,13 @@
craftingmanager.a(new RecipeShulkerBox.Dye(null));
}
- static class Dye implements IRecipe {
+ static class Dye extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
- private Dye() {}
+ // CraftBukkit start - Delegate to new parent class with bogus info
+ public Dye() {
+ super(new ItemStack(Blocks.WHITE_SHULKER_BOX, 0, 0), java.util.Arrays.asList(new ItemStack(Items.DYE, 0, 5)));
+ }
+ // CraftBukkit end
public boolean a(InventoryCrafting inventorycrafting, World world) {
int i = 0;