diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-03-01 10:49:23 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-03-01 14:38:31 +0000 |
commit | 543c4879fee3b7165764c5371d226c93fe3a657b (patch) | |
tree | 4fe9116464e1fe42a40dc3ba19b58234bd26f821 /src/main/java/net/minecraft/server/EntityMagmaCube.java | |
parent | e9ca87000c1794715bc3fe0a7d1caaf809057635 (diff) | |
download | craftbukkit-543c4879fee3b7165764c5371d226c93fe3a657b.tar craftbukkit-543c4879fee3b7165764c5371d226c93fe3a657b.tar.gz craftbukkit-543c4879fee3b7165764c5371d226c93fe3a657b.tar.lz craftbukkit-543c4879fee3b7165764c5371d226c93fe3a657b.tar.xz craftbukkit-543c4879fee3b7165764c5371d226c93fe3a657b.zip |
Updated CraftBukkit to 1.2
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityMagmaCube.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityMagmaCube.java | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/main/java/net/minecraft/server/EntityMagmaCube.java b/src/main/java/net/minecraft/server/EntityMagmaCube.java index 06183ac3..72234518 100644 --- a/src/main/java/net/minecraft/server/EntityMagmaCube.java +++ b/src/main/java/net/minecraft/server/EntityMagmaCube.java @@ -16,19 +16,19 @@ public class EntityMagmaCube extends EntitySlime { return this.world.difficulty > 0 && this.world.containsEntity(this.boundingBox) && this.world.getCubes(this, this.boundingBox).size() == 0 && !this.world.containsLiquid(this.boundingBox); } - public int P() { + public int S() { return this.getSize() * 3; } - public float a(float f) { + public float b(float f) { return 1.0F; } - protected String v() { + protected String A() { return "flame"; } - protected EntitySlime z() { + protected EntitySlime D() { return new EntityMagmaCube(this.world); } @@ -59,46 +59,46 @@ public class EntityMagmaCube extends EntitySlime { return false; } - protected int B() { - return super.B() * 4; + protected int E() { + return super.E() * 4; } - protected void C() { + protected void F() { this.a *= 0.9F; } - protected void o_() { + protected void ab() { this.motY = (double) (0.42F + (float) this.getSize() * 0.1F); this.ce = true; } - protected void b(float f) {} + protected void a(float f) {} - protected boolean D() { + protected boolean G() { return true; } - protected int E() { - return super.E() + 2; + protected int H() { + return super.H() + 2; } - protected String m() { + protected String j() { return "mob.slime"; } - protected String n() { + protected String k() { return "mob.slime"; } - protected String F() { + protected String J() { return this.getSize() > 1 ? "mob.magmacube.big" : "mob.magmacube.small"; } - public boolean aL() { + public boolean aU() { return false; } - protected boolean H() { + protected boolean K() { return true; } } |