mojira.dev
MC-234034

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

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 ~ ~ ~

Linked issues

Attachments

Comments 1

Thank you for your report!
However, this issue is Invalid.

Problems related to modifying internal NBT tags during the lifetime of an entity are not considered bugs.
– @unknown's comment here in MC-66943.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

hi

(Unassigned)

Unconfirmed

(Unassigned)

1.17.1

Retrieved