mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 16:42:03 -07:00
@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/EntityOcelot.java
|
||||
+++ b/net/minecraft/server/EntityOcelot.java
|
||||
@@ -55,7 +55,7 @@
|
||||
@@ -57,7 +57,7 @@
|
||||
}
|
||||
|
||||
protected boolean isTypeNotPersistent() {
|
||||
@@ -9,7 +9,7 @@
|
||||
}
|
||||
|
||||
protected void initAttributes() {
|
||||
@@ -97,6 +97,9 @@
|
||||
@@ -103,6 +103,9 @@
|
||||
return entity.damageEntity(DamageSource.mobAttack(this), 3.0F);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
public boolean damageEntity(DamageSource damagesource, float f) {
|
||||
if (this.isInvulnerable(damagesource)) {
|
||||
return false;
|
||||
@@ -108,6 +111,7 @@
|
||||
@@ -114,6 +117,7 @@
|
||||
return super.damageEntity(damagesource, f);
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
@Nullable
|
||||
protected MinecraftKey J() {
|
||||
@@ -125,7 +129,8 @@
|
||||
@@ -131,7 +135,8 @@
|
||||
}
|
||||
|
||||
if (!this.world.isClientSide) {
|
||||
@@ -37,7 +37,7 @@
|
||||
this.setTamed(true);
|
||||
this.setCatType(1 + this.world.random.nextInt(3));
|
||||
this.setOwnerUUID(entityhuman.getUniqueID());
|
||||
@@ -234,7 +239,7 @@
|
||||
@@ -240,7 +245,7 @@
|
||||
|
||||
entityocelot.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, 0.0F);
|
||||
entityocelot.setAgeRaw(-24000);
|
||||
|
Reference in New Issue
Block a user