mojira.dev
MC-269740

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

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:

[media]

Related issues

Attachments

Comments

migrated
[media]
ampolive

Also affects paintings.

[Mod] Jingy

Would it be preferred to create a new ticket for paintings, or add it to this one?

BeeTeeKay

Affects 1.21

[Mojang] Triage Team

Thank you for your report!
After consideration, the issue is being closed as Invalid.

You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The official Minecraft feedback site or visit the Minecraft Feedback Discord server.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

[Mod] Jingy

(Unassigned)

Confirmed

Commands, Entities, Items

component, item_frame, lost-data

1.20.4, 24w12a, 24w19b, 1.21, 1.21.3, 24w45a

Retrieved