Skip to content

Fire Projectile

Provismet edited this page Sep 9, 2023 · 1 revision

Bientity Action

A bientity version of the Fire Projectile entity action. The entity with the power is the actor and fires a projectile at the target.

Type ID: proviorigins:fire_projectile

Fields

Fields Type Default Description
entity_type Identifier The entity to be launched at the target.
divergence Float 1.0 Determines how much the projectile or entity that will be launched is affected by random spread.
speed Float 1.5 The speed of the projectile or entity.
count Integer 1.0 The number of entities to spawn.
tag NBT Optional This NBT data is applied to the entity/projectile when it is spawned.
projectile_action Entity Action Type Optional The action to be applied to the projectile/entity when it is spawned.

Examples

"bientity_action": {
    "type": "proviorigins:fire_projectile",
    "entity_type": "minecraft:arrow",
    "speed": 1.5
}

This action fires an arrow at the target with a speed of 1.5 (similar to Skeleton arrow speed).