Has Power (Item Condition Type)
Checks if the item has a power embedded to it.
Checks if the item has a power embedded to it.
Type ID: apoli:has_power
Fields
| Field | Type | Default | Description |
|---|---|---|---|
power | Identifier | The ID of the power to check for. | |
slot | Equipment Slot (Data Type) | optional | If specified, this will check if the power embedded to the item is assigned to this equipment slot. Accepts one of "head", "chest", "legs", "feet", "mainhand" or "offhand". |
Examples
"item_condition": {
"type": "apoli:has_power",
"power": "origins:water_breathing"
} This example will check if the item has Merling’s Gills (origins:water_breathing) power embedded to it.
"item_condition": {
"type": "apoli:has_power",
"power": "origins:elytra",
"slot": "chest"
} This example will check if the item has Elytrian’s Winged (origins:elytra) power embedded to it.