mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Update to Minecraft 1.13-pre7
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
+
|
||||
public abstract class EntityHanging extends Entity {
|
||||
|
||||
private static final Predicate<Entity> c = new Predicate() {
|
||||
@@ -41,43 +47,52 @@
|
||||
protected static final Predicate<Entity> a = (entity) -> {
|
||||
@@ -35,43 +41,52 @@
|
||||
this.updateBoundingBox();
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
return i % 32 == 0 ? 0.5D : 0.0D;
|
||||
}
|
||||
|
||||
@@ -88,6 +103,24 @@
|
||||
@@ -82,6 +97,24 @@
|
||||
if (this.d++ == 100 && !this.world.isClientSide) {
|
||||
this.d = 0;
|
||||
if (!this.dead && !this.survives()) {
|
||||
@@ -123,7 +123,7 @@
|
||||
this.die();
|
||||
this.a((Entity) null);
|
||||
}
|
||||
@@ -140,6 +173,21 @@
|
||||
@@ -134,6 +167,21 @@
|
||||
return false;
|
||||
} else {
|
||||
if (!this.dead && !this.world.isClientSide) {
|
||||
@@ -143,9 +143,9 @@
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
this.die();
|
||||
this.ax();
|
||||
this.aA();
|
||||
this.a(damagesource.getEntity());
|
||||
@@ -151,6 +199,18 @@
|
||||
@@ -145,6 +193,18 @@
|
||||
|
||||
public void move(EnumMoveType enummovetype, double d0, double d1, double d2) {
|
||||
if (!this.world.isClientSide && !this.dead && d0 * d0 + d1 * d1 + d2 * d2 > 0.0D) {
|
||||
@@ -164,7 +164,7 @@
|
||||
this.die();
|
||||
this.a((Entity) null);
|
||||
}
|
||||
@@ -158,7 +218,7 @@
|
||||
@@ -152,7 +212,7 @@
|
||||
}
|
||||
|
||||
public void f(double d0, double d1, double d2) {
|
||||
|
Reference in New Issue
Block a user