Ability (Entity Condition Type)
Checks if the player has the specified ability enabled.
Checks if the player has the specified ability enabled.
Type ID: apoli:ability
Fields
| Field | Type | Default | Description |
|---|---|---|---|
ability | Player Ability | The namespace and ID of the ability to check for. |
Examples
"condition": {
"type": "apoli:ability",
"ability": "minecraft:mayfly"
} This example will check if the player can fly in a Creative Mode-like fashion.