Shape Action (Entity Action Type)
Runs a bi-entity action with the player as the actor and their current shape as the target. A player with no shape is their own target.
Type ID: apoli:shape_action (aliases apoli:action_on_shape, shappoli:shape_action)
note
This type needs WoodWalkers and doesn't exist without it, so a pack that uses it must depend on the mod.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
bientity_action | Bi-entity Action Type | required | Runs with the player as the actor and the shape as the target. |
Example
{
"type": "apoli:shape_action",
"bientity_action": {
"type": "apoli:actor_action",
"action": { "type": "apoli:heal", "amount": 2 }
}
}This heals the player by 2 health through the actor side of the action. Any bi-entity action that needs to read the shape can use the target side in the same way.