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.

4 argument paths · Minecraft 26.2 · from Mojang's own command tree

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

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.

Looking for more Minecraft tools?

A suite of client-side generators, viewers and converters — all free, all in your browser.