diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2013-03-13 17:33:27 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2013-03-15 13:28:59 -0500 |
commit | 83d29e461c85733f0113b6eb19db6e3b42da2949 (patch) | |
tree | b3063a1c28f478ab368d5ba3413a842def68c28f /src/main/java/net/minecraft/server/EntityPigZombie.java | |
parent | ba6e4c38cfa98ad291974195cc46d70a4f138ac1 (diff) | |
download | craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.gz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.lz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.xz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.zip |
Update CraftBukkit to Minecraft 1.5
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityPigZombie.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityPigZombie.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/main/java/net/minecraft/server/EntityPigZombie.java b/src/main/java/net/minecraft/server/EntityPigZombie.java index 3a07b622..b6262158 100644 --- a/src/main/java/net/minecraft/server/EntityPigZombie.java +++ b/src/main/java/net/minecraft/server/EntityPigZombie.java @@ -15,21 +15,21 @@ public class EntityPigZombie extends EntityZombie { public EntityPigZombie(World world) { super(world); this.texture = "/mob/pigzombie.png"; - this.bH = 0.5F; + this.bI = 0.5F; this.fireProof = true; } - protected boolean be() { + protected boolean bh() { return false; } - public void j_() { - this.bH = this.target != null ? 0.95F : 0.5F; + public void l_() { + this.bI = this.target != null ? 0.95F : 0.5F; if (this.soundDelay > 0 && --this.soundDelay == 0) { - this.makeSound("mob.zombiepig.zpigangry", this.aX() * 2.0F, ((this.random.nextFloat() - this.random.nextFloat()) * 0.2F + 1.0F) * 1.8F); + this.makeSound("mob.zombiepig.zpigangry", this.ba() * 2.0F, ((this.random.nextFloat() - this.random.nextFloat()) * 0.2F + 1.0F) * 1.8F); } - super.j_(); + super.l_(); } public boolean canSpawn() { @@ -99,15 +99,15 @@ public class EntityPigZombie extends EntityZombie { this.soundDelay = this.random.nextInt(40); } - protected String aY() { + protected String bb() { return "mob.zombiepig.zpig"; } - protected String aZ() { + protected String bc() { return "mob.zombiepig.zpighurt"; } - protected String ba() { + protected String bd() { return "mob.zombiepig.zpigdeath"; } @@ -142,7 +142,7 @@ public class EntityPigZombie extends EntityZombie { // CraftBukkit end } - public boolean a(EntityHuman entityhuman) { + public boolean a_(EntityHuman entityhuman) { return false; } @@ -155,17 +155,17 @@ public class EntityPigZombie extends EntityZombie { return Item.ROTTEN_FLESH.id; } - protected void bE() { + protected void bH() { this.setEquipment(0, new ItemStack(Item.GOLD_SWORD)); } - public void bG() { - super.bG(); + public void bJ() { + super.bJ(); this.setVillager(false); } public int c(Entity entity) { - ItemStack itemstack = this.bD(); + ItemStack itemstack = this.bG(); int i = 5; if (itemstack != null) { |