Data component format/use effects
Minecraft Wiki article. Categories: Data_component_format_subpages
📌 Mirrored from Minecraft Wiki
This article is reproduced from Data component format/use effects on the Minecraft Wiki. Mirrored from revision 3556470. 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:use_effects: Defines the vibrations and player movement penalties when an item with a continuous use action is being used.
- [Boolean] can_sprint: If the player can sprint during use. Defaults to
false. - [Float] speed_multiplier: A ranged float (0.0-1.0 inclusive) speed multiplier inflicted during use. Defaults to
0.2. - [Boolean] interact_vibrations: Whether using this item emits the
minecraft:item_interact_startandminecraft:item_interact_finishgame events. Defaults totrue.
- [Boolean] can_sprint: If the player can sprint during use. Defaults to
- [NBT Compound / JSON Object] minecraft:use_effects: Defines the vibrations and player movement penalties when an item with a continuous use action is being used.
Sources
- Data component format/use effects — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3556470.