Detecting selected hotbar slot

Started by Coolmanz7 on Mon, 08/22/2022 - 19:06

Topic category: Help with modding (Java Edition)

Last seen on 01:58, 24. Nov 2022
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Detecting selected hotbar slot
Mon, 08/22/2022 - 19:06

I was wondering on how to detect which of the 9 hotbar slots the player is currently on. I want to make each hotbar slot have its own unique ability. I don't think there is a specific block for this in any of the procedures tabs.