Skip to content
/SLASHPLAY

How to make a player swing their arm in Minecraft

Type /swing @p offhand in chat as an operator to play the off hand swing animation. /swing alone swings your main hand.

swing

Plays the arm swing animation for players or mobs, with the main hand or the off hand.

/swing [<targets>] [mainhand|offhand] [<animation>] [<duration>]

Examples

/swing

Swings your main hand.

/swing @p offhand

Swings the nearest player's off hand.

Arguments

targetsOptional
Entities to animate. Defaults to yourself.
handOptional
mainhand or offhand.
animationOptional
Swing animation type.
durationOptional
Length of the animation in ticks.

What it does

Without arguments it swings your own main hand. You can pick mainhand or offhand, and optionally an animation type and duration. It is a visual effect for maps and cutscenes.

Good to know

  • Needs operator permission level 2.

Run it on your server

On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.

Your own
Minecraft server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.