Arqade Asked by Cat135 on July 3, 2021
I’m making a datapack that makes a new enchantment. and I didn’t find a way to detect if player does not wear a diamond chestplate with predicate. if someone knows what should I do please answer.
me and my friends did it we found a way.
as simple as follows:
the purple command block has:
/execute as @a[nbt={Inventory:[{id:"minecraft:diamond_chestplate",Slot:102b}]}] run help
basically, the command block will turn on the comparator when someone has a chestplate, and we can just flip the signal.
Answered by lawrencfgsdfg on July 3, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP