Minecraft Execute Command Generator

Most broken commands are broken selectors, not broken syntax. Build the /execute if entity condition here with explicit filters, and test it with a harmless command before wiring it to something that damages, kills or teleports.

  • type, tag, team, scores, distance and nbt filters
  • limit and sort to control how many entities match
  • Composable with run, store and the positional subcommands

Read the matching guide