How to Detect Skylight in Minecraft

Опубликовано: 21 Март 2026
на канале: Cloud Wolf
5,546
361

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