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