The minecraft:throwable
item component allows this item to be thrown as an entity.
This item component requires the item to also have the minecraft:projectile item component in order to throw the projectile.
Name | Description | Type | Default Value |
---|---|---|---|
speed | The speed of the projectile when thrown. | A non-negative float | |
angle_offset | The angle, in degrees, that affects the vertical speed the projectile is thrown at. | A float | |
draw_duration | The time frame the player can throw the projectile in. | An optional integer range. If omitted, the projectile is thrown immediately. | |
use_riptide_check | Whether to check for riptide and if the player is touching water or rain before throwing. | An optional boolean | false |
{ "angle_offset": 0.0, "speed": 1.5 }