Interface: PlayerVisibilityRules
playerBeta
根据玩家特定状态控制路径点的可见性。扩展了 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?
optionalshowDead?: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?
optionalshowHidden?:boolean
Beta
Remarks
控制当被追踪的玩家处于隐藏状态时是否显示路径点。如果未定义,默认为 true。
Controls whether the waypoint is shown when the tracked player is hidden. If undefined, defaults to true.
showInvisible?
optionalshowInvisible?: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?
optionalshowSneaking?: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?
optionalshowSpectator?:boolean
Beta
Remarks
控制当被追踪的玩家处于旁观者模式时是否显示路径点。如果未定义,默认为 true。
Controls whether the waypoint is shown when the tracked player is in spectator mode. If undefined, defaults to true.
showSpectatorToSpectator?
optionalshowSpectatorToSpectator?:boolean
Beta
Remarks
控制当旁观者正在查看另一位旁观者玩家时是否显示路径点。如果未定义,默认为 true。
Controls whether the waypoint is shown when a spectator is viewing another spectator player. If undefined, defaults to true.
