The PlayerVisibilityRules interface in @minecraft/server.
Interface in @minecraft/server
Extends EntityVisibilityRules
import type { PlayerVisibilityRules } from '@minecraft/server';Properties
Section titled “Properties”showHidden
Section titled “showHidden”optional
showHidden?: boolean;showSpectator
Section titled “showSpectator”optional
showSpectator?: boolean;showSpectatorToSpectator
Section titled “showSpectatorToSpectator”optional
showSpectatorToSpectator?: boolean;Used by
Section titled “Used by”PlayerWaypoint.playerRules, PlayerWaypoint.constructor
Inherited
Section titled “Inherited”From EntityVisibilityRules: showDead, showInvisible, showSneaking