Skip to main content

Has Power (Item Condition Type)

Checks whether the item has a given power embedded in it.

Type ID: apoli:has_power

Fields

FieldTypeDefaultDescription
powerIdentifierrequiredThe ID of the power to look for.
slotEquipment SlotoptionalOnly counts the power when it is assigned to this equipment slot: "head", "chest", "legs", "feet", "mainhand" or "offhand".

Examples

"item_condition": {
    "type": "apoli:has_power",
    "power": "origins:water_breathing"
}

This checks whether the item has the Merling's Gills power (origins:water_breathing) embedded in it.

"item_condition": {
    "type": "apoli:has_power",
    "power": "origins:elytra",
    "slot": "chest"
}

This checks whether the item has the Elytrian's Winged power (origins:elytra) embedded in it for the chest slot.