Skip to content

Is Sky Visible

Checks if the sky is visible at the specified position.

Type ID: kaya:is_sky_visible

Note

Not to be confused with Is Exposed to Sky, which also checks if there are no blocks between the sky and the specified position.

Format

Field Type Default Description
position Vec3 Provider The position to check.

Example

{
    "type": "kaya:is_sky_visible",
    "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.