Has Power
Checks if the item has a power embedded to it.
Type ID: origins:has_power
Fields
Field | Type | Default | Description |
---|---|---|---|
power |
Identifier | The ID of the power to check for. | |
slot |
String | 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": "origins: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": "origins:has_power",
"power": "origins:elytra",
"slot": "chest"
}
This example will check if the item has Elytrian's Winged (origins:elytra
) power embedded to it.