net.minecraft.world.level.pathfinder

public class WalkNodeEvaluator

extends NodeEvaluator

eot
net.minecraft.world.level.pathfinder.WalkNodeEvaluator
net.minecraft.class_14
net.minecraft.entity.ai.pathing.LandPathNodeMaker
net.minecraft.src.C_2759_
net.minecraft.world.level.pathfinder.PathfinderNormal

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(dcn arg0, btt arg1)
prepare(PathNavigationRegion arg0, Mob arg1)
method_12(class_1950 arg0, class_1308 arg1)
init(ChunkCache arg0, MobEntity arg1)
m_6028_(C_1615_ p_77621_, C_526_ arg1)
public void
b()
done()
method_19()
clear()
m_6802_()
public Node
a()
getStart()
method_21()
getStart()
m_7171_()
protected Node
c(iz arg0)
getStartNode(BlockPos arg0)
method_43415(class_2338 arg0)
getStart(BlockPos pos)
m_230631_(C_4675_ arg0)
protected boolean
a(iz arg0)
canStartAt(BlockPos arg0)
method_47893(class_2338 arg0)
canPathThrough(BlockPos pos)
m_262494_(C_4675_ arg0)
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)
m_319819_(double p_329070_, double arg1, double arg2)
public int
a(eoj[] arg0, eoj arg1)
getNeighbors(Node[] arg0, Node arg1)
method_18(class_9[] arg0, class_9 arg1)
getSuccessors(PathNode[] arg0, PathNode arg1)
m_6065_(C_2751_[] p_77641_, C_2751_ arg1)
protected boolean
a(eoj arg0, eoj arg1)
isNeighborValid(Node arg0, Node arg1)
method_20536(class_9 arg0, class_9 arg1)
isValidAdjacentSuccessor(PathNode node, PathNode successor)
m_77626_(C_2751_ p_77628_, C_2751_ arg1)
protected boolean
a(eoj arg0, eoj arg1, eoj 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)
m_77629_(C_2751_ p_77631_, C_2751_ p_77632_, C_2751_ arg2)
protected boolean
a(eoj arg0)
isDiagonalValid(Node arg0)
method_57089(class_9 arg0)
isValidDiagonalSuccessor(PathNode node)
m_321731_(C_2751_ arg0)
private static boolean
a(eoo arg0)
doesBlockHavePartialCollision(PathType arg0)
method_43414(class_7 arg0)
isBlocked(PathNodeType nodeType)
m_230625_(C_313716_ p_332557_)
private boolean
b(eoj arg0)
canReachWithoutCollision(Node arg0)
method_29578(class_9 arg0)
isBlocked(PathNode node)
m_77624_(C_2751_ arg0)
protected double
d(iz arg0)
getFloorLevel(BlockPos arg0)
method_37003(class_2338 arg0)
getFeetY(BlockPos pos)
m_142213_(C_4675_ arg0)
public static double
a(dbg arg0, iz arg1)
getFloorLevel(BlockGetter arg0, BlockPos arg1)
method_60(class_1922 arg0, class_2338 arg1)
getFeetY(BlockView world, BlockPos pos)
m_77611_(C_1559_ p_77612_, C_4675_ p_77613_)
protected boolean
c()
isAmphibious()
method_37004()
isAmphibious()
m_141974_()
protected Node
a(int arg0, int arg1, int arg2, int arg3, double arg4, je arg5, eoo 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)
m_164725_(int p_164727_, int p_164728_, int p_164729_, int p_164730_, double p_164731_, C_4687_ arg5, C_313716_ arg6)
private double
h()
getMobJumpHeight()
method_46739()
getStepHeight()
m_255203_()
private Node
a(int arg0, int arg1, int arg2, eoo 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)
m_230619_(int p_230621_, int p_230622_, int p_335762_, C_313716_ p_230624_, float arg4)
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)
m_230627_(int p_230629_, int p_230630_, int arg2)
private Node
a(int arg0, int arg1, int arg2, eoo 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)
m_321803_(int p_333094_, int p_327804_, int p_334600_, C_313716_ arg3)
private Node
a(int arg0, int arg1, int arg2, int arg3, double arg4, je arg5, eoo arg6, iz$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)
m_324533_(int p_333388_, int p_331837_, int p_329120_, int p_335627_, double p_334618_, C_4687_ p_329431_, C_313716_ arg6, C_4675_$C_4681_ arg7)
private Node
a(int arg0, int arg1, int arg2, eoj 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)
m_324617_(int p_335840_, int p_330496_, int p_327969_, C_2751_ arg3)
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)
m_322432_(int p_328639_, int p_335885_, int arg2)
private boolean
a(evo arg0)
hasCollisions(AABB arg0)
method_29304(class_238 arg0)
checkBoxCollision(Box box)
m_77634_(C_3040_ arg0)
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)
m_321558_(int p_334833_, int p_334446_, int arg2)
public PathType
a(eoq arg0, int arg1, int arg2, int arg3, btt 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)
m_319854_(C_313494_ p_330284_, int p_332224_, int p_335362_, int p_327680_, C_526_ arg4)
public Set<PathType>
b(eoq 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)
m_320358_(C_313494_ p_335980_, int p_330052_, int p_334476_, int arg3)
public PathType
a(eoq 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)
m_320240_(C_313494_ p_327758_, int p_329863_, int p_328680_, int arg3)
public static PathType
b(btt arg0, iz arg1)
getPathTypeStatic(Mob arg0, BlockPos arg1)
method_57625(class_1308 arg0, class_2338 arg1)
getLandNodeType(MobEntity entity, BlockPos pos)
m_324593_(C_526_ p_332988_, C_4675_ p_332803_)
public static PathType
a(eoq arg0, iz$a arg1)
getPathTypeStatic(PathfindingContext arg0, BlockPos$MutableBlockPos arg1)
method_23476(class_9316 arg0, class_2338$class_2339 arg1)
getLandNodeType(PathContext context, BlockPos$Mutable pos)
m_324107_(C_313494_ p_335315_, C_4675_$C_4681_ p_334167_)
public static PathType
a(eoq arg0, int arg1, int arg2, int arg3, eoo 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)
m_77607_(C_313494_ p_334221_, int p_336062_, int p_335259_, int p_336315_, C_313716_ p_333971_)
protected static PathType
b(dbg arg0, iz arg1)
getPathTypeFromState(BlockGetter arg0, BlockPos arg1)
method_58(class_1922 arg0, class_2338 arg1)
getCommonNodeType(BlockView world, BlockPos pos)
m_324497_(C_1559_ p_335222_, C_4675_ p_331935_)