Skip to content

Key Reference

An object that references a key binding, mainly used by powers to define which key it reacts to.

Format

Field Type Default Description
id String Provider The ID of the referenced key binding.
continuous Boolean Provider false Determines whether the the referenced key binding is held.
Tip

This type can be inlined by specifying a string.

Example

"key": {
    "id": "key.use",
    "continous": false
}
"key": "key.use"

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.