Fire Projectile
Fires one or more projectiles or entities.
Type ID: origins:fire_projectile
Fields
Field | Type | Default | Description |
---|---|---|---|
entity_type |
Identifier | The identifier of the projectile or entity that will be launched. | |
divergence |
Float | 1.0 |
Determines how much the projectile or entity that will be launched is affected by random spread. |
speed |
Float | 1.0 |
Determines the speed of the projectile or entity that will be launched. |
count |
Integer | 1 |
Determines the count of projectiles or entities that will be launched. |
tag |
NBT | optional | If specified, this NBT data will be added to the projectile or entity that will be launched. |
projectile_action |
Entity Action Type | optional | If specified, this entity action will be executed on the projectile or entity that will be launched. |
Examples
"entity_action": {
"type": "origins:fire_projectile",
"entity_type": "minecraft:snowball",
"divergence": 3.0,
"count": 3
}
This example will fire three snowballs at where the player is facing.