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

    接口 EntityVisibilityRules实验性

    Controls when a waypoint is visible based on the state of the entity it tracks. These rules allow filtering waypoint visibility by entity conditions like sneaking, invisibility, and death state.

    interface EntityVisibilityRules {
        showDead?: boolean;
        showInvisible?: boolean;
        showSneaking?: boolean;
    }

    层级 (查看层级一览)

    索引

    属性

    showDead?: boolean

    Controls whether the waypoint is shown when the tracked entity is dead. If undefined, defaults to true.

    showInvisible?: boolean

    Controls whether the waypoint is shown when the tracked entity is invisible. If undefined, defaults to true.

    showSneaking?: boolean

    Controls whether the waypoint is shown when the tracked entity is sneaking. If undefined, defaults to true.