u/Dande9loki10

Standing Detection Command

Im trying to make it so that a block is /setblock'ed when i crouch but when i stand it is set to air.

for my crouch detection im using:
/execute as @ a at @ s unless entity @ s[y=~1.75,dy=0] if entity @ s[y=~1,dy=0] run (your command)

(Yeah ik there arnt supposed to be spaces between the @ and a/s but when i do it without spaces it becomes u/a or u/s )

reddit.com
u/Dande9loki10 — 9 hours ago