Ability (Entity Condition Type)
Checks whether the player has a player ability turned on.
Type ID: apoli:ability
Fields
| Field | Type | Default | Description |
|---|---|---|---|
ability | Player Ability | required | The ID of the ability to check for. |
Examples
"condition": {
"type": "apoli:ability",
"ability": "minecraft:mayfly"
}This checks whether the player can fly the way Creative mode allows.