Skip to content

Constant

Returns a constant boolean as its result.

Type ID: kaya:constant

Format

Field Type Default Description
value Boolean The boolean to return as the result.
Tip

This type can be inlined by specifying a boolean value.

Example

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

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.