Compels the item to shoot, similarly to an arrow. Items with minecraft:projectile can be shot from dispensers or used as ammunition for items with the minecraft:shooter item component. Additionally, this component sets the entity that is spawned for items that also contain the minecraft:throwable component.
Projectile Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
minimum_critical_power | not set | Decimal number | Specifies how long a player must charge a projectile for it to critically hit. | My Sword Chuck: 1.25 |
projectile_entity | not set | String | Which entity is to be fired as a projectile. Value must match a regular expression pattern of "^(?:\w+(?:.\w+):(?=\w))?(?:\w+(?:.\w+))(?:<((?:\w+(?:.\w+):(?=\w))?\w+(?:.\w+))*>)?$". | Wind Charge: "wind_charge_projectile" , My Sword Chuck: "minecraft:snowball" |
Samples
"minecraft:projectile": {
"minimum_critical_power": 1.25,
"projectile_entity": "arrow"
}
Wind Charge
"minecraft:projectile": {
"projectile_entity": "wind_charge_projectile"
}
My Sword Chuck
"minecraft:projectile": {
"minimum_critical_power": 1.25,
"projectile_entity": "minecraft:snowball"
}