mirror of
https://github.com/PaperMC/Paper.git
synced 2024-10-29 23:09:33 +01:00
28 lines
686 B
Java
28 lines
686 B
Java
package net.minecraft.server;
|
|
|
|
//CraftBukkit start
|
|
import org.bukkit.craftbukkit.CraftServer;
|
|
import org.bukkit.craftbukkit.entity.CraftGiant;
|
|
//CraftBukkit stop
|
|
|
|
public class EntityZombieSimple extends EntityMobs {
|
|
|
|
public EntityZombieSimple(World world) {
|
|
super(world);
|
|
aP = "/mob/zombie.png";
|
|
bC = 0.5F;
|
|
c = 50;
|
|
aZ *= 10;
|
|
H *= 6F;
|
|
a(I * 6F, J * 6F);
|
|
//CraftBukkit start
|
|
CraftServer server = ((WorldServer) this.l).getServer();
|
|
this.bukkitEntity = new CraftGiant(server, this);
|
|
//CraftBukkit end
|
|
}
|
|
|
|
protected float a(int i, int j, int k) {
|
|
return l.l(i, j, k) - 0.5F;
|
|
}
|
|
}
|