Is Exposed to Sky
Checks if the sky is visible at the specified position and if there are no blocks between the sky and the specified position.
Type ID: kaya:is_exposed_to_sky
Note
Not to be confused with Is Sky Visible, which only checks if the sky is visible at the specified position.
Format
| Field | Type | Default | Description |
|---|---|---|---|
position |
Vec3 Provider | The position to check. |
Example
{
"type": "kaya:is_exposed_to_sky",
"position": {
"type": "kaya:entity/position",
"entity": "this"
}
}
This example checks if the position of the entity provided by the kaya:this_entity context parameter is exposed to the sky.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |