Entity - Should Burn During The Day (Property) (Expression) — Lusk
Addon: Lusk · Category: Expression · Since: 1.0.3, 1.1.1 (Skeleton,Phantom), 1.3 (Safety), 1.3.3 (1.16.5 bug fixes)
Syntax
[the] [[living[ |-]]entity] (should|will) burn ((during|in) [the] day|(in|under) [the] (sun[light]|daylight)) [state|property] of %livingentities%Description
Returns whether or not the provided entities should burn during the day. Applies to zombies, skeletons (all types), and phantoms
In 1.17.1 this doesn't work with skeleton variants, such as strays, but it does work with base skeletons.
Can be set.
Examples
broadcast the should burn under sunlight property of target
set the should burn during the day property of {_entity} to false