Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-123213

Armor stand's nbt: Head Pose is ignored when its Head Pose data is [0.0f,0.0f,0.0f]

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 17w50a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      When creating an armor stand:
      1./summon armor_stand ~ ~ ~ {Pose:{Head:[30.0f,0.0f,0.0f]}}
      And teleport its rotation:
      2./teleport @e[type=armor_stand] ~ ~ ~ 60 0

      it would summon an armor stand with Pose nbt.
      But if type this command:
      3./data merge entity @e[type=armor_stand,limit=1,sort=nearest] {Pose:{Head:[0.0f,0.0f,0.0f]}}

      Althought the armor stand would change its head rotation display to 0 0 0, we cannot type this command to change its head display to as the same as its rotation(the second command change its rotation) because the Pose nbt is gone:
      4./execute as @e[type=armor_stand] store result entity @s Pose.Head[0] float 0.1 run data get entity @s Rotation[1] 10

      The reason why it type Head[0] and Rotation[1] is due to the bug https://bugs.mojang.com/browse/MC-122057

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jellywayne jellywayne
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: