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

Started by DaRealAzPlayz on

Topic category: Help with Minecraft modding (Java Edition)

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.

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

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

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!

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?