Fire Projectile - apace100/origins-fabric GitHub Wiki
Power Type. An active power which fires one or more projectiles when the active power key is pressed.
Type ID: origins:fire_projectile
Fields:
entity_type
, string: The ID of the projectile entity type that will be fired.
cooldown
, int: The number of ticks the player has to wait between uses of this power.
count
, int, default = 1: The amount of projectiles to fire each use.
speed
, float, default = 1.5: The speed applied to the fired projectile.
divergence
, float, default = 1.0: How much each projectile fired is affected by random spread.
sound
, string, optional: When defined, this is the ID of the sound event that will be played when the power is used.
hud_render
, Hud Render: Specifies how and if a cooldown bar is rendered.
tag
, string, optional: NBT data of the entity.
key
, Key, default = "primary": Which active key this power should respond to.