3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 00:00:41 +01:00

Merge pull request #1 from TypicalShavonne/master

Set baby if armor stand is small for OptionalPack (#3210)
Dieser Commit ist enthalten in:
Typical 2022-08-11 14:40:00 +07:00 committet von GitHub
Commit fd4f683d15
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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
setFlag(EntityFlag.ANGRY, (xd & 0x04) != 0x04); // Has arms
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) {