Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
Set baby if armor stand is small for OptionalPack (#3210)
Dieser Commit ist enthalten in:
Ursprung
8b57a7c691
Commit
50ea5eac9a
@ -167,6 +167,7 @@ public class ArmorStandEntity extends LivingEntity {
|
|||||||
// But if given a resource pack, then we can use these values to control armor stand visual properties
|
// But if given a resource pack, then we can use these values to control armor stand visual properties
|
||||||
setFlag(EntityFlag.ANGRY, (xd & 0x04) != 0x04); // Has arms
|
setFlag(EntityFlag.ANGRY, (xd & 0x04) != 0x04); // Has arms
|
||||||
setFlag(EntityFlag.ADMIRING, (xd & 0x08) == 0x08); // Has no baseplate
|
setFlag(EntityFlag.ADMIRING, (xd & 0x08) == 0x08); // Has no baseplate
|
||||||
|
setFlag(EntityFlag.BABY, isSmall); // Is small (for setting head scale)
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setHeadRotation(EntityMetadata<Vector3f, ?> entityMetadata) {
|
public void setHeadRotation(EntityMetadata<Vector3f, ?> entityMetadata) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren