diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-01-29 22:50:29 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-01-30 13:24:39 +0100 |
commit | df69047324abc54f5d5b8d069bb69b1061b20cce (patch) | |
tree | 76f8d13addf80730deea9285f4bd9a1ffbe45f80 /src/main/java/net/minecraft/server/EntityGiantZombie.java | |
parent | d0cd8c6cc7d1aaf38934996e7e5d3e03272e4ff1 (diff) | |
download | craftbukkit-df69047324abc54f5d5b8d069bb69b1061b20cce.tar craftbukkit-df69047324abc54f5d5b8d069bb69b1061b20cce.tar.gz craftbukkit-df69047324abc54f5d5b8d069bb69b1061b20cce.tar.lz craftbukkit-df69047324abc54f5d5b8d069bb69b1061b20cce.tar.xz craftbukkit-df69047324abc54f5d5b8d069bb69b1061b20cce.zip |
Port to new mc-dev format.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityGiantZombie.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityGiantZombie.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityGiantZombie.java b/src/main/java/net/minecraft/server/EntityGiantZombie.java new file mode 100644 index 00000000..5eaf8730 --- /dev/null +++ b/src/main/java/net/minecraft/server/EntityGiantZombie.java @@ -0,0 +1,28 @@ +package net.minecraft.server; + +// CraftBukkit start +import org.bukkit.craftbukkit.CraftServer; +import org.bukkit.craftbukkit.entity.CraftGiant; +// CraftBukkit stop + +public class EntityGiantZombie extends EntityMonster { + + public EntityGiantZombie(World world) { + super(world); + this.texture = "/mob/zombie.png"; + this.bC = 0.5F; + this.c = 50; + this.health *= 10; + this.height *= 6.0F; + this.a(this.length * 6.0F, this.width * 6.0F); + + // CraftBukkit start + CraftServer server = ((WorldServer) this.world).getServer(); + this.bukkitEntity = new CraftGiant(server, this); + // CraftBukkit end + } + + protected float a(int i, int j, int k) { + return this.world.l(i, j, k) - 0.5F; + } +} |