Key

Data Type

An Object which defines a keybinding, used in active powers to define which key they react to.

Fields

Field Type Default Description
key String A string specifying the keybinding. See Keybindings for possible values.
continuous Boolean false Whether the keybinding should only trigger the power on the first tick the key is held down, or, if set to true, continuously on each tick while the key is held.

Examples

"key": {
    "key": "key.origins.secondary_active"
}

This key will trigger each time the secondary active power key of Origins (by default unbound) is pressed.

"key": {
    "key": "key.attack",
    "continuous": true
}

This key will trigger each tick while the Minecraft attack key (default: left mouse button) is held.