net.minecraft.world.level.pathfinder

public class AmphibiousNodeEvaluator

extends WalkNodeEvaluator

eog
net.minecraft.world.level.pathfinder.AmphibiousNodeEvaluator
net.minecraft.class_15
net.minecraft.entity.ai.pathing.AmphibiousPathNodeMaker
net.minecraft.src.C_141446_
net.minecraft.world.level.pathfinder.AmphibiousNodeEvaluator

Field summary

Modifier and TypeField
private final boolean
l
prefersShallowSwimming
field_28358
penalizeDeepWater
f_164655_
private float
m
oldWalkableCost
field_65
oldWalkablePenalty
f_164656_
private float
n
oldWaterBorderCost
field_64
oldWaterBorderPenalty
f_164657_

Constructor summary

ModifierConstructor
public (boolean penalizeDeepWater)

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_164672_, 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)
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_334194_, 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_164677_, C_2751_ arg1)
private boolean
b(eoj arg0, eoj arg1)
isVerticalNeighborValid(Node arg0, Node arg1)
method_43413(class_9 arg0, class_9 arg1)
isValidAquaticAdjacentSuccessor(PathNode node, PathNode successor)
m_230610_(C_2751_ p_230612_, C_2751_ arg1)
protected boolean
c()
isAmphibious()
method_37004()
isAmphibious()
m_141974_()
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_329171_, int p_336028_, int p_327966_, int arg3)