mojira.dev
MC-313764

Summoning and updating an item frame Facing data on the same tick shifts the render on client-side

Issue description

When you summon an item frame and update its Facing data on the same tick, it becomes offset on the client-side. You need to leave and join your world again to see it positioned correctly. This offset issue happens both if you’re trying to set it on the ground (Facing 1b) or on a side (Facing 2, 3, 4 or 5b).

How to reproduce

  1. Stand on a block (preferably a glass block so you can see through it) and run the command:

/execute summon item_frame run data modify entity @s Facing set value 1b
  1. Notice that the summoned item frame has a 1-block offset below the expected location.

  2. Leave and join your world again. You will see the item frame is now positioned correctly.

What should happen

When you update the Facing data one tick or more after it has been summoned, the position of the item frame updates correctly. Doing it on its first tick of existence should work as well.

Attachments

Comments 1

KawaMood

(Unassigned)

Unconfirmed

26.3

Retrieved