mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Update to Minecraft Server 1.2
This commit is contained in:
@@ -13,16 +13,16 @@ public class EntityZombie extends EntityMobs {
|
||||
|
||||
public EntityZombie(World world) {
|
||||
super(world);
|
||||
aQ = "/mob/zombie.png";
|
||||
bD = 0.5F;
|
||||
f = 5;
|
||||
aP = "/mob/zombie.png";
|
||||
bC = 0.5F;
|
||||
c = 5;
|
||||
}
|
||||
|
||||
public void G() {
|
||||
public void o() {
|
||||
if (l.b()) {
|
||||
float f1 = b(1.0F);
|
||||
|
||||
if (f1 > 0.5F && l.h(MathHelper.b(p), MathHelper.b(q), MathHelper.b(r)) && W.nextFloat() * 30F < (f1 - 0.4F) * 2.0F) {
|
||||
if (f1 > 0.5F && l.i(MathHelper.b(p), MathHelper.b(q), MathHelper.b(r)) && W.nextFloat() * 30F < (f1 - 0.4F) * 2.0F) {
|
||||
// CraftBukkit start
|
||||
CraftServer server = ((WorldServer) l).getServer();
|
||||
EntityCombustEvent event = new EntityCombustEvent(Type.ENTITY_COMBUST, new CraftLivingEntity(server, (EntityLiving) this));
|
||||
@@ -33,22 +33,22 @@ public class EntityZombie extends EntityMobs {
|
||||
// CraftBukkit end
|
||||
}
|
||||
}
|
||||
super.G();
|
||||
}
|
||||
|
||||
protected String d() {
|
||||
return "mob.zombie";
|
||||
super.o();
|
||||
}
|
||||
|
||||
protected String e() {
|
||||
return "mob.zombiehurt";
|
||||
return "mob.zombie";
|
||||
}
|
||||
|
||||
protected String f() {
|
||||
return "mob.zombiehurt";
|
||||
}
|
||||
|
||||
protected String g() {
|
||||
return "mob.zombiedeath";
|
||||
}
|
||||
|
||||
protected int g() {
|
||||
return Item.J.aW;
|
||||
protected int h() {
|
||||
return Item.J.ba;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user