Item Documentation - minecraft:throwable
minecraft:throwable
sets the throwable item component.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
do_swing_animation | false | Boolean | Whether the item should use the swing animation when thrown. |
launch_power_scale | 1.0 | Float | The scale at which the power of the throw increases |
max_draw_duration | 0.0 | Float | The maximum duration to draw a throwable item. |
max_launch_power | 1.0 | Float | The maximum power to launch the throwable item. |
min_draw_duration | 0.0 | Float | The minimum duration to draw a throwable item. |
scale_power_by_draw_duration | false | Boolean | Whether or not the power of the throw increases with duration charged. When true, The longer you hold, the more power it will have when released. |
See Custom Item Use Priority for more information on use behavior.
Example
"minecraft:throwable":{
"do_swing_animation" : false,
"launch_power_scale" : 1.0,
"max_draw_duration" : 0.0,
"max_launch_power" : 1.0,
"min_draw_duration" : 0.0,
"scale_power_by_draw_duration" : false
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for