Execute Command Generator
Execute Command Generator
Build execute commands using as, at, if entity, if block, and run.
How to use
Choose a Minecraft version, enter the required fields, import an existing command if needed, then copy or save the output command.
Basic fallback generator
The full generator is loading. If it cannot load, this basic form still creates a usable command.
Output
Related guide
Need examples, common mistakes and search terms for this Minecraft command generator?
Command generator guideExecute command: as, at and run
The most common confusion is the difference between who runs a command and where the command runs.
Examples and checks
| Subcommand | Meaning |
|---|---|
as | Changes the executing entity. |
at | Changes the execution position. |
/execute as @a at @s run particle minecraft:happy_villager ~ ~1 ~