Fire Projectile
Fires one or more projectiles or entities.
Type ID: eggolib:fire_projectile
Note
This action type can spawn in entities with passengers.
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 amount of projectiles or entities that will be launched. |
tag |
String | optional | If specified, this NBT data will be added to the projectile or entity that will be launched. |
entity_action |
Entity Action Type | optional | If specified, this action will be executed on the projectile or entity that will be launched. |
Examples
This example will launch a Fireball in the direction the entity is facing.