Context
Provides the value of the context parameter from a context.
Type ID: kaya:context
Note
This meta type can only provide the same kind of value of the field where it was used. (e.g: if the field is a boolean provider, the context parameter to reference must have a boolean context parameter type, etc.)
Format
| Field | Type | Default | Description |
|---|---|---|---|
parameter |
Identifier | The ID of the context parameter. See here for a collection of pre-defined context parameters and their correspondng type. |
Tip
This type can be inlined by specifying a string.
Example
This example is an entity provider that provides the entity provided by the kaya:this_entity context parameter.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |