net.minecraft.entity.ai.pathing

public class AmphibiousPathNodeMaker

extends LandPathNodeMaker

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

Field summary

Modifier and TypeField
private final boolean
prefersShallowSwimming
field_28358
penalizeDeepWater
private float
oldWalkableCost
field_65
oldWalkablePenalty
private float
oldWaterBorderCost
field_64
oldWaterBorderPenalty

Constructor summary

ModifierConstructor
public (boolean penalizeDeepWater)

Method summary

Modifier and TypeMethod
public void
prepare(PathNavigationRegion level, Mob entity)
method_12(class_1950 arg0, class_1308 arg1)
init(ChunkCache arg0, MobEntity arg1)
public void
done()
method_19()
clear()
public PathNode
getStart()
method_21()
getStart()
public TargetPathNode
getTarget(double x, double y, double z)
method_16(double arg0, double arg1, double arg2)
getNode(double arg0, double arg1, double arg2)
public int
getNeighbors(Node[] neighbors, Node pos)
method_18(class_9[] arg0, class_9 arg1)
getSuccessors(PathNode[] arg0, PathNode arg1)
private boolean
isVerticalNeighborValid(Node verticalNode, Node pos)
method_43413(class_9 arg0, class_9 arg1)
isValidAquaticAdjacentSuccessor(PathNode node, PathNode successor)
protected boolean
isAmphibious()
method_37004()
isAmphibious()
public PathNodeType
getPathType(PathfindingContext context, int x, int y, int z)
method_17(class_9316 arg0, int arg1, int arg2, int arg3)
getDefaultNodeType(PathContext arg0, int arg1, int arg2, int arg3)