Skip to content

Open Inventory

Entity Action Type

Opens an inventory.

Type ID: eggolib:open_inventory

Caution

Currently, this entity action type cannot open the inventory of the player that invoked the action.

Fields

Field Type Default Description
power Identifier optional If specified, the inventory of this power will be opened instead.

Examples

"entity_action": {
    "type": "eggolib:open_inventory",
    "power": "example:extra_inventory"
}

This example will open the inventory of the example:extra_inventory (data/example/powers/extra_inventory.json) as long as that power uses the inventory power type.