@@ -1,19 +1,5 @@
|
||||
--- a/net/minecraft/world/entity/animal/EntityOcelot.java
|
||||
+++ b/net/minecraft/world/entity/animal/EntityOcelot.java
|
||||
@@ -68,11 +68,11 @@
|
||||
this.t();
|
||||
}
|
||||
|
||||
- boolean isTrusting() {
|
||||
+ public boolean isTrusting() {
|
||||
return (Boolean) this.entityData.get(EntityOcelot.DATA_TRUSTING);
|
||||
}
|
||||
|
||||
- private void setTrusting(boolean flag) {
|
||||
+ public void setTrusting(boolean flag) {
|
||||
this.entityData.set(EntityOcelot.DATA_TRUSTING, flag);
|
||||
this.t();
|
||||
}
|
||||
@@ -133,7 +133,7 @@
|
||||
|
||||
@Override
|
||||
@@ -24,7 +10,7 @@
|
||||
|
||||
public static AttributeProvider.Builder p() {
|
||||
@@ -182,7 +182,8 @@
|
||||
if ((this.temptGoal == null || this.temptGoal.h()) && !this.isTrusting() && this.n(itemstack) && entityhuman.f((Entity) this) < 9.0D) {
|
||||
if ((this.temptGoal == null || this.temptGoal.h()) && !this.isTrusting() && this.isBreedItem(itemstack) && entityhuman.f((Entity) this) < 9.0D) {
|
||||
this.a(entityhuman, enumhand, itemstack);
|
||||
if (!this.level.isClientSide) {
|
||||
- if (this.random.nextInt(3) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user