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

    • 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:max_damage=2,minecraft:damage=1,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

      Notes:

      Related closely to MC-269701 MC-269687 MC-91006

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: