Prevent Shape Change (Power Type)

Stops the player from changing shape.

Blocks shape changes. With no condition it blocks every change, including clearing the shape — so gate it unless you really mean “you are stuck like this”.

Type ID: apoli:prevent_shape_change (aliases apoli:prevent_morph, shappoli:prevent_shape_change)

Fields

FieldTypeDefaultDescription
bientity_conditionBi-Entity ConditionoptionalOnly block when this passes. Actor is the player, target is the shape they are trying to become. Absent means block everything.

Examples

You cannot become anything undead:

{
  "type": "apoli:prevent_shape_change",
  "bientity_condition": {
    "type": "apoli:target_condition",
    "condition": { "type": "apoli:in_tag", "tag": "minecraft:undead" }
  }
}

Locked into your current shape while a resource is spent:

{
  "type": "apoli:prevent_shape_change",
  "condition": {
    "type": "apoli:resource",
    "resource": "mypack:stamina",
    "comparison": "<=",
    "compare_to": 0
  }
}

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