Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines an item as a projectile that can be shot from dispensers or used as ammunition with minecraft:shooter. When combined with minecraft:throwable, this component specifies which entity is spawned when the item is thrown.
Item Components Projectile Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| minimum_critical_power | 0 | 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"
}