2
Item Frame Invulnerable help
I'm trying to make item frames unbreakable but still be able to rotate the item inside the frame.
I've used this so far - execute as @e[type=item_frame] run data merge entity @s {invulnerable:1b} but it seems to do nothing to the item frames (I can still remove the item and take the frame off the wall, in all gamemodes)
I've also tried using the 'Fixed' command but that means you can't rotate the item inside the frame.
Any help or ideas would be great! Thanks
I've used this so far - execute as @e[type=item_frame] run data merge entity @s {invulnerable:1b} but it seems to do nothing to the item frames (I can still remove the item and take the frame off the wall, in all gamemodes)
I've also tried using the 'Fixed' command but that means you can't rotate the item inside the frame.
Any help or ideas would be great! Thanks
2
Ok it turns out that the 'i' at the start of invulnerable needs to be capitalised!
Kudos to you for figuring it out! Do remember that NBT is case-sensitive, and some tag names have weird capitalization, like NoAI.
