Equipped Item Action (Entity Action Type)
Runs an item action on the item stack in one of the entity's equipment slots.
Type ID: apoli:equipped_item_action
Fields
| Field | Type | Default | Description |
|---|---|---|---|
equipment_slot | String | required | The equipment slot to use: "mainhand", "offhand", "head", "chest", "legs" or "feet". |
action | Item Action Type | required | The item action to run on the stack in that slot. |
Examples
"entity_action": {
"type": "apoli:equipped_item_action",
"equipment_slot": "mainhand",
"action": {
"type": "apoli:consume",
"amount": 1
}
}This consumes (removes) 1 item from the stack in the main hand.