I just have a few questions about a player’s hotbar.
-
Is there a way I can get the Slot of the active Hotbar / itemInHand?
-
Is there a way that I can set the active Hotbar slot index?
I just have a few questions about a player’s hotbar.
Is there a way I can get the Slot of the active Hotbar / itemInHand?
Is there a way that I can set the active Hotbar slot index?
Never mind I figured it out!
(Posting this so others can figure it out):
You can get/set the slot number and manipulate the active inventory by using: org.spongepowered.api.item.inventory.entity.Hotbar.