public void onLivingUpdate() { super.onLivingUpdate(); if (isInWater()) { // randomMotionSpeed = 2.0F; } }
protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50.0D); this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(1.0D); }
public void onUpdate() { super.onUpdate(); }