summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityGiantZombie.java
blob: 5eaf87306b8b840ba696cb0458cfad868ac31517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
    }
}