Detect if a Player is Under Something in Minecraft

Опубликовано: 08 Май 2026
на канале: Cloud Wolf
10,183
694

A quick command to detect if a player is not under a ledge, or exposed to sunlight.

💡 Code: /execute as @a at @s positioned over motion_blocking if entity @s[dy=999] run effect give @s wither 1 1 true

🔵 Discord & Other Links: https://linktr.ee/CloudWolfMC
💻 Website: https://cloudwolfyt.github.io