Interface IPathJob

All Superinterfaces:
Callable<net.minecraft.world.level.pathfinder.Path>
All Known Implementing Classes:
AbstractPathJob, PathJobCanSee, PathJobEscapeWater, PathJobFindTree, PathJobFindWater, PathJobMoveAwayFromLocation, PathJobMoveCloseToXNearY, PathJobMoveToLocation, PathJobMoveTowards, PathJobMoveToWithPassable, PathJobPathway, PathJobRaiderPathing, PathJobRandomPos, PathJobSignConnection, PathJobWalkRandomEdge

public interface IPathJob extends Callable<net.minecraft.world.level.pathfinder.Path>
Interface for path jobs
  • Method Details

    • getResult

      PathResult getResult()
      Get the path result holder for this job
      Returns:
    • getPathingOptions

      PathingOptions getPathingOptions()
      Get the pathing options used for this job
      Returns:
    • getEntity

      net.minecraft.world.entity.Mob getEntity()
    • getActualWorld

      net.minecraft.world.level.Level getActualWorld()
    • getStart

      net.minecraft.core.BlockPos getStart()