Reference
Invokes a condition file and returns its value.
Type ID: kaya:reference
Format
| Field | Type | Default | Description |
|---|---|---|---|
value |
Identifier | The ID of the condition to invoke. |
Example
-
The location of the file is
data/example/kaya/condition/entity/is_in_water.jsonwith this as its contents:
This example invokes the example:entity/is_in_water condition and returns its result.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |