Skip to content

Shape Condition

This conditions allows you to check conditions on the shape of the player.

Type ID: shappoli:shape_condition

Note

This action requires Woodwalkers to be installed.

Note

In the context of this condition, the 'actor' entity is the entity that has the power whilst the 'target' entity is the actor's shape. If the player is in their original form, 'actor' and 'target' will be the same entity.

Fields

Field Type Default Description
bientity_condition Bi-entity Condition Type Condition to check on the shape.

Examples

{
  "type": "shappoli:shape_condition",
  "bientity_condition": {
    "type": "apoli:equal"
  }
}

This example will check if the entity is in its original form.

{
  "type": "shappoli:shape_condition",
  "bientity_condition": {
    "type": "apoli:target_condition",
    "condition": {
      "type": "apoli:entity_type",
      "entity_type": "minecraft:villager"
    }
  }
}

This example will check if the entity is in the shape of a villager.