Execute command after certain amount of time

Help | Java 26.2

I'm trying to create a custom mining system which involves blocks regenerating over time. I attempted to do this by summoning an armor stand with an effect, and then having a repeating command block execute a setblock as any armor stand with no effect. The problem with this is that when an armor stand's effect ran out, ALL armor stands would trigger, even ones with the effect. Is there a workaround for this?

Posted Jul 23, 2026, 5:04 AM UTC

10
Loading comments…