Player Holding Item Help

Started by sw0rdmas73r on

Topic category: Help with modding (Java Edition)

Last seen on 12:49, 13. Jul 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Player Holding Item Help

I am working on a mod where it requires the player to hold specific items in order for specific things to happen. However... I don’t know how to check if a player is holding a specific item.

Last seen on 00:59, 19. Oct 2022
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can tell when you have…
Sun, 05/02/2021 - 00:11

You can tell when you have the object in the main hand (main-hand)
and in the secondary hand (off-hand)
use "on player tick update".
https://imgur.com/a/EJpYg3P

Last seen on 02:18, 3. Mar 2024
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i am making a mod that…
Fri, 07/22/2022 - 20:25

i am making a mod that creates paint blocks but when i try to delete it it creates another paint block and i can also delete other blocks