The datapack/command community has overcome a lot of obstacles we don't yet have access to so far, such as player motion and inventory manipulation.
The current tools allow us to do a lot of stuff, sadly there are things we can't do no matter what.
I would like to present a suggestion for a command, which lets us swap the player's selected hotbar slot using commands. This interface could allow us to create deep hotbar systems for custom maps.
Command format:
/selectslot <player> <slot_id>
Usecases:
- Ability hotkeys interface on 1 2 3 4, using the number keys we could then auto-switch the slot to the previous one & cast a custom ability.
- Restricting the selectable item slots for custom maps.
Implementation is simple, just modifythe player's SelectedItemSlot, then send an update packet.
Much thanks, hoping to see this in the game soon, take care.
Please sign in to leave a comment.
0 Comments