Skip to content

Fire Projectile

Entity Action Type.

Fires a projectile.

Type ID: apugli:fire_projectile

Fields

Field Type Default Description
count Integer 1 The amount of projectiles to fire each use.
speed Float 1.5 The speed applied to the fired projectile.
divergence Float 1.0 How much each projectile fired is affected by random spread.
sound Identifier optional If set, the sound with this ID will be played when the power is used.
tag String optional NBT data of the entity.
bientity_action Bi-entity Action optional A bi-entity action to execute with the user as the actor and the projectile as the target upon creating the projectile.

Example

"entity_action": {
    "type": "apugli:fire_projectile",
    "speed": 2.0,
    "entity_type": "minecraft:arrow",
    "tag": "{pickup:0}"
}
This action fires an arrow at a speed of 2 that cannot be picked up.