diff options
author | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2013-07-01 06:03:00 -0500 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2013-07-01 12:10:06 -0500 |
commit | 6c09066e224ac85b8a6464eaf8f53edfeb4beda4 (patch) | |
tree | 573e05f4b148cb1891a1d3839175e501e6257442 /src/main/java/net/minecraft/server/EntityMagmaCube.java | |
parent | f887b76a259e12468b28d82d1eced93f0b73bd6d (diff) | |
download | craftbukkit-6c09066e224ac85b8a6464eaf8f53edfeb4beda4.tar craftbukkit-6c09066e224ac85b8a6464eaf8f53edfeb4beda4.tar.gz craftbukkit-6c09066e224ac85b8a6464eaf8f53edfeb4beda4.tar.lz craftbukkit-6c09066e224ac85b8a6464eaf8f53edfeb4beda4.tar.xz craftbukkit-6c09066e224ac85b8a6464eaf8f53edfeb4beda4.zip |
Update CraftBukkit to 1.6.1
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityMagmaCube.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityMagmaCube.java | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/src/main/java/net/minecraft/server/EntityMagmaCube.java b/src/main/java/net/minecraft/server/EntityMagmaCube.java index 40066247..3f9dd6a0 100644 --- a/src/main/java/net/minecraft/server/EntityMagmaCube.java +++ b/src/main/java/net/minecraft/server/EntityMagmaCube.java @@ -4,28 +4,31 @@ public class EntityMagmaCube extends EntitySlime { public EntityMagmaCube(World world) { super(world); - this.texture = "/mob/lava.png"; this.fireProof = true; - this.aO = 0.2F; + } + + protected void ax() { + super.ax(); + this.a(GenericAttributes.d).a(0.20000000298023224D); } 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 aZ() { + public int aM() { return this.getSize() * 3; } - public float c(float f) { + public float d(float f) { return 1.0F; } - protected String h() { + protected String bF() { return "flame"; } - protected EntitySlime i() { + protected EntitySlime bG() { return new EntityMagmaCube(this.world); } @@ -58,38 +61,38 @@ public class EntityMagmaCube extends EntitySlime { return false; } - protected int j() { - return super.j() * 4; + protected int bH() { + return super.bH() * 4; } - protected void k() { - this.b *= 0.9F; + protected void bI() { + this.h *= 0.9F; } - protected void bl() { + protected void ba() { this.motY = (double) (0.42F + (float) this.getSize() * 0.1F); this.an = true; } - protected void a(float f) {} + protected void b(float f) {} - protected boolean l() { + protected boolean bJ() { return true; } - protected int m() { - return super.m() + 2; + protected int bK() { + return super.bK() + 2; } - protected String bc() { + protected String aK() { return "mob.slime." + (this.getSize() > 1 ? "big" : "small"); } - protected String bd() { + protected String aL() { return "mob.slime." + (this.getSize() > 1 ? "big" : "small"); } - protected String n() { + protected String bL() { return this.getSize() > 1 ? "mob.magmacube.big" : "mob.magmacube.small"; } @@ -97,7 +100,7 @@ public class EntityMagmaCube extends EntitySlime { return false; } - protected boolean o() { + protected boolean bM() { return true; } } |