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

@@ -1,17 +1,15 @@
--- a/net/minecraft/server/RecipeTippedArrow.java
+++ b/net/minecraft/server/RecipeTippedArrow.java
@@ -3,11 +3,19 @@
@@ -2,9 +2,17 @@
import java.util.Collection;
import javax.annotation.Nullable;
-class RecipeTippedArrow implements IRecipe {
+class RecipeTippedArrow extends ShapedRecipes implements IRecipe { // CraftBukkit
-public class RecipeTippedArrow implements IRecipe {
+public class RecipeTippedArrow extends ShapedRecipes implements IRecipe { // CraftBukkit
private static final ItemStack[] a = new ItemStack[9];
- RecipeTippedArrow() {}
- public RecipeTippedArrow() {}
+ // CraftBukkit start
+ RecipeTippedArrow() {
+ public RecipeTippedArrow() {
+ super(3, 3, new ItemStack[]{
+ new ItemStack(Items.ARROW, 0), new ItemStack(Items.ARROW, 0), new ItemStack(Items.ARROW, 0),
+ new ItemStack(Items.ARROW, 0), new ItemStack(Items.LINGERING_POTION, 0), new ItemStack(Items.ARROW, 0),
@@ -21,4 +19,4 @@
+ // CraftBukkit end
public boolean a(InventoryCrafting inventorycrafting, World world) {
if (inventorycrafting.i() == 3 && inventorycrafting.h() == 3) {
if (inventorycrafting.j() == 3 && inventorycrafting.i() == 3) {