diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityMushroomCow.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityMushroomCow.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/EntityMushroomCow.java b/src/main/java/net/minecraft/server/EntityMushroomCow.java index 3f22c9fc..abf7d270 100644 --- a/src/main/java/net/minecraft/server/EntityMushroomCow.java +++ b/src/main/java/net/minecraft/server/EntityMushroomCow.java @@ -6,11 +6,10 @@ public class EntityMushroomCow extends EntityCow { public EntityMushroomCow(World world) { super(world); - this.texture = "/mob/redcow.png"; this.a(0.9F, 1.3F); } - public boolean a_(EntityHuman entityhuman) { + public boolean a(EntityHuman entityhuman) { ItemStack itemstack = entityhuman.inventory.getItemInHand(); if (itemstack != null && itemstack.id == Item.BOWL.id && this.getAge() >= 0) { @@ -42,7 +41,7 @@ public class EntityMushroomCow extends EntityCow { entitycow.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, this.pitch); entitycow.setHealth(this.getHealth()); - entitycow.ay = this.ay; + entitycow.aN = this.aN; this.world.addEntity(entitycow); for (int i = 0; i < 5; ++i) { @@ -52,7 +51,7 @@ public class EntityMushroomCow extends EntityCow { return true; } else { - return super.a_(entityhuman); + return super.a(entityhuman); } } |