Minecraft:Commands/swing: Difference between revisions
From SAS Gaming Wiki
More actions
imported>The Non Useful mNo edit summary |
Sync: updated from Minecraft |
||
| (5 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>] [ | : <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| | {{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 commands}} | {{Navbox commands}} | ||
[[Minecraft:es:Comandos/swing]] | |||
[[Minecraft:de:Befehl/swing]] | [[Minecraft:de:Befehl/swing]] | ||
[[Minecraft:ja:コマンド/swing]] | [[Minecraft:ja:コマンド/swing]] | ||
Latest revision as of 11:05, 13 July 2026
Template:Exclusive Template:Infobox command Controls the swinging animation of Minecraft:entities' hands.Template:Info needed
Syntax
/swing [<targets>] [mainhand|offhand]
Arguments
- Specifies entities to swing. Defaults to Template:Cd (the command executor).
- Not all entitiesTemplate:Info needed will animate a swing on the client side.
- Template:Arg desc
- Specifies the arm to swing. Defaults to Template:Cd.
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
Minecraft:es:Comandos/swing Minecraft:de:Befehl/swing Minecraft:ja:コマンド/swing Minecraft:pt:Comandos/swing Minecraft:ru:Команды консоли/swing Minecraft:zh:命令/swing