2

Item Frame Invulnerable help

User3363928G 1/3/21 4:26 am
2k
1/6/2021 1:26 am
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
Posted by
User3363928G
Level 1 : New Miner
0

  Have something to say?

JoinSign in

2

User3363928G
01/03/2021 4:40 am
Level 1 : New Miner
Ok it turns out that the 'i' at the start of invulnerable needs to be capitalised!
2
In2itivity
01/06/2021 1:26 am
Level 18 : Journeyman System
history
Kudos to you for figuring it out! Do remember that NBT is case-sensitive, and some tag names have weird capitalization, like NoAI.
1

Welcome