net.minecraft.entity.ai.pathing

public class WaterPathNodeMaker

extends PathNodeMaker

net.minecraft.world.level.pathfinder.SwimNodeEvaluator
net.minecraft.class_12
net.minecraft.entity.ai.pathing.WaterPathNodeMaker

Field summary

Modifier and TypeField
private final boolean
allowBreaching
field_58
canJumpOutOfWater
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<PathNodeType>
pathTypesByPosCache
field_34767
nodePosToType

Constructor summary

ModifierConstructor
public (boolean canJumpOutOfWater)

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)
protected boolean
isNodeValid(Node node)
method_38487(class_9 arg0)
hasNotVisited(PathNode node)
private static boolean
hasMalus(Node node)
method_57084(class_9 arg0)
hasPenalty(PathNode node)
protected PathNode
findAcceptedNode(int x, int y, int z)
method_47936(int arg0, int arg1, int arg2)
getPassableNode(int x, int y, int z)
protected PathNodeType
getCachedBlockType(int x, int y, int z)
method_38489(int arg0, int arg1, int arg2)
addPathNodePos(int x, int y, int z)
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)
public PathNodeType
getPathTypeOfMob(PathfindingContext context, int x, int y, int z, Mob mob)
method_25(class_9316 arg0, int arg1, int arg2, int arg3, class_1308 arg4)
getNodeType(PathContext arg0, int arg1, int arg2, int arg3, MobEntity arg4)
private PathNodeType
lambda$getCachedBlockType$0(int arg0, int arg1, int arg2, long arg3)
method_38486(int arg0, int arg1, int arg2, long arg3)
method_38486(int arg0, int arg1, int arg2, long pos)