@minecraft/serverInterfacesEntityRaycastHit本页总览Interface: EntityRaycastHit Contains information for entity raycast hit results. Properties distance distance: number Remarks Distance from ray origin to entity bounds. entity entity: Entity Remarks Entity that was hit.