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,9 +1,9 @@
--- a/net/minecraft/server/PathfinderGoalTempt.java
+++ b/net/minecraft/server/PathfinderGoalTempt.java
@@ -3,6 +3,12 @@
@@ -2,6 +2,12 @@
import com.google.common.collect.Sets;
import java.util.Set;
import javax.annotation.Nullable;
+// CraftBukkit start
+import org.bukkit.craftbukkit.entity.CraftLivingEntity;
+import org.bukkit.craftbukkit.event.CraftEventFactory;
@@ -13,7 +13,7 @@
public class PathfinderGoalTempt extends PathfinderGoal {
@@ -13,7 +19,7 @@
@@ -12,7 +18,7 @@
private double e;
private double f;
private double g;
@@ -22,7 +22,7 @@
private int i;
private boolean j;
private final Set<Item> k;
@@ -40,7 +46,18 @@
@@ -39,7 +45,18 @@
return false;
} else {
this.h = this.a.world.findNearbyPlayer(this.a, 10.0D);