The PlayerWaypoint class in @minecraft/server.
Class in @minecraft/server
Extends EntityWaypoint
import { PlayerWaypoint } from '@minecraft/server';Constructor
Section titled “Constructor”constructor( player: Player, textureSelector: WaypointTextureSelector, playerRules: PlayerVisibilityRules, color?: RGB,);Parameters
playerPlayertextureSelectorWaypointTextureSelectorplayerRulesPlayerVisibilityRulescoloroptionalRGB
Properties
Section titled “Properties”playerRules
Section titled “playerRules”read-only
readonly playerRules: PlayerVisibilityRules;Inherited
Section titled “Inherited”From EntityWaypoint: entity, entityRules
From Waypoint: color, isEnabled, isValid, textureSelector, getDimensionLocation, remove