Skip to content

Modify Trinket Slot

Applies one or more modifiers to trinket slots, that modify their count.

Type ID: shappoli:modify_trinket_slot

Note

This power requires Trinkets to be installed.

Warning

This power type does not support a condition. If the condition field is present, it will be ignored. If you wish to check for an entity condition before applying the modifier(s), you can use the Conditioned Modify Trinket Slot power type instead.

Info

It is generally better to remove trinket slots than to add them, as added slots will drop players' items upon rejoining the world.

Fields

Field Type Default Description
modifier Slot Entity Attribute Modifier optional Modifier to apply to the trinket slot count.
modifiers Array of Slot Entity Attribute Modifier optional Modifiers to apply to the trinket slot count.

Examples

{
  "type": "shappoli:modify_trinket_slot",
  "modifier": {
    "slot": "chest/necklace",
    "operation": "addition",
    "value": -1
  }
}

This example will remove one trinket slot from the chest/necklace slot group.