Update to Minecraft 1.14.3-pre4

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-06-21 20:00:00 +10:00
parent 0297d9de8a
commit a8155d2399
109 changed files with 660 additions and 622 deletions

View File

@@ -1,8 +1,8 @@
--- a/net/minecraft/server/EntitySlime.java
+++ b/net/minecraft/server/EntitySlime.java
@@ -2,6 +2,13 @@
@@ -3,6 +3,13 @@
import java.util.EnumSet;
import java.util.Random;
import javax.annotation.Nullable;
+// CraftBukkit start
+import java.util.ArrayList;
@@ -14,7 +14,7 @@
public class EntitySlime extends EntityInsentient implements IMonster {
@@ -138,7 +145,7 @@
@@ -139,7 +146,7 @@
@Override
public EntityTypes<? extends EntitySlime> getEntityType() {
@@ -23,7 +23,7 @@
}
@Override
@@ -148,6 +155,19 @@
@@ -149,6 +156,19 @@
if (!this.world.isClientSide && i > 1 && this.getHealth() <= 0.0F) {
int j = 2 + this.random.nextInt(3);
@@ -43,7 +43,7 @@
for (int k = 0; k < j; ++k) {
float f = ((float) (k % 2) - 0.5F) * (float) i / 4.0F;
float f1 = ((float) (k / 2) - 0.5F) * (float) i / 4.0F;
@@ -163,8 +183,18 @@
@@ -164,8 +184,18 @@
entityslime.setSize(i / 2, true);
entityslime.setPositionRotation(this.locX + (double) f, this.locY + 0.5D, this.locZ + (double) f1, this.random.nextFloat() * 360.0F, 0.0F);