Light Level
The light level condition checks the block light level or skylight level. This means we can check if mobs are spawning in an area.
Argument
Description
Default Value
min
The minimum light level
0
max
The maximum light level
15
mode
Either BLOCK
, SKY
, or BOTH
(see below for info)
BOTH
Mobs can spawn at light level 7 and below
BLOCK
only checks light from light sources, such as glowstone, torches, lava, etc.
Last updated