shoot

Launches a projectile of the specified entity type from the player.

Categories: combat

Required arguments

Key(s)DescriptionType
projectileThe entity type to launch as a projectile, e.g. ARROW or SNOWBALL.ENTITY

Optional arguments

Key(s)DescriptionTypeDefault
inherit_velocityWhether the projectile should inherit the player's current velocity.BOOLEANfalse
launch-at-locationWhether the projectile should be teleported to the trigger location after launch.BOOLEANfalse
allow_pickupWhether the projectile can be picked up by players (applies to arrows).BOOLEANfalse
no_sourceWhether the projectile should have no shooter, preventing attribution to the player.BOOLEANfalse

Trigger parameters required

  • PLAYER

Example

effects:
  - id: shoot
    args:
      projectile: <value>
      inherit_velocity: true # ← Optional
      launch-at-location: true # ← Optional
      allow_pickup: true # ← Optional
      no_source: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue