For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/PlayerVisibilityRules.md.

Interface: PlayerVisibilityRules

player

Beta

根据玩家特定状态控制路径点的可见性。扩展了 EntityVisibilityRules,增加了针对玩家专属状态(如隐藏模式和旁观者模式)的额外规则。

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.

Extends

Properties

showDead?

optional showDead?: boolean

Beta

Remarks

控制当被追踪实体死亡时是否显示路径点。如果未定义,默认为 true

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

Inherited from

EntityVisibilityRules.showDead


showHidden?

optional showHidden?: boolean

Beta

Remarks

控制当被追踪的玩家处于隐藏状态时是否显示路径点。如果未定义,默认为 true

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


showInvisible?

optional showInvisible?: boolean

Beta

Remarks

控制当被追踪实体隐形时是否显示路径点。如果未定义,默认为 true

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

Inherited from

EntityVisibilityRules.showInvisible


showSneaking?

optional showSneaking?: boolean

Beta

Remarks

控制当被追踪实体潜行时是否显示路径点。如果未定义,默认为 true

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

Inherited from

EntityVisibilityRules.showSneaking


showSpectator?

optional showSpectator?: boolean

Beta

Remarks

控制当被追踪的玩家处于旁观者模式时是否显示路径点。如果未定义,默认为 true

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


showSpectatorToSpectator?

optional showSpectatorToSpectator?: boolean

Beta

Remarks

控制当旁观者正在查看另一位旁观者玩家时是否显示路径点。如果未定义,默认为 true

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

同领域相关