Class: EntityNavigationFlyComponent
Allows this entity to generate paths in the air (for example, like Minecraft parrots do.)
Extends
Constructors
new EntityNavigationFlyComponent()
private
new EntityNavigationFlyComponent():EntityNavigationFlyComponent
Returns
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.