@minecraft
    正在准备搜索索引...

    类 ProjectileHitEntityAfterEvent

    Contains information related to a projectile hitting an entity.

    索引

    属性

    dimension: Dimension

    Dimension where this projectile hit took place.

    hitVector: Vector3

    Direction vector of the projectile as it hit an entity.

    location: Vector3

    Location where the projectile hit occurred.

    projectile: Entity

    Entity for the projectile that hit an entity.

    source?: Entity

    Optional source entity that fired the projectile.

    方法