Update to Minecraft 1.16.1

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2020-06-25 10:00:00 +10:00
parent 3862d2811e
commit 50503fd516
424 changed files with 5960 additions and 5636 deletions

View File

@@ -16,21 +16,21 @@
+ }
+ entityliving = getGoalTarget();
+ // CraftBukkit end
AttributeInstance attributeinstance = this.getAttributeInstance(GenericAttributes.MOVEMENT_SPEED);
AttributeModifiable attributemodifiable = this.getAttributeInstance(GenericAttributes.MOVEMENT_SPEED);
if (entityliving == null) {
@@ -67,6 +77,7 @@
attributeinstance.addModifier(EntityEnderman.c);
attributemodifiable.b(EntityEnderman.c);
}
}
+ return true;
}
@@ -323,8 +334,12 @@
@@ -360,8 +371,12 @@
boolean flag = movingobjectpositionblock.getBlockPosition().equals(blockposition);
if (block.a(TagsBlock.ENDERMAN_HOLDABLE) && flag) {
if (block.a((Tag) TagsBlock.ENDERMAN_HOLDABLE) && flag) {
- this.enderman.setCarried(iblockdata);
- world.a(blockposition, false);
+ // CraftBukkit start - Pickup event
@@ -42,7 +42,7 @@
}
}
@@ -357,8 +372,12 @@
@@ -394,8 +409,12 @@
IBlockData iblockdata2 = this.a.getCarried();
if (iblockdata2 != null && this.a(world, blockposition, iblockdata2, iblockdata, iblockdata1, blockposition1)) {