-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.8.6, Minecraft 1.9, Minecraft 1.12.2, Minecraft 17w48a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w08b, Minecraft 18w09a, Minecraft 18w10a, Minecraft 18w14a, Minecraft 18w20b, Minecraft 1.13-pre1, Minecraft 1.13-pre4, Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 18w31a, 1.14.4, 19w37a, 1.15.2, 20w06a, 20w13b, 1.16.1, 1.17, 1.17.1, 1.18.2, 22w13a, 1.19.2, 1.20.1, 1.20.2 Pre-Release 4
-
Confirmed
-
Commands
-
Low
-
Platform
Maybe cause for:
The bug
When a tag in the Pose tag of an armor stand contains the default values, it gets removed. This might be useful for saving the NBT data, but this way it is impossible to use NBT comparison to test if one of the tags in Pose has the default values.
How to reproduce
- Place an armor stand
- Run this command:
/data get entity @e[type=armor_stand,limit=1] Pose Result: Pose:{ Head:[ 0:2.8267171f, 1:-5.086746f, 2:0.0f ], Body:[ 0:0.0f, 1:1.7570348f, 2:0.0f ] }
- Run this command:
/data merge entity @e[type=armor_stand,limit=1] {Pose:{Body:[0f,0f,0f]}} Result: Pose:{ Head:[ 0:0.702278f, 1:1.4992895f, 2:0.0f ] }
Default values (1.9)
- Head: 0.0f, 0.0f, 0.0f
- Body: 0.0f, 0.0f, 0.0f
- LeftArm: -10.0f, 0.0f, -10.0f
- RightArm: -15.0f, 0.0f, 10.0f
- LeftLeg: -1.0f, 0.0f, -1.0f
- RightLeg: 1.0f, 0.0f, 1.0f
- is duplicated by
-
MC-80974 ArmorStand has missing pose entries
- Resolved
-
MC-123213 Armor stand's nbt: Head Pose is ignored when its Head Pose data is [0.0f,0.0f,0.0f]
- Resolved
-
MC-132845 Some nbt set to default values disappear immediately
- Resolved
-
MC-265398 The data like Pose.Head might unexpectedly be invalid
- Resolved
- relates to
-
MC-80973 Placed ArmorStand has always predetermined pose
- Resolved
-
MC-87252 Optional tags gets removed when set to false/0/empty
- Reopened