mojira.dev
MC-269596

EntityTag of existing items is not upgraded to entity_data component

I tried to place an invisible item frame from the saved toolbars, but it is not invisible.

The Invisible Item Frames from the Saved Toolbars work when placed in 1.20.4 but in 24w11a they aren't invisible.

Steps to Reproduce:

  1. Go into a 1.20.4 world.

  2. Give yourself an invisible item frame in your inventory:

    /give @s item_frame{EntityTag:{Invisible:1}}
  3. Place the Item Frames, as you can see, they are invisible.

  4. Join the same world in 24w11a.

  5. If you try to place item frames with the same item from 1.20.4, it isn't invisible.

But if you do

/give @s minecraft:item_frame{EntityTag:{Invisible:1,id:item_frame}}

on 1.20.4 Instead it will be invisible.

Expected Behavior: The item frames should be invisible when placed with the item.

Linked issues

Comments 4

Please provide the command used to get the item frame, as NBT formatting has changed in the recent snapshots. The item's old NBT likely doesn't work in the new format.

/give @s item_frame{EntityTag:{Invisible:1}} on 1.20.4

Still not fixed in 24w12a

I discovered that if you do /give @s minecraft:item_frame{EntityTag:{Invisible:1,id:item_frame}} on 1.20.4 instead, the item frames will actually be invisible when upgrading to 24w13a but if you do /give @s item_frame{EntityTag:{Invisible:1}} it will not be invisible when upgrading even though "/give @s item_frame{EntityTag:{Invisible:1}}" gets you an invisible item frame on 1.20.4

axes1234

gegy

Confirmed

Platform

Important

Datafixer

24w11a, 24w12a, 24w13a

24w14a

Retrieved