mojira.dev
MC-272027

Paintings created by custom items don't maintain their variant data when broken.

When a painting is created via an item with specific Variant data (i.e; the special specific-painting items found in the Creative menu), it does not maintain its custom Variant data when broken; instead, all paintings drop a generic Painting item regardless of how they were created.

This becomes an issue when trying to leverage custom paintings in data packs; for example, if I wanted to add a custom painting variant as loot exclusive to dungeon chests, it would be rendered completely pointless since the item will revert to a generic painting as soon as the player places & breaks it again.

Either of these two solutions would help solve this issue:
A: Make paintings maintain any custom variant data when placed & broken again.
or B: Add variant-dependent loot tables to paintings. This would probably be the more complicated method, but would make paintings far more consistent with other placeable entities like armor stands.

Linked issues

Comments

[Mod] Jingy

Would MC-269740 describe your issue?

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-269740, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

migrated

(Unassigned)

Unconfirmed

(Unassigned)

24w19b

Retrieved