Skip to content

Constant

Provides a constant vec3 value.

Type ID: kaya:constant

Format

Field Type Default Description
value Vec3 The vec3 value to provide.
Tip

This type can be inlined by specifying a vec3 value.

Example

{
    "type": "kaya:constant",
    "value": [
        1.2,
        2.3,
        4.5
    ]
}
[
    1.2,
    2.3,
    4.5
]

This example provides a vec3 with X, Y, Z values of 1.2, 2.3, and 4.5 respectively.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.