minecraft:throwable
Throwable items can be thrown by the player, such as a snowball.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
do_swing_animation | Boolean | false | Determines whether the item should use the swing animation when thrown. Default is set to false. |
min_draw_duration | Decimal | 0 | The minimum duration to draw a throwable item. Default is set to 0.0. |
max_draw_duration | Decimal | 0 | The maximum duration to draw a throwable item. Default is set to 0.0. |
launch_power_scale | Decimal | 1 | The scale at which the power of the throw increases. Default is set to 1.0. |
max_launch_power | Decimal | 1 | The maximum power to launch the throwable item. Default is set to 1.0. |
scale_power_by_draw_duration | Boolean | false | Whether or not the power of the throw increases with duration charged. Default is set to false. |
Example from the game files
This is how vanilla wind_charge uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:throwable": {
"do_swing_animation": true,
"launch_power_scale": 1.5,
"max_launch_power": 1.5
}
}Used by 1
Vanilla items with minecraft:throwable in their definition:
wind_charge