diff options
author | feildmaster <admin@feildmaster.com> | 2012-07-29 02:33:13 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2012-08-02 04:58:50 -0500 |
commit | a43d621c0138110d2ec362b2eaa8f938f241bb49 (patch) | |
tree | d2ebc0d7a4a969d3257b1b958236428a24117eb1 /src/main/java/net/minecraft/server/EntityMagmaCube.java | |
parent | 08e2923bd4282579ca0cf7af0e6207cba0591e5c (diff) | |
download | craftbukkit-a43d621c0138110d2ec362b2eaa8f938f241bb49.tar craftbukkit-a43d621c0138110d2ec362b2eaa8f938f241bb49.tar.gz craftbukkit-a43d621c0138110d2ec362b2eaa8f938f241bb49.tar.lz craftbukkit-a43d621c0138110d2ec362b2eaa8f938f241bb49.tar.xz craftbukkit-a43d621c0138110d2ec362b2eaa8f938f241bb49.zip |
Update CraftBukkit to Minecraft 1.3.1
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityMagmaCube.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityMagmaCube.java | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/main/java/net/minecraft/server/EntityMagmaCube.java b/src/main/java/net/minecraft/server/EntityMagmaCube.java index cbfd6ad1..8bccfaa4 100644 --- a/src/main/java/net/minecraft/server/EntityMagmaCube.java +++ b/src/main/java/net/minecraft/server/EntityMagmaCube.java @@ -6,26 +6,26 @@ public class EntityMagmaCube extends EntitySlime { super(world); this.texture = "/mob/lava.png"; this.fireProof = true; - this.al = 0.2F; + this.aG = 0.2F; } public boolean canSpawn() { - return this.world.difficulty > 0 && this.world.containsEntity(this.boundingBox) && this.world.getCubes(this, this.boundingBox).size() == 0 && !this.world.containsLiquid(this.boundingBox); + return this.world.difficulty > 0 && this.world.b(this.boundingBox) && this.world.getCubes(this, this.boundingBox).isEmpty() && !this.world.containsLiquid(this.boundingBox); } - public int T() { + public int aO() { return this.getSize() * 3; } - public float b(float f) { + public float c(float f) { return 1.0F; } - protected String A() { + protected String i() { return "flame"; } - protected EntitySlime C() { + protected EntitySlime j() { return new EntityMagmaCube(this.world); } @@ -58,46 +58,46 @@ public class EntityMagmaCube extends EntitySlime { return false; } - protected int E() { - return super.E() * 4; + protected int k() { + return super.k() * 4; } - protected void F() { + protected void l() { this.a *= 0.9F; } - protected void ac() { + protected void aZ() { this.motY = (double) (0.42F + (float) this.getSize() * 0.1F); - this.ce = true; + this.al = true; } protected void a(float f) {} - protected boolean G() { + protected boolean m() { return true; } - protected int H() { - return super.H() + 2; + protected int n() { + return super.n() + 2; } - protected String j() { + protected String aR() { return "mob.slime"; } - protected String k() { + protected String aS() { return "mob.slime"; } - protected String I() { + protected String o() { return this.getSize() > 1 ? "mob.magmacube.big" : "mob.magmacube.small"; } - public boolean aV() { + public boolean J() { return false; } - protected boolean K() { + protected boolean p() { return true; } } |