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,14 +1,14 @@
--- a/net/minecraft/server/EntityBat.java
+++ b/net/minecraft/server/EntityBat.java
@@ -3,6 +3,7 @@
import java.time.LocalDate;
@@ -4,6 +4,7 @@
import java.time.temporal.ChronoField;
import java.util.Random;
import javax.annotation.Nullable;
+import org.bukkit.craftbukkit.event.CraftEventFactory; // CraftBukkit
public class EntityBat extends EntityAmbient {
@@ -104,12 +105,20 @@
@@ -105,12 +106,20 @@
}
if (this.world.a(EntityBat.c, (EntityLiving) this) != null) {
@@ -32,7 +32,7 @@
}
} else {
if (this.d != null && (!this.world.isEmpty(this.d) || this.d.getY() < 1)) {
@@ -133,7 +142,11 @@
@@ -134,7 +143,11 @@
this.bd = 0.5F;
this.yaw += f1;
if (this.random.nextInt(100) == 0 && this.world.getType(blockposition1).isOccluding(this.world, blockposition1)) {
@@ -45,7 +45,7 @@
}
}
@@ -161,7 +174,11 @@
@@ -162,7 +175,11 @@
return false;
} else {
if (!this.world.isClientSide && this.isAsleep()) {