TransWikia.com

execute if item in an item_frame is in a certain position in minecraft 1.16

Arqade Asked by roisHh on March 11, 2021

I want to turn on water with a faucet by using a structure_void in an invisible item_frame in mc1.16

this is my command:

/execute if entity @e[x=269,y=66,z=533,type=item_frame,nbt={TileY:269,TileX:66,TileZ:533,ItemId:"minecraft:structure_void",ItemRotation:2}] run say 2

I also tried different versions like

/execute if entity @e[x=269,y=66,z=533,type=item_frame,nbt={ItemId:"minecraft:structure_void",ItemRotation:2b}] run say 2

and many other different versions but it didn’t work. Could someone help me please? There is no place for a comparator behind the frame so I have to get NBT data like this!

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