How to check if a player is not holding a specific item.

Started by DaRealAzPlayz on

Topic category: Help with modding (Java Edition)

Last seen on 17:08, 17. Aug 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check if a player is not holding a specific item.

So I am trying to check if the player is not holding a specific item then clear all effects. But i don't know how to do it. If you know how let me know.

Last seen on 09:20, 22. Apr 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try something like…
Tue, 05/30/2023 - 17:33

You could try something like this

Last seen on 09:20, 22. Apr 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh i forgot, "On player tick…
Tue, 05/30/2023 - 17:33

Oh i forgot, "On player tick update" as global trigger

Last seen on 17:08, 17. Aug 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok thx
Tue, 05/30/2023 - 18:30

ok thx

Last seen on 17:08, 17. Aug 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It doesn't seem to work!
Tue, 05/30/2023 - 20:00

It doesn't seem to work!

Last seen on 09:20, 22. Apr 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you replace the empty…
Sat, 06/17/2023 - 17:08

Did you replace the empty field with the item you chose?