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

    类 LocationWaypoint实验性

    Waypoint that points to a fixed location in the world. Unlike entity waypoints, location waypoints always remain valid and their position can be updated.

    层级 (查看层级一览)

    索引

    构造函数

    属性

    color?: RGB

    Optional RGB color tint applied to the waypoint icon. If not specified, the waypoint uses its default color.

    isEnabled: boolean

    Controls whether the waypoint is currently displayed on the player's screen. When disabled, the waypoint is hidden but remains valid.

    isValid: boolean

    Returns whether the waypoint is currently valid. A waypoint becomes invalid when its tracked entity is no longer valid.

    textureSelector: WaypointTextureSelector

    The WaypointTextureSelector that determines which icon texture is displayed for the waypoint based on distance or other criteria.

    方法

    • 世界修改

      返回 void

      Removes the waypoint from all locator bars it has been added to. This affects all players who have this waypoint in their locator bar.