Options
All
  • Public
  • Public/Protected
  • All
Menu

Object used to build path and move mobs to the required coordinates using specified parameters. All the setters return current PathNavigation instance to be able to produce chained calls. Some of the

Hierarchy

  • PathNavigation

Index

Methods

  • canOpenDoors(): boolean
  • canPassDoors(): boolean
  • getAvoidDamageBlocks(): boolean
  • getAvoidPortals(): boolean
  • getAvoidWater(): boolean
  • getCanBreach(): boolean
  • getCanFloat(): boolean
  • getCanJump(): boolean
  • getCanSink(): boolean
  • getSpeed(): number
  • isAmphibious(): boolean
  • isRiverFollowing(): boolean
  • moveToCoords(x: number, y: number, z: number, speed: number): PathNavigation
  • Builds path to the specified entity. Note that current coordinates of entity are used, and are not updated

    Parameters

    • entity: number
    • speed: number

      entity movement speed

    Returns PathNavigation

Generated using TypeDoc