diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2012-10-24 22:53:23 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-10-27 22:19:03 -0400 |
commit | 60819c6693daf19dde68b04af38a4fee8c7da988 (patch) | |
tree | e7bd96a07f0e9d9f1f6b2721ddd1bb5dd71eaf48 /src/main/java/net/minecraft/server/EntityMagmaCube.java | |
parent | b9a72531b6e2ccc84bd021bca421255a957d96f7 (diff) | |
download | craftbukkit-60819c6693daf19dde68b04af38a4fee8c7da988.tar craftbukkit-60819c6693daf19dde68b04af38a4fee8c7da988.tar.gz craftbukkit-60819c6693daf19dde68b04af38a4fee8c7da988.tar.lz craftbukkit-60819c6693daf19dde68b04af38a4fee8c7da988.tar.xz craftbukkit-60819c6693daf19dde68b04af38a4fee8c7da988.zip |
Update CraftBukkit to Minecraft 1.4(.2).
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 8bccfaa4..5229383e 100644 --- a/src/main/java/net/minecraft/server/EntityMagmaCube.java +++ b/src/main/java/net/minecraft/server/EntityMagmaCube.java @@ -6,14 +6,14 @@ public class EntityMagmaCube extends EntitySlime { super(world); this.texture = "/mob/lava.png"; this.fireProof = true; - this.aG = 0.2F; + this.aM = 0.2F; } public boolean canSpawn() { return this.world.difficulty > 0 && this.world.b(this.boundingBox) && this.world.getCubes(this, this.boundingBox).isEmpty() && !this.world.containsLiquid(this.boundingBox); } - public int aO() { + public int aU() { return this.getSize() * 3; } @@ -21,11 +21,11 @@ public class EntityMagmaCube extends EntitySlime { return 1.0F; } - protected String i() { + protected String h() { return "flame"; } - protected EntitySlime j() { + protected EntitySlime i() { return new EntityMagmaCube(this.world); } @@ -58,38 +58,38 @@ public class EntityMagmaCube extends EntitySlime { return false; } - protected int k() { - return super.k() * 4; + protected int j() { + return super.j() * 4; } - protected void l() { - this.a *= 0.9F; + protected void k() { + this.b *= 0.9F; } - protected void aZ() { + protected void bf() { this.motY = (double) (0.42F + (float) this.getSize() * 0.1F); - this.al = true; + this.am = true; } protected void a(float f) {} - protected boolean m() { + protected boolean l() { return true; } - protected int n() { - return super.n() + 2; + protected int m() { + return super.m() + 2; } - protected String aR() { - return "mob.slime"; + protected String aX() { + return "mob.slime." + (this.getSize() > 1 ? "big" : "small"); } - protected String aS() { - return "mob.slime"; + protected String aY() { + return "mob.slime." + (this.getSize() > 1 ? "big" : "small"); } - protected String o() { + protected String n() { return this.getSize() > 1 ? "mob.magmacube.big" : "mob.magmacube.small"; } @@ -97,7 +97,7 @@ public class EntityMagmaCube extends EntitySlime { return false; } - protected boolean p() { + protected boolean o() { return true; } } |