Class ProjectileHitEventBeta

Hierarchy

  • ProjectileHitEvent

Constructors

Properties

dimension: Dimension
hitVector: Vector
location: Vector3
projectile: Entity
source: Entity

Methods

  • Returns undefined | BlockHitInformation

    Remarks

    Contains additional information about the block that was hit by the projectile, or undefined if the projectile did not hit a block.

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

  • Returns undefined | EntityHitInformation

    Remarks

    Contains additional information about a block that was hit.

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