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