mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Merge pull request #3228 from TypicalShavonne/feature/extensions
Set baby if armor stand is small for OptionalPack (GeyserMC#3210)
This commit is contained in:
commit
9412458f4a
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue