Execute Command Builder

Build complex /execute commands visually. Chain multiple sub-commands to run commands with precise conditions and context.

Add Clauses

Command Structure

/execute← Add clauses from the left panel
run

Generated Command

/execute run say Hello World!

Common Examples

/execute as @a at @s run tp @s ~ ~5 ~

Teleport all players 5 blocks up

/execute at @e[type=zombie] run summon lightning_bolt

Strike lightning at all zombies

/execute if entity @a[scores={deaths=1..}] run say Someone died!

Announce when someone has died

/execute in minecraft:the_nether run tp @s ~ ~ ~

Teleport to same coords in Nether

Execute Command Tips

  • as changes WHO runs the command (@s changes)
  • at changes WHERE the command runs (position)
  • positioned only changes position, not rotation
  • in changes the dimension context
  • if/unless adds conditions to check
  • store saves command output to scores/NBT
  • • Chain multiple clauses for complex behaviors
  • • Order matters! Each clause modifies context