Minecraft:Data component format/swing animation common: Difference between revisions
From SAS Gaming Wiki
More actions
Sync: new page from Minecraft |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
<div class="treeview"> | <div class="treeview"> | ||
** {{nbt|compound|minecraft:(attack{{!}}interact)_animation}} | ** {{nbt|compound|minecraft:(attack{{!}}interact)_animation}} | ||
<onlyinclude>*** {{nbt|string|type}}: The animation type. Can be {{cd|whack}} or {{cd| | <onlyinclude>*** {{nbt|string|type}}: The animation type. Can be {{cd|whack}}, {{cd|stab}} or {{cd|none}}. Defaults to {{cd|whack}}. | ||
*** {{nbt|int|duration}}: A positive integer that determines the animation's duration in [[Minecraft:tick]]s. Defaults to {{convert|6|ticks|seconds}}.</onlyinclude> | *** {{nbt|int|duration}}: A positive integer that determines the animation's duration in [[Minecraft:tick]]s. Defaults to {{convert|6|ticks|seconds}}.</onlyinclude> | ||
</div> | </div> | ||
[[Category:Data component format subpages]] | [[Category:Data component format subpages]] | ||
Latest revision as of 11:05, 30 August 2026
- Template:Nbt
- Template:Nbt: The animation type. Can be Template:Cd, Template:Cd or Template:Cd. Defaults to Template:Cd.
- Template:Nbt: A positive integer that determines the animation's duration in Minecraft:ticks. Defaults to Template:Convert.
- Template:Nbt