mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-30 07:57:59 +01:00
Reduce the probability of enderstallions having horns
This commit is contained in:
parent
09f8a99066
commit
9ffb62d335
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ public class ModelEnderStallion extends ModelSkeletonPony {
|
||||||
leftArmPose = rightArmPose;
|
leftArmPose = rightArmPose;
|
||||||
|
|
||||||
isAlicorn = entity.getUniqueID().getLeastSignificantBits() % 3 == 0;
|
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;
|
leftHorn.isHidden = rightHorn.isHidden = !isBoss;
|
||||||
horn.setVisible(!isBoss);
|
horn.setVisible(!isBoss);
|
||||||
|
|
Loading…
Reference in a new issue