Update to Minecraft 1.14.1

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-05-14 10:00:00 +10:00
parent 1825747f6d
commit 788fd7eedc
60 changed files with 322 additions and 587 deletions

View File

@@ -35,8 +35,8 @@
this.lastX = this.locX;
this.lastY = this.locY;
@@ -99,9 +107,11 @@
this.setMot(this.getMot().d(1.0D, -0.5D, 1.0D));
@@ -101,9 +109,11 @@
}
}
+ /* Craftbukkit start - moved up
@@ -47,7 +47,7 @@
this.impulse |= this.ax();
if (!this.world.isClientSide) {
@@ -113,6 +123,12 @@
@@ -115,6 +125,12 @@
}
if (!this.world.isClientSide && this.age >= 6000) {
@@ -60,7 +60,7 @@
this.die();
}
@@ -173,13 +189,14 @@
@@ -175,13 +191,14 @@
}
private static void a(EntityItem entityitem, ItemStack itemstack, EntityItem entityitem1, ItemStack itemstack1) {
@@ -76,7 +76,7 @@
entityitem.pickupDelay = Math.max(entityitem.pickupDelay, entityitem1.pickupDelay);
entityitem.age = Math.min(entityitem.age, entityitem1.age);
if (itemstack1.isEmpty()) {
@@ -193,7 +210,7 @@
@@ -195,7 +212,7 @@
}
@Override
@@ -85,7 +85,7 @@
this.damageEntity(DamageSource.FIRE, (float) i);
}
@@ -204,6 +221,11 @@
@@ -206,6 +223,11 @@
} else if (!this.getItemStack().isEmpty() && this.getItemStack().getItem() == Items.NETHER_STAR && damagesource.isExplosion()) {
return false;
} else {
@@ -97,7 +97,7 @@
this.velocityChanged();
this.f = (int) ((float) this.f - f);
if (this.f <= 0) {
@@ -265,6 +287,35 @@
@@ -267,6 +289,35 @@
Item item = itemstack.getItem();
int i = itemstack.getCount();
@@ -133,7 +133,7 @@
if (this.pickupDelay == 0 && (this.owner == null || 6000 - this.age <= 200 || this.owner.equals(entityhuman.getUniqueID())) && entityhuman.inventory.pickup(itemstack)) {
entityhuman.receive(this, i);
if (itemstack.isEmpty()) {
@@ -307,7 +358,9 @@
@@ -309,7 +360,9 @@
}
public void setItemStack(ItemStack itemstack) {