Fixed entity health
This commit is contained in:
parent
a33ccd7b15
commit
aa5e21c9e4
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue