Update to Minecraft 1.16.2

This commit is contained in:
md_5
2020-08-12 07:00:00 +10:00
parent 4b9bc9daa5
commit 9c9fb593f5
208 changed files with 2144 additions and 2455 deletions

View File

@@ -35,7 +35,7 @@
this.lastX = this.locX();
this.lastY = this.locY();
@@ -103,9 +111,11 @@
@@ -108,9 +116,11 @@
}
}
@@ -45,9 +45,9 @@
}
+ // CraftBukkit end */
this.impulse |= this.aG();
this.impulse |= this.aJ();
if (!this.world.isClientSide) {
@@ -117,6 +127,12 @@
@@ -122,6 +132,12 @@
}
if (!this.world.isClientSide && this.age >= 6000) {
@@ -60,7 +60,7 @@
this.die();
}
@@ -192,10 +208,11 @@
@@ -197,10 +213,11 @@
private static void a(EntityItem entityitem, ItemStack itemstack, ItemStack itemstack1) {
ItemStack itemstack2 = a(itemstack, itemstack1, 64);
@@ -73,7 +73,7 @@
a(entityitem, itemstack, itemstack1);
entityitem.pickupDelay = Math.max(entityitem.pickupDelay, entityitem1.pickupDelay);
entityitem.age = Math.min(entityitem.age, entityitem1.age);
@@ -219,6 +236,11 @@
@@ -224,6 +241,11 @@
} else if (!this.getItemStack().getItem().a(damagesource)) {
return false;
} else {
@@ -85,7 +85,7 @@
this.velocityChanged();
this.f = (int) ((float) this.f - f);
if (this.f <= 0) {
@@ -280,6 +302,40 @@
@@ -285,6 +307,40 @@
Item item = itemstack.getItem();
int i = itemstack.getCount();
@@ -126,7 +126,7 @@
if (this.pickupDelay == 0 && (this.owner == null || this.owner.equals(entityhuman.getUniqueID())) && entityhuman.inventory.pickup(itemstack)) {
entityhuman.receive(this, i);
if (itemstack.isEmpty()) {
@@ -323,7 +379,9 @@
@@ -328,7 +384,9 @@
}
public void setItemStack(ItemStack itemstack) {