Check for any Type of Tool

Started by SS_Legend_YT on

Topic category: Help with modding (Java Edition)

Last seen on 20:28, 17. Mar 2020
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check for any Type of Tool

Hello,

     I was working on a procedure for stripping a custom log, and I was wondering how you check if a player is holding an axe. Currently, I have it checking in the players main hand for any 'toolAxe' in oreDict. If you can, please let me know if I'm doing it right, or the opposite. Thanks :)

Last seen on 20:28, 17. Mar 2020
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind, accomplished what…
Tue, 03/17/2020 - 15:46

Nevermind, accomplished what I needed with tags.