Free Slot
Information | |
---|---|
Type | Entity Function |
Namespace | moxlib:api/helpers/inventory/free_slot |
Versions | 1.15+ |
Overview
Returns the lowest free inventory slot of the executing player.
Example
execute as Steve run function moxlib:api/helpers/inventory/free_slot
Output of storage moxlib:api/helpers/inventory/free_slot
{
output: 5b
}
API
Returns
- Byte
output