As the title, return the slot that the player selecting, then we could easily figure out which slot should we operate for the player in some specific case (e.g. put the current handing item into the chest).
Describe alternatives you've considered if you've any
invoke both getItems() and getPlayerHand(), compare items name, count and nbt then we can get a slow and inaccurate response.
Describe your idea
As the title, return the slot that the player selecting, then we could easily figure out which slot should we operate for the player in some specific case (e.g. put the current handing item into the chest).
Describe alternatives you've considered if you've any
invoke both
getItems()
andgetPlayerHand()
, compare items name, count and nbt then we can get a slow and inaccurate response.Additional context
No response
Linked Issues
No response