# Night time
execute store result score @s vb.dummy1 run time query daytime
execute if score @s vb.dummy1 matches 12600..23460 run return fail
# Under shade
execute if predicate {condition:"minecraft:entity_properties",entity:"this",predicate:{location:{can_see_sky:0b}}} run return fail
# In water
execute if predicate {condition:"minecraft:location_check",predicate:{fluid:{fluids:"#minecraft:water"}}} run return fail
# Not in overworld
execute unless predicate {condition:"minecraft:location_check",predicate:{dimension:"minecraft:overworld"}} run return fail
# Fire resistance
execute if predicate {condition:"minecraft:entity_properties",entity:"this",predicate:{effects:{"minecraft:fire_resistance":{}}}} run return fail

## If nothing above triggered, be on fire
data merge entity @s {Fire:160s}