We cover a new way to detect if the player is exposed to the skylight in 1.21
💡 Code: execute as @a at @s if predicate {"condition":"minecraft:entity_properties","entity":"this","predicate":{"location":{"can_see_sky":true}}} run effect give @s wither 1 1 true
🔵 Discord & Other Links: https://linktr.ee/CloudWolfMC
💻 Website: https://cloudwolfyt.github.io