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

Item frames and paintings lose components when placed then broken in the world

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 24w12a, 24w19b, 1.21, 1.21.3, 24w45a
    • Confirmed
    • Commands, Entities, Items

      Item frames will lose their set components when placed down into the world, resulting in the item reverting back to a regular item frame, which cannot stack with the item stack it was placed by. This notably affects the Invisible entity data component which changes the item frames placement state.

      Steps to Reproduce:

      1. Get the following item, which includes numerous components
        /give @p minecraft:item_frame[minecraft:entity_data={Invisible:1b,id:'minecraft:item_frame'},minecraft:max_stack_size=99,minecraft:custom_name='Name'] 99
        
      2. (Optional) Put your selected hotbar over the item, get its data
        /data get entity @p SelectedItem
        
      3. Place the item frame down
      4. Pick it back up
        The components are lost, and the item frame becomes a regular item frame
        The item frame would retain its components, allowing it to be picked back up and stack with the same item stack it came from.

      Screenshots/Videos:

      ItemFrameComponentsLost.mp4

            Unassigned Unassigned
            Jingy [Mod] Jiingy
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: