The EntityNavigationComponent class in @minecraft/server.
Class in @minecraft/server
Extends EntityComponent
Extended by EntityNavigationClimbComponent, EntityNavigationFloatComponent, EntityNavigationFlyComponent, EntityNavigationGenericComponent, EntityNavigationHoverComponent, EntityNavigationWalkComponent
import { EntityNavigationComponent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”avoidDamageBlocks
Section titled “avoidDamageBlocks”read-only
readonly avoidDamageBlocks: boolean;avoidPortals
Section titled “avoidPortals”read-only
readonly avoidPortals: boolean;avoidSun
Section titled “avoidSun”read-only
readonly avoidSun: boolean;avoidWater
Section titled “avoidWater”read-only
readonly avoidWater: boolean;canBreach
Section titled “canBreach”read-only
readonly canBreach: boolean;canBreakDoors
Section titled “canBreakDoors”read-only
readonly canBreakDoors: boolean;canFloat
Section titled “canFloat”read-only
readonly canFloat: boolean;canJump
Section titled “canJump”read-only
readonly canJump: boolean;canOpenDoors
Section titled “canOpenDoors”read-only
readonly canOpenDoors: boolean;canOpenIronDoors
Section titled “canOpenIronDoors”read-only
readonly canOpenIronDoors: boolean;canPassDoors
Section titled “canPassDoors”read-only
readonly canPassDoors: boolean;canPathFromAir
Section titled “canPathFromAir”read-only
readonly canPathFromAir: boolean;canPathOverLava
Section titled “canPathOverLava”read-only
readonly canPathOverLava: boolean;canPathOverWater
Section titled “canPathOverWater”read-only
readonly canPathOverWater: boolean;canSink
Section titled “canSink”read-only
readonly canSink: boolean;canSwim
Section titled “canSwim”read-only
readonly canSwim: boolean;canWalk
Section titled “canWalk”read-only
readonly canWalk: boolean;canWalkInLava
Section titled “canWalkInLava”read-only
readonly canWalkInLava: boolean;isAmphibious
Section titled “isAmphibious”read-only
readonly isAmphibious: boolean;