Script:inventory
Jump to navigation
Jump to search
inventory
is a group of script commands for modifying player or non-player inventories. They are documented on individual pages:
Comand | Context | Description |
---|---|---|
inventory add <script> | Any Entity | Create a single new item and place it into the inventory. |
inventory addfromscene <item> | Any Entity | Add an existing item to the inventory. |
inventory addmulti <script> <count*> | Any Entity | Create a new item stack and place it into the inventory. |
inventory close | Any Entity | Close any non-player inventory in the HUD. |
inventory create | Any Entity | Enable and clear the inventory. |
inventory destroy | Any Entity | Disable the inventory. |
inventory open | Any Entity | Open the inventory in the HUD. |
inventory playeradd <script> | Ignored | Create a single new item and place it into the player inventory. |
inventory playeraddfromscene <item> | For self | Add an existing item to the player inventory. |
inventory playeraddmulti <script> <count*> | Ignored | Create a new item stack and place it into the player inventory. |
inventory skin <skin> | Any Entity | Change the inventory background. |