Throwable¶
文档版本:1.21.50.25
Throwable item component. Throwable items, such as a snowball.
架构¶
minecraft::
{
boolean "do_swing_animation" : opt
number "launch_power_scale" : opt
number "max_draw_duration" : opt
number "min_draw_duration" : opt
number "max_launch_power" : opt
boolean "scale_power_by_draw_duration" : opt
}
do_swing_animation
:boolean- Whether the item should use the swing animation when thrown. Default is set to false.
launch_power_scale
:number- The scale at which the power of the throw increases. Default is set to 1.0.
max_draw_duration
:number- The maximum duration to draw a throwable item. Default is set to 0.0.
min_draw_duration
:number- The minimum duration to draw a throwable item. Default is set to 0.0.
max_launch_power
:number- The maximum power to launch the throwable item. Default is set to 1.0.
scale_power_by_draw_duration
:boolean- Whether or not the power of the throw increases with duration charged. Default is set to false.