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