Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Pathfinder

Velt's Pathfinder Utility. Note this uses functionality only available with PaperMC.

requires

PaperMC

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Create a pathfinder from an entity

    requires

    PaperMC

    Parameters

    • entity: any

      The entity to create the pathfinder from

    Returns Pathfinder

Properties

aware

aware: boolean

If the entity is aware of its surroundings.

path

path: any

The entity's current path

target

target: any

The entity's current target

Methods

pathfind

  • Make the entity pathfind to a specific location

    Parameters

    • loc: any

      The location to pathfind to

    Returns Pathfinder

Generated using TypeDoc