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: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
|oplevel=2
|oplevel=2
}}
}}
Controls the swinging animation of [[Minecraft:entities]]' hands.
Controls the swinging animation of [[Minecraft:entities]]' hands.{{info needed|What entities does this apply to?}}


== Syntax ==
== Syntax ==
: <code>/swing [<targets>] [<mainhand|offhand>]</code>
: <code>/swing [<targets>] [mainhand|offhand]</code>


== Arguments ==
== Arguments ==
{{argument|targets|entity}}
{{argument|targets|entity}}
: Specifies entities to swing. Defaults to the command executor.
: Specifies entities to swing. Defaults to {{cd|@s}} (the command executor).
: Not all entities{{info needed|which entities?}} will animate a swing on the client side.
: Not all entities{{info needed|which entities?}} will animate a swing on the client side.
: {{arg desc|je=entity|amount=multiple|type=entities}}
: {{arg desc|je=entity|amount=multiple|type=entities}}
{{cd|<mainhand{{!}}offhand>}}
{{cd|mainhand{{!}}offhand}}
: Specifies the arm to swing. Defaults to mainhand.
: Specifies the arm to swing. Defaults to {{cd|mainhand}}.


== Result ==
== Result ==
Line 38: Line 38:


== Navigation ==
== Navigation ==
{{Navbox new content|other}}
{{Navbox commands}}
{{Navbox commands}}



Latest revision as of 11:05, 13 July 2026