Reduce the probability of enderstallions having horns

This commit is contained in:
Sollace 2018-08-17 15:38:10 +02:00
parent 09f8a99066
commit 9ffb62d335

View file

@ -34,7 +34,7 @@ public class ModelEnderStallion extends ModelSkeletonPony {
leftArmPose = rightArmPose;
isAlicorn = entity.getUniqueID().getLeastSignificantBits() % 3 == 0;
isBoss = !isAlicorn && entity.getUniqueID().getLeastSignificantBits() % 20 == 0;
isBoss = !isAlicorn && entity.getUniqueID().getLeastSignificantBits() % 90 == 0;
leftHorn.isHidden = rightHorn.isHidden = !isBoss;
horn.setVisible(!isBoss);