Class PathJobSignConnection
java.lang.Object
com.minecolonies.core.entity.pathfinding.pathjobs.AbstractPathJob
com.minecolonies.core.entity.pathfinding.pathjobs.PathJobMoveToLocation
com.minecolonies.core.entity.pathfinding.pathjobs.PathJobSignConnection
- All Implemented Interfaces:
IPathJob,IDestinationPathJob,Callable<net.minecraft.world.level.pathfinder.Path>
Custom path job to connect signs.
-
Field Summary
Fields inherited from class com.minecolonies.core.entity.pathfinding.pathjobs.PathJobMoveToLocation
destinationFields inherited from class com.minecolonies.core.entity.pathfinding.pathjobs.AbstractPathJob
cachedBlockLookup, debugDrawEnabled, debugNodesExtra, debugNodesNotVisited, debugNodesOrgPath, debugNodesPath, debugNodesVisited, debugNodesVisitedLater, entity, extraNodes, heuristicMod, MAX_NODES, maxNodes, result, start, tempWorldPos, totalNodesVisited, world -
Constructor Summary
ConstructorsConstructorDescriptionPathJobSignConnection(net.minecraft.world.level.Level world, @NotNull net.minecraft.core.BlockPos start, net.minecraft.core.BlockPos end, int range) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisAtDestination(@NotNull MNode n) Checks if the target has been reached.Methods inherited from class com.minecolonies.core.entity.pathfinding.pathjobs.PathJobMoveToLocation
computeHeuristic, getDestination, getEndNodeScore, isJobFor, search, stopOnNodeLimit, toStringMethods inherited from class com.minecolonies.core.entity.pathfinding.pathjobs.AbstractPathJob
call, computeCost, exploreInDirection, getActualWorld, getEntity, getGroundHeight, getPathingOptions, getResult, getStart, handleDebugOptions, initDebug, isPassable, isPassable, modifyCost, setPathingOptions, syncDebug, visitNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.minecolonies.core.entity.pathfinding.pathjobs.IDestinationPathJob
getDestination
-
Constructor Details
-
PathJobSignConnection
public PathJobSignConnection(net.minecraft.world.level.Level world, @NotNull @NotNull net.minecraft.core.BlockPos start, net.minecraft.core.BlockPos end, int range)
-
-
Method Details
-
isAtDestination
Description copied from class:PathJobMoveToLocationChecks if the target has been reached.- Overrides:
isAtDestinationin classPathJobMoveToLocation- Parameters:
n- Node to test.- Returns:
- true if has been reached.
-