Skip to content

Constant

Provides a constant boolean value.

Type ID: kaya:constant

Format

Field Type Default Description
value Boolean The boolean value to provide.
Tip

This type can be inlined by specifying a boolean value.

Example

{
    "type": "kaya:constant",
    "value": true
}
true

This example provides a boolean value that's always true.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.