shoot
Launches a projectile of the specified entity type from the player.
Categories: combat
Required arguments
| Key(s) | Description | Type |
|---|
projectile | The entity type to launch as a projectile, e.g. ARROW or SNOWBALL. | ENTITY |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
inherit_velocity | Whether the projectile should inherit the player's current velocity. | BOOLEAN | false |
launch-at-location | Whether the projectile should be teleported to the trigger location after launch. | BOOLEAN | false |
allow_pickup | Whether the projectile can be picked up by players (applies to arrows). | BOOLEAN | false |
no_source | Whether the projectile should have no shooter, preventing attribution to the player. | BOOLEAN | false |
Trigger parameters required
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
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |