LightCondition - Septillihedron/SuperheroesPlusSchema GitHub Wiki
LightCondition - An object
Properties
mode - Required enum
Allowed values
- ALL
- LOCATION
- OTHER
- SELF
The mode of operation
Defaults to SELF
EffectList
otherwise - OptionalA list of effects that will run if this condition is false
EffectList
else - OptionalA list of effects that will run if this condition is false
checkNatural - Optional boolean
Whether to check for natural/sky light
Defaults to true
checkBlocks - Optional boolean
Whether to check for block light
Defaults to true
RangeData
lightRange - OptionalThe range of light levels to compare against
Defaults to -Infinity - Infinity
checkNaturalLight - Optional boolean
Whether to check for natural/sky light
Defaults to true
checkBlockLight - Optional boolean
Whether to check for block light
Defaults to true
RangeData
light - OptionalThe range of light levels to compare against
Defaults to -Infinity - Infinity