Class Creaking.HomeNodeEvaluator
java.lang.Object
net.minecraft.world.level.pathfinder.NodeEvaluator
net.minecraft.world.level.pathfinder.WalkNodeEvaluator
net.minecraft.world.entity.monster.creaking.Creaking.HomeNodeEvaluator
- Enclosing class:
Creaking
-
Field Summary
FieldsFields inherited from class net.minecraft.world.level.pathfinder.WalkNodeEvaluator
SPACE_BETWEEN_WALL_POSTS
Fields inherited from class net.minecraft.world.level.pathfinder.NodeEvaluator
canFloat, canOpenDoors, canPassDoors, canWalkOverFences, currentContext, entityDepth, entityHeight, entityWidth, mob, nodes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPathType
(PathfindingContext p_389549_, int p_389638_, int p_389512_, int p_389613_) Methods inherited from class net.minecraft.world.level.pathfinder.WalkNodeEvaluator
canStartAt, checkNeighbourBlocks, done, findAcceptedNode, getCachedPathType, getFloorLevel, getFloorLevel, getNeighbors, getPathTypeFromState, getPathTypeOfMob, getPathTypeStatic, getPathTypeStatic, getPathTypeWithinMobBB, getStart, getStartNode, getTarget, isAmphibious, isDiagonalValid, isDiagonalValid, isNeighborValid, prepare
Methods inherited from class net.minecraft.world.level.pathfinder.NodeEvaluator
canFloat, canOpenDoors, canPassDoors, canWalkOverFences, getNode, getNode, getPathType, getTargetNodeAt, isBurningBlock, setCanFloat, setCanOpenDoors, setCanPassDoors, setCanWalkOverFences
-
Field Details
-
MAX_DISTANCE_TO_HOME_SQ
private static final int MAX_DISTANCE_TO_HOME_SQ- See Also:
-
-
Constructor Details
-
HomeNodeEvaluator
HomeNodeEvaluator()
-
-
Method Details
-
getPathType
public PathType getPathType(PathfindingContext p_389549_, int p_389638_, int p_389512_, int p_389613_) - Overrides:
getPathType
in classWalkNodeEvaluator
-