Constant
Provides a constant string value.
Type ID: kaya:constant
Format
| Field | Type | Default | Description |
|---|---|---|---|
value |
String | The string value to provide. |
Tip
This type can be inlined by specifying a string value.
Example
This example provides a "Hello world!" string.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |