Get the current slot id of the hotbar

Started by Kahanvi on

Topic category: Help with modding (Java Edition)

Last seen on 09:03, 17. Sep 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get the current slot id of the hotbar

Get the current slot id of the hotbar

Hello, I would like to know if it is possible to have the current slot (not the item) of the player's hotbar, and if possible, how.
I accept java pieces if needed.

 

Thanks.