minecraft:shooter

Shooter Item Component.

Properties

PropertyTypeDefaultWhat it does
ammunitionList of object[]Ammunition.
item requiredText or Object—Ammunition item description identifier.
use_offhandBooleanfalseCan use off-hand? Default is set to false.
search_inventoryBooleanfalseCan search inventory? Default is set to false.
use_in_creativeBooleanfalseCan use in creative mode? Default is set to false.
max_draw_durationDecimal0Draw Duration. Default is set to 0.
scale_power_by_draw_durationBooleanfalseScale power by draw duration? Default is set to false.
charge_on_drawBooleanfalseCharge 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.

Related components