Fixed Moa Health
This commit is contained in:
parent
28336ccf92
commit
90dce0cbd2
|
@ -91,6 +91,7 @@ public class EntityMoa extends EntitySaddleMount {
|
|||
super.applyEntityAttributes();
|
||||
|
||||
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(1.0D);
|
||||
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(35.0D);
|
||||
}
|
||||
|
||||
public boolean isSitting() {
|
||||
|
@ -139,6 +140,7 @@ public class EntityMoa extends EntitySaddleMount {
|
|||
return (int) this.dataWatcher.getWatchableObjectByte(21);
|
||||
}
|
||||
|
||||
|
||||
public void setRemainingJumps(int jumps) {
|
||||
this.dataWatcher.updateObject(21, (byte) jumps);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue