Shape Action (Entity Action Type)

Runs a bi-entity action between the player and their shape.

Runs a bi-entity action with the player as actor and their current shape as target. A player with no shape is their own target.

Type ID: apoli:shape_action (aliases apoli:action_on_shape, shappoli:shape_action)

Fields

FieldTypeDefaultDescription
bientity_actionBi-Entity ActionrequiredRun with the player as actor and the shape as target.

Example

Heal yourself for a share of the shape’s maximum health, which needs the shape as a target to read from:

{
  "type": "apoli:shape_action",
  "bientity_action": {
    "type": "apoli:actor_action",
    "action": { "type": "apoli:heal", "amount": 2 }
  }
}

Needs WoodWalkers. This type does not exist without it, so a pack using it must depend on the mod.