net.minecraft.world.level.pathfinder

public class WalkNodeEvaluator

extends NodeEvaluator

due
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
m
DEFAULT_MOB_JUMP_HEIGHT
field_40928
MIN_STEP_HEIGHT
f_254631_
protected float
l
oldWaterCost
field_63
waterPathNodeTypeWeight
f_77544_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockPathTypes>
n
pathTypesByPosCache
field_25190
nodeTypes
f_77545_
private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<AABB>
o
collisionCache
field_25191
collidedBoxes
f_77546_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(ckj arg0, bei 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(gp arg0)
getStartNode(BlockPos arg0)
method_43415(class_2338 arg0)
getStart(BlockPos pos)
m_230631_(C_4675_ arg0)
protected boolean
a(gp 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)
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(dtx[] arg0, dtx 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(dtx arg0, dtx 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(dtx arg0, dtx arg1, dtx arg2, dtx 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(dtv arg0)
doesBlockHavePartialCollision(BlockPathTypes arg0)
method_43414(class_7 arg0)
isBlocked(PathNodeType nodeType)
m_230625_(C_2748_ p_230626_)
private boolean
b(dtx arg0)
canReachWithoutCollision(Node arg0)
method_29578(class_9 arg0)
isBlocked(PathNode node)
m_77624_(C_2751_ arg0)
protected double
d(gp arg0)
getFloorLevel(BlockPos arg0)
method_37003(class_2338 arg0)
getFeetY(BlockPos pos)
m_142213_(C_4675_ arg0)
public static double
a(cjc arg0, gp 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, gv arg5, dtv 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 double
h()
getMobJumpHeight()
method_46739()
getStepHeight()
m_255203_()
private Node
a(int arg0, int arg1, int arg2, dtv 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)
getNodeWith(int x, int y, int z, PathNodeType type, float penalty)
m_230619_(int p_230621_, int p_230622_, int p_230623_, C_2748_ 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 boolean
a(dzz arg0)
hasCollisions(AABB arg0)
method_29304(class_238 arg0)
checkBoxCollision(Box box)
m_77634_(C_3040_ arg0)
public BlockPathTypes
a(cjc arg0, int arg1, int arg2, int arg3, bei 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(cjc arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, EnumSet<dtv> arg9, dtv arg10, gp 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(cjc arg0, boolean arg1, boolean arg2, gp arg3, dtv 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)
protected BlockPathTypes
a(bei arg0, gp 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(bei 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(cjc 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(cjc arg0, gp$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_4675_$C_4681_ p_77606_)
public static BlockPathTypes
a(cjc arg0, gp$a arg1, dtv 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_4675_$C_4681_ p_77609_, C_2748_ p_77610_)
protected static BlockPathTypes
b(cjc arg0, gp 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(cyt arg0)
isBurningBlock(BlockState arg0)
method_27138(class_2680 arg0)
inflictsFireDamage(BlockState state)
m_77622_(C_2064_ p_77623_)