Class PFPathingEntity

java.lang.Object
net.minestom.server.entity.pathfinding.PFPathingEntity
All Implemented Interfaces:
com.extollit.gaming.ai.path.model.IDynamicMovableObject, com.extollit.gaming.ai.path.model.IPathingEntity

@Internal public final class PFPathingEntity extends Object implements com.extollit.gaming.ai.path.model.IPathingEntity
  • Constructor Details

    • PFPathingEntity

      public PFPathingEntity(Navigator navigator)
  • Method Details

    • age

      public int age()
      Specified by:
      age in interface com.extollit.gaming.ai.path.model.IPathingEntity
    • bound

      public boolean bound()
      Specified by:
      bound in interface com.extollit.gaming.ai.path.model.IPathingEntity
    • searchRange

      public float searchRange()
      Specified by:
      searchRange in interface com.extollit.gaming.ai.path.model.IPathingEntity
    • setSearchRange

      public void setSearchRange(float searchRange)
      Changes the search range of the entity
      Parameters:
      searchRange - the new entity's search range
    • isFireResistant

      public boolean isFireResistant()
    • setFireResistant

      public void setFireResistant(boolean fireResistant)
    • isCautious

      public boolean isCautious()
    • setCautious

      public void setCautious(boolean cautious)
    • isClimber

      public boolean isClimber()
    • setClimber

      public void setClimber(boolean climber)
    • isSwimmer

      public boolean isSwimmer()
    • setSwimmer

      public void setSwimmer(boolean swimmer)
    • isAquatic

      public boolean isAquatic()
    • setAquatic

      public void setAquatic(boolean aquatic)
    • isAvian

      public boolean isAvian()
    • setAvian

      public void setAvian(boolean avian)
    • isAquaphobic

      public boolean isAquaphobic()
    • setAquaphobic

      public void setAquaphobic(boolean aquaphobic)
    • isAvoidsDoorways

      public boolean isAvoidsDoorways()
    • setAvoidsDoorways

      public void setAvoidsDoorways(boolean avoidsDoorways)
    • isOpensDoors

      public boolean isOpensDoors()
    • setOpensDoors

      public void setOpensDoors(boolean opensDoors)
    • capabilities

      public com.extollit.gaming.ai.path.model.IPathingEntity.Capabilities capabilities()
      Specified by:
      capabilities in interface com.extollit.gaming.ai.path.model.IPathingEntity
    • moveTo

      public void moveTo(com.extollit.linalg.immutable.Vec3d position, com.extollit.gaming.ai.path.model.Passibility passibility, com.extollit.gaming.ai.path.model.Gravitation gravitation)
      Specified by:
      moveTo in interface com.extollit.gaming.ai.path.model.IPathingEntity
    • coordinates

      public com.extollit.linalg.immutable.Vec3d coordinates()
      Specified by:
      coordinates in interface com.extollit.gaming.ai.path.model.IDynamicMovableObject
    • width

      public float width()
      Specified by:
      width in interface com.extollit.gaming.ai.path.model.IDynamicMovableObject
    • height

      public float height()
      Specified by:
      height in interface com.extollit.gaming.ai.path.model.IDynamicMovableObject