Class: EntityNavigationGenericComponent
Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.
Extends
Constructors
new EntityNavigationGenericComponent()
private
new EntityNavigationGenericComponent():EntityNavigationGenericComponent
Returns
EntityNavigationGenericComponent
Overrides
EntityNavigationComponent
. constructor
Properties
avoidDamageBlocks
readonly
avoidDamageBlocks:boolean
Remarks
Tells the pathfinder to avoid blocks that cause damage when finding a path.
Throws
This property can throw when used.
Inherited from
EntityNavigationComponent
. avoidDamageBlocks
avoidPortals
readonly
avoidPortals:boolean
Remarks
Tells the pathfinder to avoid portals (like nether portals) when finding a path.
Throws
This property can throw when used.
Inherited from
EntityNavigationComponent
. avoidPortals
avoidSun
readonly
avoidSun:boolean
Remarks
Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.
Throws
This property can throw when used.
Inherited from
EntityNavigationComponent
. avoidSun
avoidWater
readonly
avoidWater:boolean
Remarks
Tells the pathfinder to avoid water when creating a path.
Throws
This property can throw when used.
Inherited from
EntityNavigationComponent
. avoidWater
canBreach
readonly
canBreach:boolean
Remarks
Tells the pathfinder whether or not it can jump out of water (like a dolphin).
Throws
This property can throw when used.
Inherited from
EntityNavigationComponent
. canBreach
canBreakDoors
readonly
canBreakDoors:boolean
Remarks
Tells the pathfinder that it can path through a closed door and break it.
Throws
This property can throw when used.
Inherited from
EntityNavigationComponent
. canBreakDoors
canFloat
readonly
canFloat:boolean
Remarks
Tells the pathfinder whether or not it can float.
Throws
This property can throw when used.
Inherited from
EntityNavigationComponent
. canFloat
canJump
readonly
canJump:boolean
Remarks
Tells the pathfinder whether or not it can jump up blocks.
Throws
This property can throw when used.
Inherited from
EntityNavigationComponent
. canJump
canOpenDoors
readonly
canOpenDoors:boolean
Remarks
Tells the pathfinder that it can path through a closed door assuming the AI will open the door.
Throws
This property can throw when used.
Inherited from
EntityNavigationComponent
. canOpenDoors