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
Interface for path jobs
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.Levelnet.minecraft.world.entity.MobGet the pathing options used for this jobGet the path result holder for this jobnet.minecraft.core.BlockPosgetStart()
-
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()
-