net.minecraft.world.level.pathfinder

public class WalkNodeEvaluator

extends NodeEvaluator

eut
net.minecraft.world.level.pathfinder.WalkNodeEvaluator
net.minecraft.class_14
net.minecraft.entity.ai.pathing.LandPathNodeMaker
net.minecraft.world.level.pathfinder.PathfinderNormal

Field summary

Modifier and TypeField
public static final double
l
SPACE_BETWEEN_WALL_POSTS
field_31809
Y_OFFSET
private static final double
a
DEFAULT_MOB_JUMP_HEIGHT
field_40928
MIN_STEP_HEIGHT
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<PathType>
m
pathTypesByPosCacheByMob
field_49156
nodeTypes
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<AABB>
n
collisionCache
field_25191
collidedBoxes
private final Node[]
o
reusableNeighbors
field_49157
successors

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(dhv arg0, bwi arg1)
prepare(PathNavigationRegion arg0, Mob arg1)
method_12(class_1950 arg0, class_1308 arg1)
init(ChunkCache arg0, MobEntity arg1)
public void
b()
done()
method_19()
clear()
public Node
a()
getStart()
method_21()
getStart()
protected Node
c(jh arg0)
getStartNode(BlockPos arg0)
method_43415(class_2338 arg0)
getStart(BlockPos pos)
protected boolean
a(jh arg0)
canStartAt(BlockPos arg0)
method_47893(class_2338 arg0)
canPathThrough(BlockPos pos)
public Target
a(double arg0, double arg1, double arg2)
getTarget(double arg0, double arg1, double arg2)
method_16(double arg0, double arg1, double arg2)
getNode(double arg0, double arg1, double arg2)
public int
a(euj[] arg0, euj arg1)
getNeighbors(Node[] arg0, Node arg1)
method_18(class_9[] arg0, class_9 arg1)
getSuccessors(PathNode[] arg0, PathNode arg1)
protected boolean
a(euj arg0, euj arg1)
isNeighborValid(Node arg0, Node arg1)
method_20536(class_9 arg0, class_9 arg1)
isValidAdjacentSuccessor(PathNode node, PathNode successor)
protected boolean
a(euj arg0, euj arg1, euj arg2)
isDiagonalValid(Node arg0, Node arg1, Node arg2)
method_29579(class_9 arg0, class_9 arg1, class_9 arg2)
isValidDiagonalSuccessor(PathNode xNode, PathNode zNode, PathNode xDiagNode)
protected boolean
a(euj arg0)
isDiagonalValid(Node arg0)
method_57089(class_9 arg0)
isValidDiagonalSuccessor(PathNode node)
private static boolean
a(euo arg0)
doesBlockHavePartialCollision(PathType arg0)
method_43414(class_7 arg0)
isBlocked(PathNodeType nodeType)
private boolean
b(euj arg0)
canReachWithoutCollision(Node arg0)
method_29578(class_9 arg0)
isBlocked(PathNode node)
protected double
d(jh arg0)
getFloorLevel(BlockPos arg0)
method_37003(class_2338 arg0)
getFeetY(BlockPos pos)
public static double
a(dgn arg0, jh arg1)
getFloorLevel(BlockGetter arg0, BlockPos arg1)
method_60(class_1922 arg0, class_2338 arg1)
getFeetY(BlockView world, BlockPos pos)
protected boolean
c()
isAmphibious()
method_37004()
isAmphibious()
protected Node
a(int arg0, int arg1, int arg2, int arg3, double arg4, jm arg5, euo arg6)
findAcceptedNode(int arg0, int arg1, int arg2, int arg3, double arg4, Direction arg5, PathType arg6)
method_62(int arg0, int arg1, int arg2, int arg3, double arg4, class_2350 arg5, class_7 arg6)
getPathNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType)
private double
h()
getMobJumpHeight()
method_46739()
getStepHeight()
private Node
a(int arg0, int arg1, int arg2, euo arg3, float arg4)
getNodeAndUpdateCostToMax(int arg0, int arg1, int arg2, PathType arg3, float arg4)
method_43569(int arg0, int arg1, int arg2, class_7 arg3, float arg4)
getNodeWith(int x, int y, int z, PathNodeType type, float penalty)
private Node
a(int arg0, int arg1, int arg2)
getBlockedNode(int arg0, int arg1, int arg2)
method_43570(int arg0, int arg1, int arg2)
getBlockedNode(int x, int y, int z)
private Node
a(int arg0, int arg1, int arg2, euo arg3)
getClosedNode(int arg0, int arg1, int arg2, PathType arg3)
method_57088(int arg0, int arg1, int arg2, class_7 arg3)
getNodeWith(int x, int y, int z, PathNodeType type)
private Node
a(int arg0, int arg1, int arg2, int arg3, double arg4, jm arg5, euo arg6, jh$a arg7)
tryJumpOn(int arg0, int arg1, int arg2, int arg3, double arg4, Direction arg5, PathType arg6, BlockPos$MutableBlockPos arg7)
method_57085(int arg0, int arg1, int arg2, int arg3, double arg4, class_2350 arg5, class_7 arg6, class_2338$class_2339 arg7)
getJumpOnTopNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType, BlockPos$Mutable mutablePos)
private Node
a(int arg0, int arg1, int arg2, euj arg3)
tryFindFirstNonWaterBelow(int arg0, int arg1, int arg2, Node arg3)
method_57087(int arg0, int arg1, int arg2, class_9 arg3)
getNonWaterNodeBelow(int x, int y, int z, PathNode node)
private Node
d(int arg0, int arg1, int arg2)
tryFindFirstGroundNodeBelow(int arg0, int arg1, int arg2)
method_57091(int arg0, int arg1, int arg2)
getOpenNode(int x, int y, int z)
private boolean
a(fbt arg0)
hasCollisions(AABB arg0)
method_29304(class_238 arg0)
checkBoxCollision(Box box)
protected PathType
b(int arg0, int arg1, int arg2)
getCachedPathType(int arg0, int arg1, int arg2)
method_31932(int arg0, int arg1, int arg2)
getNodeType(int x, int y, int z)
public PathType
a(euq arg0, int arg1, int arg2, int arg3, bwi arg4)
getPathTypeOfMob(PathfindingContext arg0, int arg1, int arg2, int arg3, Mob arg4)
method_25(class_9316 arg0, int arg1, int arg2, int arg3, class_1308 arg4)
getNodeType(PathContext arg0, int arg1, int arg2, int arg3, MobEntity arg4)
public Set<PathType>
b(euq arg0, int arg1, int arg2, int arg3)
getPathTypeWithinMobBB(PathfindingContext arg0, int arg1, int arg2, int arg3)
method_57090(class_9316 arg0, int arg1, int arg2, int arg3)
getCollidingNodeTypes(PathContext context, int x, int y, int z)
public PathType
a(euq arg0, int arg1, int arg2, int arg3)
getPathType(PathfindingContext arg0, int arg1, int arg2, int arg3)
method_17(class_9316 arg0, int arg1, int arg2, int arg3)
getDefaultNodeType(PathContext arg0, int arg1, int arg2, int arg3)
public static PathType
b(bwi arg0, jh arg1)
getPathTypeStatic(Mob arg0, BlockPos arg1)
method_57625(class_1308 arg0, class_2338 arg1)
getLandNodeType(MobEntity entity, BlockPos pos)
public static PathType
a(euq arg0, jh$a arg1)
getPathTypeStatic(PathfindingContext arg0, BlockPos$MutableBlockPos arg1)
method_23476(class_9316 arg0, class_2338$class_2339 arg1)
getLandNodeType(PathContext context, BlockPos$Mutable pos)
public static PathType
a(euq arg0, int arg1, int arg2, int arg3, euo arg4)
checkNeighbourBlocks(PathfindingContext arg0, int arg1, int arg2, int arg3, PathType arg4)
method_59(class_9316 arg0, int arg1, int arg2, int arg3, class_7 arg4)
getNodeTypeFromNeighbors(PathContext context, int x, int y, int z, PathNodeType fallback)
protected static PathType
b(dgn arg0, jh arg1)
getPathTypeFromState(BlockGetter arg0, BlockPos arg1)
method_58(class_1922 arg0, class_2338 arg1)
getCommonNodeType(BlockView world, BlockPos pos)