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.
Choices: any EntityType value
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
damage EXPRESSION2
pierce_levelThe number of entities the projectile can pierce through (applies to arrows).EXPRESSION0

Trigger parameters required

  • PLAYER

Example

effects:
  - id: shoot
    args:
      projectile: <EntityType>
      inherit_velocity: true # ← Optional
      launch-at-location: true # ← Optional
      allow_pickup: true # ← Optional
      no_source: true # ← Optional
      damage: 2 + %level% # ← Optional
      pierce_level: 1 + %level% / 20 # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue