select Slot Silently
Silently selects a main-hand hotbar slot for duration of ticksUntilReset. Offhand is ignored because it is not selected through held-item changes.
Return
true when the slot is selected or no selection is required, false when the request is cancelled
fun selectSlotSilently(requester: Any?, slot: @Range(from = 0, to = 8 ) Int, ticksUntilReset: Int): Boolean
See also
Inventory. is Hotbar Slot