mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Updated to Minecraft 1.1
This commit is contained in:
1 parent
dd5ef8725c
commit
7219d4dd85
82 files changed
+1472
-1687
No files matched your search
@@ -7,18 +7,27 @@ public class EntityZombie extends EntityMonster {
|
||||
public EntityZombie(World world) {
|
||||
super(world);
|
||||
this.texture = "/mob/zombie.png";
|
||||
this.aY = 0.5F;
|
||||
this.bb = 0.5F;
|
||||
this.damage = 4;
|
||||
this.goalSelector.a(1, new PathfinderGoalFloat(this));
|
||||
this.goalSelector.a(2, new PathfinderGoalMeleeAttack(this, world, 16.0F));
|
||||
this.goalSelector.a(3, new PathfinderGoalRandomStroll(this));
|
||||
this.goalSelector.a(4, new PathfinderGoalLookAtPlayer(this, world, 8.0F));
|
||||
this.goalSelector.a(4, new PathfinderGoalRandomLookaround(this));
|
||||
}
|
||||
|
||||
public int getMaxHealth() {
|
||||
return 20;
|
||||
}
|
||||
|
||||
protected int O() {
|
||||
public int P() {
|
||||
return 2;
|
||||
}
|
||||
|
||||
protected boolean as() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void d() {
|
||||
if (this.world.e() && !this.world.isStatic) {
|
||||
float f = this.a(1.0F);
|
||||
|
||||
Reference in new issue
Block a user