Get Light Level At Coordinates
minecraft_get_light_atCheck light levels at any block to determine if mobs can spawn, using x, y, z coordinates in Minecraft.
Instructions
Returns light levels at a block — useful for checking if an area is safe from mob spawns (block light < 8 with sky light 0 at night is generally spawnable).
Returns: { x, y, z, light: number (0-15, total), skyLight: number (0-15) }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| z | Yes |