Class ProjectileHitEntityAfterEvent

Contains information related to a projectile hitting an entity.

Hierarchy

  • ProjectileHitEntityAfterEvent

Constructors

Properties

dimension: Dimension

Remarks

Dimension where this projectile hit took place.

hitVector: Vector3

Remarks

Direction vector of the projectile as it hit an entity.

location: Vector3

Remarks

Location where the projectile hit occurred.

projectile: Entity

Remarks

Entity for the projectile that hit an entity.

source?: Entity

Remarks

Optional source entity that fired the projectile.

Methods

  • Returns EntityHitInformation

    Remarks

    Contains additional information about an entity that was hit.

    This function can't be called in read-only mode.