Code update

This commit is contained in:
paulevsGitch 2021-11-30 12:52:10 +03:00
parent eca922058f
commit 5386d2e0f2
8 changed files with 61 additions and 63 deletions

View file

@ -129,10 +129,11 @@ public class EndFishEntity extends AbstractSchoolingFish {
}
public static AttributeSupplier.Builder createMobAttributes() {
return LivingEntity.createLivingAttributes()
.add(Attributes.MAX_HEALTH, 2.0)
.add(Attributes.FOLLOW_RANGE, 16.0)
.add(Attributes.MOVEMENT_SPEED, 0.75);
return LivingEntity
.createLivingAttributes()
.add(Attributes.MAX_HEALTH, 2.0)
.add(Attributes.FOLLOW_RANGE, 16.0)
.add(Attributes.MOVEMENT_SPEED, 0.75);
}
public int getVariant() {