mojira.dev
MC-190519

Placed invisible item frames lose their NBT when broken

Placed Item Frames with Invisible NBT tag, lose their NBT when breaking it and picking it up back as an Item Frame.

To reproduce

  1. Run the command

    /give @s minecraft:item_frame{EntityTag:{Invisible:1b}} 2
  2. Place one of the item frames

  3. Break the invisible item frame
    → ❌ The item doesn't stack

Comments 4

I'm pretty sure the item does not retain any of the NBT of the item frame so it would not retain the potion effects either. Maybe edit your datapack to make item frames invulnerable.

You can give yourself invisible item frame items, thus it could also be expected that the entity drops the corresponding item.

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

Sorry, but we did not understand your problem, please update to the latest version, so you will receive an answer on how to solve this problem, thanks for reading.

joshi77

(Unassigned)

Confirmed

Loot tables

1.16 Release Candidate 1, 1.16

Retrieved