diamonddevv / luafy

lua scripting language in minecraft datapacks
Creative Commons Zero v1.0 Universal
5 stars 2 forks source link

Add `hotbar_scroll` callback script and `set_hotbar_slot` method to players #16

Open MulverineX opened 1 month ago

MulverineX commented 1 month ago

hotbar_scroll callbacks would include the PlayerEntityObject, the previous slot id, and the current slot id.

set_hotbar_slot would allow the server to change the player's selected hotbar slot