Detect if a player is NOT holding a specific item

Started by vurro on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Aug 2022
Points:
411

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
Detect if a player is NOT holding a specific item

How would i test if the player ISNT holding a specific item?
This is my code ( https://imgur.com/b0xtF1L ) and im trying make it check if the player isn't holding a specific pickaxe.

Active 2 years ago
Joined Aug 2022
Points:
411

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
Nevermind i figured it out.
Sun, 08/07/2022 - 03:29

Nevermind i figured it out.

Active 2 years ago
Joined Aug 2022
Points:
383

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
at least say how you did it
Sun, 08/07/2022 - 10:06

at least say how you did it

Active 2 years ago
Joined Feb 2022
Points:
628

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 158
Use "Not" procedure block in…
Sun, 08/07/2022 - 15:36

Use "Not" procedure block in logic tab

Active 1 month ago
Joined Jan 2025
Points:
40

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
how did you detect what item…
Mon, 02/24/2025 - 23:38

how did you detect what item the player were holding?