Prevent Shape Change
Prevents the player from changing their shape.
Type ID: shappoli:prevent_shape_change
Note
This action requires Woodwalkers to be installed.
Note
In the context of this power type, the 'actor' entity is the entity that has the power whilst the 'target' entity is the shape that the actor is trying to change into. If the player is changing their shape back to their original form, 'actor' and 'target' will be the same entity.
Note
This power will not prevent the player from changing their shape with commands or Change Shape (Bi-entity Action) and Change Shape (Entity Action) actions.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
bientity_condition |
Bi-entity Condition Type | optional | If specified, the shape change will only be prevented if this condition is met. |
Examples
This example will completely prevent the player from changing their shape.
{
"type": "shappoli:prevent_shape_change",
"bientity_condition": {
"type": "apoli:target_condition",
"condition": {
"type": "apoli:entity_type",
"entity_type": "minecraft:villager"
}
}
}
This example will prevent the player from changing their shape into a villager.