Update to Minecraft 1.13.1

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-08-26 12:00:00 +10:00
parent 034c12d001
commit f578d94680
182 changed files with 1891 additions and 1879 deletions

View File

@@ -30,7 +30,7 @@
public final void setSize(float f, float f1) {
double d0 = this.locX;
double d1 = this.locY;
@@ -355,6 +371,21 @@
@@ -357,6 +373,21 @@
if (itemstack1.isEmpty() || (this.bH & 1 << enumitemslot.c() + 8) == 0) {
if (!itemstack1.isEmpty() || (this.bH & 1 << enumitemslot.c() + 16) == 0) {
ItemStack itemstack2;
@@ -52,7 +52,7 @@
if (entityhuman.abilities.canInstantlyBuild && itemstack1.isEmpty() && !itemstack.isEmpty()) {
itemstack2 = itemstack.cloneItemStack();
@@ -376,14 +407,19 @@
@@ -378,14 +409,19 @@
}
public boolean damageEntity(DamageSource damagesource, float f) {
@@ -74,7 +74,7 @@
return false;
} else if (DamageSource.FIRE.equals(damagesource)) {
if (this.isBurning()) {
@@ -407,7 +443,7 @@
@@ -409,7 +445,7 @@
} else if (damagesource.v()) {
this.F();
this.A();
@@ -83,7 +83,7 @@
return false;
} else {
long i = this.world.getTime();
@@ -418,7 +454,7 @@
@@ -420,7 +456,7 @@
} else {
this.B();
this.A();
@@ -92,7 +92,7 @@
}
return true;
@@ -445,7 +481,7 @@
@@ -447,7 +483,7 @@
f1 -= f;
if (f1 <= 0.5F) {
this.D();
@@ -101,7 +101,7 @@
} else {
this.setHealth(f1);
}
@@ -453,7 +489,7 @@
@@ -455,7 +491,7 @@
}
private void B() {
@@ -110,7 +110,7 @@
this.D();
}
@@ -466,7 +502,7 @@
@@ -468,7 +504,7 @@
for (i = 0; i < this.bE.size(); ++i) {
itemstack = (ItemStack) this.bE.get(i);
if (!itemstack.isEmpty()) {
@@ -119,7 +119,7 @@
this.bE.set(i, ItemStack.a);
}
}
@@ -474,7 +510,7 @@
@@ -476,7 +512,7 @@
for (i = 0; i < this.bF.size(); ++i) {
itemstack = (ItemStack) this.bF.get(i);
if (!itemstack.isEmpty()) {
@@ -128,7 +128,7 @@
this.bF.set(i, ItemStack.a);
}
}
@@ -586,6 +622,7 @@
@@ -588,6 +624,7 @@
}
public void killEntity() {