Protect Minecraft Itemframes / Armorstands / Images?

Bu
2

How can you prevent players in adventure mode from taking items from item frames / taking armor from armorstands / destroying pictures (in the 1.16.5 version)

PS.: Have already tried this command, it is said that it is not a valid command: https://minecraft-de.gamepedia.com/...entitydata @e [r = 3, type = Item_Frame] {Invulnerable: 1}

ch

Invulnerable is an NBT tag that determines the indestructibility of the frame, and not the value of whether items can be taken out.

gl

That's a 1.8 command lol

This is 1.16:

/ data merge entity @e [distance = .3, type = item_frame, limit = 1] {Invulnerable: 1b}