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/EntitySpider.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/EntitySpider.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntitySpider.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/main/java/net/minecraft/server/EntitySpider.java b/src/main/java/net/minecraft/server/EntitySpider.java index 9b466d49..7761d717 100644 --- a/src/main/java/net/minecraft/server/EntitySpider.java +++ b/src/main/java/net/minecraft/server/EntitySpider.java @@ -8,7 +8,7 @@ public class EntitySpider extends EntityMonster { super(world); this.texture = "/mob/spider.png"; this.a(1.4F, 0.9F); - this.bH = 0.8F; + this.bI = 0.8F; } protected void a() { @@ -16,10 +16,10 @@ public class EntitySpider extends EntityMonster { this.datawatcher.a(16, new Byte((byte) 0)); } - public void j_() { - super.j_(); + public void l_() { + super.l_(); if (!this.world.isStatic) { - this.f(this.positionChanged); + this.a(this.positionChanged); } } @@ -27,7 +27,7 @@ public class EntitySpider extends EntityMonster { return 16; } - public double X() { + public double W() { return (double) this.length * 0.75D - 0.5D; } @@ -43,15 +43,15 @@ public class EntitySpider extends EntityMonster { } } - protected String aY() { + protected String bb() { return "mob.spider.say"; } - protected String aZ() { + protected String bc() { return "mob.spider.say"; } - protected String ba() { + protected String bd() { return "mob.spider.death"; } @@ -123,7 +123,7 @@ public class EntitySpider extends EntityMonster { return this.o(); } - public void am() {} + public void al() {} public EnumMonsterType getMonsterType() { return EnumMonsterType.ARTHROPOD; @@ -137,7 +137,7 @@ public class EntitySpider extends EntityMonster { return (this.datawatcher.getByte(16) & 1) != 0; } - public void f(boolean flag) { + public void a(boolean flag) { byte b0 = this.datawatcher.getByte(16); if (flag) { @@ -149,12 +149,12 @@ public class EntitySpider extends EntityMonster { this.datawatcher.watch(16, Byte.valueOf(b0)); } - public void bG() { + public void bJ() { if (this.world.random.nextInt(100) == 0) { EntitySkeleton entityskeleton = new EntitySkeleton(this.world); entityskeleton.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, 0.0F); - entityskeleton.bG(); + entityskeleton.bJ(); this.world.addEntity(entityskeleton); entityskeleton.mount(this); } |