ProjectileHitEntityEvent
Extends ProjectileHitEvent
Methods
__construct()
php
public function __construct(\pocketmine\entity\projectile\Projectile $entity, \pocketmine\math\RayTraceResult $rayTraceResult, \pocketmine\entity\Entity $entityHit)getEntityHit()
php
public function getEntityHit() : \pocketmine\entity\EntityReturns the Entity struck by the projectile.
