-
Notifications
You must be signed in to change notification settings - Fork 3
Light Condition
Xemor edited this page Mar 3, 2023
·
1 revision
The light condition is used for checking that light levels lay within a range
Example:
light:
type: LIGHT
mode: SELF
lightRange: 15 - 200
checkNaturalLight: true
checkBlockLight: true
This checks whether the light level is between 15 and 200.
Here is a table explaining what the various combinations do
natural: false
block: false
-------------
do nothing, this is pointless
natural: true
block: false
-------------
How much light there would be from the sun if it was day time
natural: false
block: true
-------------
How much light from block sources
natural: true
block: true
-------------
Checks real light level
- What are Conditions?
- List of all Conditions
- NOT Condition
- Weather Condition
- Tamed Condition
- Height Condition
- Metadata Condition
- Shielded Condition
- Light Condition
- Shooter Condition
- Health Condition
- Entity Condition
- Cooldown Condition