I am making paintings invulnerable in my map so they cant be broken, Yet under a certain circumstance, a painting will break.
What I expected to happen:
I use the command `/execute as @e[type=minecraft:painting] at @s run data merge entity @s {Invulnerable:1b}` to edit paintings NBT making them invulnerable.
What happened was:
paintings which have a block placed above them would break after using the command, although there was nothing that would make that happen such as a missing block.
Steps to Reproduce:
Place a painting on a wall (any size, but most notable is 2 high, 1 wide)
Make sure the top of the panting is aligned to the ceiling.
Use the command listed above
The painting should break in a few seconds. The painting will first turn invisible (this invisible thing is fixed by reloading chunks)
Thank you for your report!
We're actually already tracking this issue in MC-158674, so I resolved and linked this ticket 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 in the future to see if the issue has already been reported.