Class SwimNodeEvaluator
java.lang.Object
net.minecraft.world.level.pathfinder.NodeEvaluator
net.minecraft.world.level.pathfinder.SwimNodeEvaluator
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockPathTypes>Fields inherited from class net.minecraft.world.level.pathfinder.NodeEvaluator
canFloat, canOpenDoors, canPassDoors, canWalkOverFences, entityDepth, entityHeight, entityWidth, level, mob, nodes - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoiddone()protected NodefindAcceptedNode(int p_263032_, int p_263066_, int p_263105_) getBlockPathType(BlockGetter p_77467_, int p_77468_, int p_77469_, int p_77470_) getBlockPathType(BlockGetter p_77472_, int p_77473_, int p_77474_, int p_77475_, Mob p_77476_, int p_77477_, int p_77478_, int p_77479_, boolean p_77480_, boolean p_77481_) protected BlockPathTypesgetCachedBlockType(int p_192968_, int p_192969_, int p_192970_) getGoal(double p_77459_, double p_77460_, double p_77461_) intgetNeighbors(Node[] p_77483_, Node p_77484_) getStart()protected booleanisDiagonalNodeValid(Node p_192964_, Node p_192965_, Node p_192966_) protected booleanisNodeValid(Node p_192962_) voidprepare(PathNavigationRegion p_192959_, Mob p_192960_) Methods inherited from class net.minecraft.world.level.pathfinder.NodeEvaluator
canFloat, canOpenDoors, canPassDoors, canWalkOverFences, getNode, getNode, getTargetFromNode, setCanFloat, setCanOpenDoors, setCanPassDoors, setCanWalkOverFences 
- 
Field Details
- 
allowBreaching
private final boolean allowBreaching - 
pathTypesByPosCache
 
 - 
 - 
Constructor Details
- 
SwimNodeEvaluator
public SwimNodeEvaluator(boolean p_77457_)  
 - 
 - 
Method Details
- 
done
public void done()- Overrides:
 donein classNodeEvaluator
 - 
getStart
- Specified by:
 getStartin classNodeEvaluator
 - 
getGoal
- Specified by:
 getGoalin classNodeEvaluator
 - 
getNeighbors
- Specified by:
 getNeighborsin classNodeEvaluator
 - 
isNodeValid
 - 
isDiagonalNodeValid
 - 
findAcceptedNode
 - 
getCachedBlockType
 - 
getBlockPathType
public BlockPathTypes getBlockPathType(BlockGetter p_77467_, int p_77468_, int p_77469_, int p_77470_) - Specified by:
 getBlockPathTypein classNodeEvaluator
 - 
getBlockPathType
public BlockPathTypes getBlockPathType(BlockGetter p_77472_, int p_77473_, int p_77474_, int p_77475_, Mob p_77476_, int p_77477_, int p_77478_, int p_77479_, boolean p_77480_, boolean p_77481_) - Specified by:
 getBlockPathTypein classNodeEvaluator