Skip to main content

Add Power

Adds a power to an item stack that will only be applied to the player if the item is held/equipped in the specified equipment slot.

Type ID: origins:add_power

Fields

FieldTypeDefaultDescription
powerIdentifierThe namespace and ID of the power that will be added to the entity.
slotEquipment Slot GroupDetermines if the item should add the power to the entity if held/equipped in the specified slot. Accepts head, chest, legs, feet, mainhand, offhand, any, hand, or armor.
hiddenBooleanfalseDetermines if the tooltip for the power should be hidden or not.
negativeBooleanfalseDetermines if the color of the tooltip should be blue (false) or red (true).

Examples

{
"function": "origins:add_power",
"power": "origins:arcane_skin",
"slot": "chest",
"negative": true
}

This example will add the origins:arcane_skin power to the entity if the entity were to wear the item that this item modifier has been applied to on their chest equipment slot.