MC Toolkit

MC Toolkit / Commands / Entity & Combat Command Builder / Swing Command Generator

Swing Command Generator

Build a /swing command to play an entity's arm-swing animation for either hand, without an actual attack or interaction. Newer command — check your version.

8 argument paths · Minecraft 26.3 · from Mojang's own command tree

  • /swing
  • /swing <targets>
  • /swing <targets> mainhand
  • /swing <targets> mainhand <animation>
  • /swing <targets> mainhand <animation> <duration>
  • /swing <targets> offhand
  • /swing <targets> offhand <animation>
  • /swing <targets> offhand <animation> <duration>

Run these from an operator’s chat, a command block, or the server console. Rotate, Swing and Display Entity use newer command/entity features — check they’re available on your Minecraft version.