minecraft:shooter
Shooter Item Component.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
ammunition | List of object | [] | Ammunition. |
item required | Text or Object | — | Ammunition item description identifier. |
use_offhand | Boolean | false | Can use off-hand? Default is set to false. |
search_inventory | Boolean | false | Can search inventory? Default is set to false. |
use_in_creative | Boolean | false | Can use in creative mode? Default is set to false. |
max_draw_duration | Decimal | 0 | Draw Duration. Default is set to 0. |
scale_power_by_draw_duration | Boolean | false | Scale power by draw duration? Default is set to false. |
charge_on_draw | Boolean | false | Charge on draw? Default is set to false. |
Used by
No vanilla item file in the official samples uses this component. It is still part of the schema, so add-ons can use it.