Fixed entity health

This commit is contained in:
Kino 2018-12-30 00:44:33 -05:00
parent a33ccd7b15
commit aa5e21c9e4
3 changed files with 0 additions and 3 deletions

View file

@ -42,7 +42,6 @@ public class EntityCockatrice extends EntityMob {
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(10D);
this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(35.0D);
this.setHealth(10);
}

View file

@ -48,7 +48,6 @@ public class EntitySentry extends EntityLiving implements IMob {
protected void applyEntityAttributes() {
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(10.0D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(1.0D);
}

View file

@ -90,7 +90,6 @@ public class EntityMoa extends EntitySaddleMount {
protected void applyEntityAttributes() {
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(10.0D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(1.0D);
}