Beta Private constructorReadonly dimensionDimension where this projectile hit took place.
Readonly hitDirection vector of the projectile as it hit a block/entity.
Readonly locationLocation where the projectile hit occurred.
Readonly projectileEntity for the projectile that hit a block/entity.
Readonly sourceOptional source entity that fired the projectile.
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.
Contains additional information about a block that was hit.
This function can't be called in read-only mode.
Contains information related to a projectile hitting an entity or block.