net.minecraft.world.level.pathfinder

public class SwimNodeEvaluator

extends NodeEvaluator

dxc
net.minecraft.world.level.pathfinder.SwimNodeEvaluator
net.minecraft.class_12
net.minecraft.entity.ai.pathing.WaterPathNodeMaker
net.minecraft.src.C_2756_
net.minecraft.world.level.pathfinder.PathfinderWater

Field summary

Modifier and TypeField
private final boolean
k
allowBreaching
field_58
canJumpOutOfWater
f_77455_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockPathTypes>
l
pathTypesByPosCache
field_34767
nodePosToType
f_192951_

Constructor summary

ModifierConstructor
public (boolean canJumpOutOfWater)

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_192960_, C_526_ arg1)
public void
b()
done()
method_19()
clear()
m_6802_()
public Node
a()
getStart()
method_21()
getStart()
m_7171_()
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_77460_, 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_77484_, C_2751_ arg1)
protected boolean
b(dwx arg0)
isNodeValid(Node arg0)
method_38487(class_9 arg0)
hasNotVisited(PathNode node)
m_192961_(C_2751_ arg0)
protected boolean
a(dwx arg0, dwx arg1, dwx arg2)
isDiagonalNodeValid(Node arg0, Node arg1, Node arg2)
method_38488(class_9 arg0, class_9 arg1, class_9 arg2)
canPathThrough(PathNode diagonalNode, PathNode node1, PathNode node2)
m_192963_(C_2751_ p_192965_, C_2751_ p_192966_, C_2751_ arg2)
protected Node
a(int arg0, int arg1, int arg2)
findAcceptedNode(int arg0, int arg1, int arg2)
method_47936(int arg0, int arg1, int arg2)
getPassableNode(int x, int y, int z)
m_262844_(int p_263066_, int p_263105_, int arg2)
protected BlockPathTypes
c(int arg0, int arg1, int arg2)
getCachedBlockType(int arg0, int arg1, int arg2)
method_38489(int arg0, int arg1, int arg2)
addPathNodePos(int x, int y, int z)
m_192967_(int p_192969_, int p_192970_, int arg2)
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_77468_, int p_77469_, int p_77470_, int arg3)
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_77473_, int p_77474_, int p_77475_, int p_77476_, C_526_ arg4)