executing code when player equips item in main hand

Started by mart7821 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
executing code when player equips item in main hand

so i'm trying to play an animation whenever the player equips an item but there arent any events that check when the player puts the item into their main hand so if someone could please tell me how to do that i would be happy