Arqade Asked by DaSauce4568 on February 21, 2021
I am making a Hide and Seek map on one of my friends realms, and I want to make certain boots give different effects (such as diamond boots give speed). I have something with two command blocks right here:
/testfor @a{[team=Hider]Inventory:[{id:"minecraft:chainmail_boots"}]} |
Then a comparator to the next.
/effect minecraft:resistance 1 3 true |
But that only effects the nearest player to the command blocks.
I'm not near a computer but a from what I remember you are looking for /execute [selector] x y z [command]
So your command would be:
/execute @a{[team=Hider]Inventory:[{id:"minecraft:chainmail_boots"}]} ~ ~ ~ effect minecraft:resistance 1 3`
Answered by cookie on February 21, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP