Update to Minecraft 1.13-pre7

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-07-15 10:00:00 +10:00
parent d1e91a8adb
commit 7e0a66fdd5
608 changed files with 17788 additions and 9378 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/server/EntityOcelot.java
+++ b/net/minecraft/server/EntityOcelot.java
@@ -57,7 +57,7 @@
@@ -60,7 +60,7 @@
}
protected boolean isTypeNotPersistent() {
@@ -9,7 +9,7 @@
}
protected void initAttributes() {
@@ -108,7 +108,8 @@
@@ -107,7 +107,8 @@
return false;
} else {
if (this.goalSit != null) {
@@ -19,7 +19,7 @@
}
return super.damageEntity(damagesource, f);
@@ -133,7 +134,8 @@
@@ -132,7 +133,8 @@
}
if (!this.world.isClientSide) {
@@ -28,8 +28,8 @@
+ if (this.random.nextInt(3) == 0 && !org.bukkit.craftbukkit.event.CraftEventFactory.callEntityTameEvent(this, entityhuman).isCancelled()) {
this.c(entityhuman);
this.setCatType(1 + this.world.random.nextInt(3));
this.p(true);
@@ -237,7 +239,7 @@
this.s(true);
@@ -238,7 +240,7 @@
entityocelot.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, 0.0F);
entityocelot.setAgeRaw(-24000);