on projectile_hitorg.bukkit.event.entity.ProjectileHitEventEntity1.0.0
Description
Fires when a projectile hits a block or entity.
Variables
entityEntity
NullableNo
The projectile entity
shooterPlayer
NullableYes
The player who shot the projectile, or null if not shot by a player
hit_entityEntity
NullableYes
The entity that was hit, or null if a block was hit
hit_blockBlock
NullableYes
The block that was hit, or null if an entity was hit
Examples
on projectile_hit: