net.minecraft.world.level.pathfinder

public class WalkNodeEvaluator

extends NodeEvaluator

dxe
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(cmv arg0, bfz 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)
protected boolean
a(gt 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(dwx[] arg0, dwx 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(dwx arg0, dwx 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(dwx arg0, dwx arg1, dwx arg2, dwx 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(dwv arg0)
doesBlockHavePartialCollision(BlockPathTypes arg0)
method_43414(class_7 arg0)
isBlocked(PathNodeType nodeType)
m_230625_(C_2748_ p_230626_)
private boolean
b(dwx arg0)
canReachWithoutCollision(Node arg0)
method_29578(class_9 arg0)
isBlocked(PathNode node)
m_77624_(C_2751_ arg0)
protected double
d(gt arg0)
getFloorLevel(BlockPos arg0)
method_37003(class_2338 arg0)
getFeetY(BlockPos pos)
m_142213_(C_4675_ arg0)
public static double
a(clo 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, gz arg5, dwv 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, dwv 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(ecz arg0)
hasCollisions(AABB arg0)
method_29304(class_238 arg0)
checkBoxCollision(Box box)
m_77634_(C_3040_ arg0)
public BlockPathTypes
a(clo arg0, int arg1, int arg2, int arg3, bfz arg4)
getBlockPathType(BlockGetter arg0, int arg1, int arg2, int arg3, Mob arg4)
method_25(class_1922 arg0, int arg1, int arg2, int arg3, class_1308 arg4)
getNodeType(BlockView arg0, int arg1, int arg2, int arg3, MobEntity arg4)
m_7209_(C_1559_ p_265661_, int p_265757_, int p_265716_, int p_265398_, C_526_ arg4)
public BlockPathTypes
a(clo arg0, int arg1, int arg2, int arg3, EnumSet<dwv> arg4, dwv arg5, gt arg6)
getBlockPathTypes(BlockGetter arg0, int arg1, int arg2, int arg3, EnumSet<BlockPathTypes> arg4, BlockPathTypes arg5, BlockPos arg6)
method_64(class_1922 arg0, int arg1, int arg2, int arg3, EnumSet<class_7> arg4, class_7 arg5, class_2338 arg6)
findNearbyNodeTypes(BlockView world, int x, int y, int z, EnumSet<PathNodeType> nearbyTypes, PathNodeType type, BlockPos pos)
m_264561_(C_1559_ p_265066_, int p_265537_, int p_265771_, int p_265263_, EnumSet<C_2748_> p_265458_, C_2748_ p_265515_, C_4675_ arg6)
protected BlockPathTypes
a(clo arg0, gt arg1, dwv arg2)
evaluateBlockPathType(BlockGetter arg0, BlockPos arg1, BlockPathTypes arg2)
method_61(class_1922 arg0, class_2338 arg1, class_7 arg2)
adjustNodeType(BlockView world, BlockPos pos, PathNodeType type)
m_264405_(C_1559_ p_265350_, C_4675_ p_265551_, C_2748_ arg2)
protected BlockPathTypes
a(bfz 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(bfz 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(clo 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(clo 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_4675_$C_4681_ p_77606_)
public static BlockPathTypes
a(clo arg0, gt$a arg1, dwv 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(clo 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(dbq arg0)
isBurningBlock(BlockState arg0)
method_27138(class_2680 arg0)
inflictsFireDamage(BlockState state)
m_77622_(C_2064_ p_77623_)