Script API - v1.26.10.25
    Preparing search index...

    Interface PlayerVisibilityRulesBeta

    Controls when a waypoint is visible based on player-specific states. Extends EntityVisibilityRules with additional rules for player-only states like hidden mode and spectator mode.

    interface PlayerVisibilityRules {
        showDead?: boolean;
        showHidden?: boolean;
        showInvisible?: boolean;
        showSneaking?: boolean;
        showSpectator?: boolean;
        showSpectatorToSpectator?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    showDead?: boolean

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

    showHidden?: boolean

    Controls whether the waypoint is shown when the tracked player is hidden. 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.

    showSpectator?: boolean

    Controls whether the waypoint is shown when the tracked player is in spectator mode. If undefined, defaults to true.

    showSpectatorToSpectator?: boolean

    Controls whether the waypoint is shown when a spectator is viewing another spectator player. If undefined, defaults to true.