sort_inventory
Sorts items in the player's inventory by material name and stack size.
Categories: inventory, player
Required arguments
| Key(s) | Description | Type |
|---|---|---|
type | Which section of the inventory to sort: all, hotbar, or main. Choices: all, hotbar, main | STRING |
Trigger parameters required
PLAYER
Example
effects:
- id: sort_inventory
args:
type: all|hotbar|main
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |