3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 16:40:10 +01:00

Add armor stand entity id to ENTITY_DATA in 1.20.3->.5 (#3930)

Closes https://github.com/ViaVersion/ViaVersion/issues/3929
Dieser Commit ist enthalten in:
EnZaXD 2024-06-12 18:02:24 +02:00 committet von GitHub
Ursprung ae3042074e
Commit 01ea51e8ee
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -452,6 +452,8 @@ public final class BlockItemPacketRewriter1_20_5 extends ItemRewriter<Clientboun
entityTag = entityTag.copy(); entityTag = entityTag.copy();
if (entityTag.contains("variant")) { if (entityTag.contains("variant")) {
entityTag.putString("id", "minecraft:painting"); entityTag.putString("id", "minecraft:painting");
} else if (entityTag.contains("ShowArms")) {
entityTag.putString("id", "minecraft:armor_stand");
} }
data.set(StructuredDataKey.ENTITY_DATA, entityTag); data.set(StructuredDataKey.ENTITY_DATA, entityTag);
} }