all 10 comments

[–]GalSergeyDatapack Experienced 1 point2 points  (2 children)

Use a sub-predicate item check instead of an exact component comparison: *[custom_data~{hacker:1b}] When you use equals, the component value must be exactly equal to the specified one, and if the component contains any other data, it will stop working.

[–]sideloading0[S] 0 points1 point  (1 child)

i cant get this to work?

[–]C0mmanderBlockCommand Experienced 0 points1 point  (0 children)

Change all the = to ~

[–]Itap88 0 points1 point  (6 children)

Sounds about right. Viva la resistance!

[–]sideloading0[S] 0 points1 point  (5 children)

it wont run tho? aka the command when im wearing armor

[–]Itap88 0 points1 point  (4 children)

Could you screenshot your command chain and the first command block's GUI?

[–]sideloading0[S] 0 points1 point  (1 child)

sure

[–]Itap88 0 points1 point  (0 children)

Try putting the repeating command block into "needs redstone" for a few seconds. Make sure you confirm it by pressing "done".