Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/swing

From SAS Gaming Wiki
Revision as of 11:17, 9 August 2026 by SyncBot (talk | contribs) (Sync: updated from Minecraft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Exclusive Template:Infobox command Controls the swinging animation of Minecraft:entities' hands.

Syntax

/swing [<targets>] [mainhand|offhand]Template:Until
/swing [<targets>] [mainhand|offhand] [<animation>] [<duration>]Template:Upcoming

Arguments

Template:Argument

Specifies entities to swing. Defaults to Template:Cd (the command executor).
Not all entities will animate a swing on the client side.
Template:Arg desc

Template:Cd

Specifies the arm to swing. Defaults to Template:Cd.

Template:ArgumentTemplate:Upcoming

Specifies the swing animation to play. Defaults to Template:Cd.
Template:Arg desc

Template:ArgumentTemplate:Upcoming

Specifies the duration of the swing animation. Defaults to Template:Cd.
Template:Arg desc

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table Template:Output table

History

Template:HistoryTable

Navigation

Template:Navbox commands

Minecraft:es:Comandos/swing Minecraft:de:Befehl/swing Minecraft:ja:コマンド/swing Minecraft:pt:Comandos/swing Minecraft:ru:Команды консоли/swing Minecraft:zh:命令/swing