Player's main hand item

Started by Vector8X on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Player's main hand item

Hi! How can I find out if a player is holding a certain item in the main hand? I was able to do this based on the item in the inventory, but I would like the interface I need to appear exactly when the player takes the item in his hand