From 83d29e461c85733f0113b6eb19db6e3b42da2949 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Wed, 13 Mar 2013 17:33:27 -0500 Subject: Update CraftBukkit to Minecraft 1.5 --- src/main/java/net/minecraft/server/EntityPig.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/main/java/net/minecraft/server/EntityPig.java') diff --git a/src/main/java/net/minecraft/server/EntityPig.java b/src/main/java/net/minecraft/server/EntityPig.java index c1ee3638..e9fe7cff 100644 --- a/src/main/java/net/minecraft/server/EntityPig.java +++ b/src/main/java/net/minecraft/server/EntityPig.java @@ -25,7 +25,7 @@ public class EntityPig extends EntityAnimal { this.goalSelector.a(8, new PathfinderGoalRandomLookaround(this)); } - public boolean be() { + public boolean bh() { return true; } @@ -33,12 +33,12 @@ public class EntityPig extends EntityAnimal { return 10; } - protected void bl() { - super.bl(); + protected void bo() { + super.bo(); } - public boolean bI() { - ItemStack itemstack = ((EntityHuman) this.passenger).bD(); + public boolean bL() { + ItemStack itemstack = ((EntityHuman) this.passenger).bG(); return itemstack != null && itemstack.id == Item.CARROT_STICK.id; } @@ -58,15 +58,15 @@ public class EntityPig extends EntityAnimal { this.setSaddle(nbttagcompound.getBoolean("Saddle")); } - protected String aY() { + protected String bb() { return "mob.pig.say"; } - protected String aZ() { + protected String bc() { return "mob.pig.say"; } - protected String ba() { + protected String bd() { return "mob.pig.death"; } @@ -74,8 +74,8 @@ public class EntityPig extends EntityAnimal { this.makeSound("mob.pig.step", 0.15F, 1.0F); } - public boolean a(EntityHuman entityhuman) { - if (super.a(entityhuman)) { + public boolean a_(EntityHuman entityhuman) { + if (super.a_(entityhuman)) { return true; } else if (this.hasSaddle() && !this.world.isStatic && (this.passenger == null || this.passenger == entityhuman)) { entityhuman.mount(this); -- cgit v1.2.3