net.minecraft.world.level.pathfinder

public class WalkNodeEvaluator

extends NodeEvaluator

dpt
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
j
SPACE_BETWEEN_WALL_POSTS
field_31809
Y_OFFSET
f_164724_
protected float
k
oldWaterCost
field_63
waterPathNodeTypeWeight
f_77544_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockPathTypes>
l
pathTypesByPosCache
field_25190
nodeTypes
f_77545_
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<AABB>
m
collisionCache
field_25191
collidedBoxes
f_77546_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(cgn arg0, bbh 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(gt arg0)
getStartNode(BlockPos arg0)
method_43415(class_2338 arg0)
getStart(BlockPos pos)
m_230631_(C_4675_ arg0)
private boolean
d(gt arg0)
hasPositiveMalus(BlockPos arg0)
method_27139(class_2338 arg0)
canPathThrough(BlockPos pos)
m_77646_(C_4675_ arg0)
public Target
a(double arg0, double arg1, double arg2)
getGoal(double arg0, double arg1, double arg2)
method_16(double arg0, double arg1, double arg2)
getNode(double arg0, double arg1, double arg2)
m_7568_(double p_77551_, double arg1, double arg2)
public int
a(dpm[] arg0, dpm 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(dpm arg0, dpm arg1)
isNeighborValid(Node arg0, Node arg1)
method_20536(class_9 arg0, class_9 arg1)
isValidAdjacentSuccessor(PathNode node, PathNode successor1)
m_77626_(C_2751_ p_77628_, C_2751_ arg1)
protected boolean
a(dpm arg0, dpm arg1, dpm arg2, dpm arg3)
isDiagonalValid(Node arg0, Node arg1, Node arg2, Node arg3)
method_29579(class_9 arg0, class_9 arg1, class_9 arg2, class_9 arg3)
isValidDiagonalSuccessor(PathNode xNode, PathNode zNode, PathNode xDiagNode, PathNode zDiagNode)
m_77629_(C_2751_ p_77631_, C_2751_ p_77632_, C_2751_ p_77633_, C_2751_ arg3)
private static boolean
a(dpk arg0)
doesBlockHavePartialCollision(BlockPathTypes arg0)
method_43414(class_7 arg0)
isBlocked(PathNodeType nodeType)
m_230625_(C_2748_ p_230626_)
private boolean
b(dpm arg0)
canReachWithoutCollision(Node arg0)
method_29578(class_9 arg0)
isBlocked(PathNode node)
m_77624_(C_2751_ arg0)
protected double
a(gt arg0)
getFloorLevel(BlockPos arg0)
method_37003(class_2338 arg0)
getFeetY(BlockPos pos)
m_142213_(C_4675_ arg0)
public static double
a(cfg arg0, gt 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, gy arg5, dpk arg6)
findAcceptedNode(int arg0, int arg1, int arg2, int arg3, double arg4, Direction arg5, BlockPathTypes 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_2748_ arg6)
private Node
a(int arg0, int arg1, int arg2, dpk arg3, float arg4)
getNodeAndUpdateCostToMax(int arg0, int arg1, int arg2, BlockPathTypes arg3, float arg4)
method_43569(int arg0, int arg1, int arg2, class_7 arg3, float arg4)
method_43569(int arg0, int arg1, int arg2, PathNodeType arg3, float arg4)
m_230619_(int p_230621_, int p_230622_, int p_230623_, C_2748_ p_230624_, float arg4)
private Node
b(int arg0, int arg1, int arg2)
getBlockedNode(int arg0, int arg1, int arg2)
method_43570(int arg0, int arg1, int arg2)
method_43570(int arg0, int arg1, int arg2)
m_230627_(int p_230629_, int p_230630_, int arg2)
private boolean
a(dvo arg0)
hasCollisions(AABB arg0)
method_29304(class_238 arg0)
checkBoxCollision(Box box)
m_77634_(C_3040_ arg0)
public BlockPathTypes
a(cfg arg0, int arg1, int arg2, int arg3, bbh arg4, int arg5, int arg6, int arg7, boolean arg8, boolean arg9)
getBlockPathType(BlockGetter arg0, int arg1, int arg2, int arg3, Mob arg4, int arg5, int arg6, int arg7, boolean arg8, boolean arg9)
method_25(class_1922 arg0, int arg1, int arg2, int arg3, class_1308 arg4, int arg5, int arg6, int arg7, boolean arg8, boolean arg9)
getNodeType(BlockView arg0, int arg1, int arg2, int arg3, MobEntity arg4, int arg5, int arg6, int arg7, boolean arg8, boolean arg9)
m_7209_(C_1559_ p_77595_, int p_77596_, int p_77597_, int p_77598_, C_526_ p_77599_, int p_77600_, int p_77601_, int p_77602_, boolean p_77603_, boolean arg9)
public BlockPathTypes
a(cfg arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, EnumSet<dpk> arg9, dpk arg10, gt arg11)
getBlockPathTypes(BlockGetter arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, EnumSet<BlockPathTypes> arg9, BlockPathTypes arg10, BlockPos arg11)
method_64(class_1922 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, EnumSet<class_7> arg9, class_7 arg10, class_2338 arg11)
findNearbyNodeTypes(BlockView world, int x, int y, int z, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors, EnumSet<PathNodeType> nearbyTypes, PathNodeType type, BlockPos pos)
m_77580_(C_1559_ p_77582_, int p_77583_, int p_77584_, int p_77585_, int p_77586_, int p_77587_, int p_77588_, boolean p_77589_, boolean p_77590_, EnumSet<C_2748_> p_77591_, C_2748_ p_77592_, C_4675_ arg11)
protected BlockPathTypes
a(cfg arg0, boolean arg1, boolean arg2, gt arg3, dpk arg4)
evaluateBlockPathType(BlockGetter arg0, boolean arg1, boolean arg2, BlockPos arg3, BlockPathTypes arg4)
method_61(class_1922 arg0, boolean arg1, boolean arg2, class_2338 arg3, class_7 arg4)
adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type)
m_6603_(C_1559_ p_77615_, boolean p_77616_, boolean p_77617_, C_4675_ p_77618_, C_2748_ arg4)
private BlockPathTypes
a(bbh arg0, gt arg1)
getBlockPathType(Mob arg0, BlockPos arg1)
method_63(class_1308 arg0, class_2338 arg1)
getNodeType(MobEntity entity, BlockPos pos)
m_77572_(C_526_ p_77574_, C_4675_ arg1)
protected BlockPathTypes
a(bbh arg0, int arg1, int arg2, int arg3)
getCachedBlockType(Mob arg0, int arg1, int arg2, int arg3)
method_29303(class_1308 arg0, int arg1, int arg2, int arg3)
getNodeType(MobEntity entity, int x, int y, int z)
m_77567_(C_526_ p_77569_, int p_77570_, int p_77571_, int arg3)
public BlockPathTypes
a(cfg arg0, int arg1, int arg2, int arg3)
getBlockPathType(BlockGetter arg0, int arg1, int arg2, int arg3)
method_17(class_1922 arg0, int arg1, int arg2, int arg3)
getDefaultNodeType(BlockView arg0, int arg1, int arg2, int arg3)
m_8086_(C_1559_ p_77577_, int p_77578_, int p_77579_, int arg3)
public static BlockPathTypes
a(cfg arg0, gt$a arg1)
getBlockPathTypeStatic(BlockGetter arg0, BlockPos$MutableBlockPos arg1)
method_23476(class_1922 arg0, class_2338$class_2339 arg1)
getLandNodeType(BlockView world, BlockPos$Mutable pos)
m_77604_(C_1559_ p_77605_, C_4681_ p_77606_)
public static BlockPathTypes
a(cfg arg0, gt$a arg1, dpk arg2)
checkNeighbourBlocks(BlockGetter arg0, BlockPos$MutableBlockPos arg1, BlockPathTypes arg2)
method_59(class_1922 arg0, class_2338$class_2339 arg1, class_7 arg2)
getNodeTypeFromNeighbors(BlockView world, BlockPos$Mutable pos, PathNodeType nodeType)
m_77607_(C_1559_ p_77608_, C_4681_ p_77609_, C_2748_ p_77610_)
protected static BlockPathTypes
b(cfg arg0, gt arg1)
getBlockPathTypeRaw(BlockGetter arg0, BlockPos arg1)
method_58(class_1922 arg0, class_2338 arg1)
getCommonNodeType(BlockView world, BlockPos pos)
m_77643_(C_1559_ p_77644_, C_4675_ p_77645_)
public static boolean
a(cur arg0)
isBurningBlock(BlockState arg0)
method_27138(class_2680 arg0)
inflictsFireDamage(BlockState state)
m_77622_(C_2064_ p_77623_)