TransWikia.com

Make maps on item frames unrotatable

Arqade Asked by seek gxng on July 11, 2021

I’m trying to put a map on an item frame, and I have used this command in order to make it unbreakable by players in adventure mode.

data merge entity @e[type=item_frame,sort=nearest,limit=1] {Invulnarable:1b}

But I do not want it to be rotatable, I have tried many nbt tags for the command above, but none of them seem to work.

Any solution on how can I make items on an item frame unrotatable?

One Answer

The tag you are looking for is {Fixed: 1b}. From the Minecraft Wiki:

Fixed: 1 or 0 (true/false) - true to prevent it from dropping if it has no support block, being moved (e.g. by pistons), taking damage, and placing an item in it, removing its item or rotating it.

In addition, the command you provided in the question won't work because you misspelled Invulnerable. But with Fixed, you don't need the invulnerable command at all.

Correct answer by ExpertCoder14 on July 11, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP