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

@@ -7,8 +7,8 @@
+
public abstract class EntityFireball extends Entity {
private int e = -1;
@@ -13,6 +15,8 @@
public EntityLiving shooter;
@@ -8,6 +10,8 @@
public double dirX;
public double dirY;
public double dirZ;
@@ -17,7 +17,7 @@
public EntityFireball(World world) {
super(world);
@@ -36,12 +40,19 @@
@@ -31,12 +35,19 @@
public EntityFireball(World world, EntityLiving entityliving, double d0, double d1, double d2) {
super(world);
this.shooter = entityliving;
@@ -37,7 +37,7 @@
d0 += this.random.nextGaussian() * 0.4D;
d1 += this.random.nextGaussian() * 0.4D;
d2 += this.random.nextGaussian() * 0.4D;
@@ -85,6 +96,12 @@
@@ -61,6 +72,12 @@
if (movingobjectposition != null) {
this.a(movingobjectposition);
@@ -50,7 +50,7 @@
}
this.locX += this.motX;
@@ -191,6 +208,11 @@
@@ -150,6 +167,11 @@
} else {
this.ap();
if (damagesource.getEntity() != null) {
@@ -62,7 +62,7 @@
Vec3D vec3d = damagesource.getEntity().aB();
if (vec3d != null) {
@@ -204,6 +226,7 @@
@@ -163,6 +185,7 @@
if (damagesource.getEntity() instanceof EntityLiving) {
this.shooter = (EntityLiving) damagesource.getEntity();