Equipped Item Action (Entity Action Type)
Executes an Item Action Type on an item stack in a specified equipment slot.
Executes an Item Action Type on an item stack in a specified equipment slot.
Type ID: apoli:equipped_item_action
Fields
| Field | Type | Default | Description |
|---|---|---|---|
equipment_slot | String | Which equipped item to execute the action on. One of: "mainhand", "offhand", "head", "chest", "legs", "feet". | |
action | Item Action Type | The item action type to execute on the item stack in the specified equipment slot. |
Examples
"entity_action": {
"type": "apoli:equipped_item_action",
"equipment_slot": "mainhand",
"action": {
"type": "apoli:consume",
"amount": 1
}
} This example will “consume” (remove) 1 item from the item stack in the mainhand equipment slot.