Data component format/swing animation
Minecraft Wiki article. Categories: Data_component_format_subpages
📌 Mirrored from Minecraft Wiki
This article is reproduced from Data component format/swing animation on the Minecraft Wiki. Mirrored from revision 3556467. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
- [NBT Compound / JSON Object] minecraft:swing_animation: Allows modification of the swinging animation.
- [String] type: The type of swinging animation. Can be
none,whack,stab. Defaults towhack. - [Int] duration: A positive integer that determines the animation's duration in ticks. Defaults to
6.
- [String] type: The type of swinging animation. Can be
- [NBT Compound / JSON Object] minecraft:swing_animation: Allows modification of the swinging animation.
Sources
- Data component format/swing animation — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3556467.