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

Changing an item frame's "Facing" NBT tag misaligns it's hitbox

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.17.1
    • None
    • Unconfirmed
    • (Unassigned)

      If you use the /data command to change an item frame's "facing" tag, the hitbox won't match with where the item frame actually is. The first time you run this command, it will teleport the item frame and hitbox ~1 block away from the original position, as seen in image 1. The position teleported depends on the original "facing" tag and the new value it changed to. If you update the item frame's position by having it teleport to it's current position (/tp ~ ~ ~), the item frame will go back to the original spot, and face the correct way, but the hitbox will face the original direction, as seen in images 2 and 3.

      Steps to reproduce:

      1. Press F3+B
      2. Place an item frame and rotate it using /execute as @e[type=item_frame] at @s run data modify entity @s Facing set value (1b-6b, choose a value that the item frame isnt already using).
      3. Run this command: /execute as @e[type=item_frame] at @s run tp @s ~ ~ ~

            Unassigned Unassigned
            epicgamer373 hi
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: