Beta Protected 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 information related to a projectile hitting an entity or block.