Skip to content

Constant

Provides a constant integer value.

Type ID: kaya:constant

Format

Field Type Default Description
value Integer The integer value to provide.
Tip

This type can be inlined by specifying a integer value.

Example

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

This example provides a constant $366$ integer value.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.