Class SwimNodeEvaluator
java.lang.Object
net.minecraft.world.level.pathfinder.NodeEvaluator
net.minecraft.world.level.pathfinder.SwimNodeEvaluator
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final booleanprivate final it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockPathTypes>Fields inherited from class net.minecraft.world.level.pathfinder.NodeEvaluatorcanFloat, canOpenDoors, canPassDoors, canWalkOverFences, entityDepth, entityHeight, entityWidth, level, mob, nodes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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_) 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.NodeEvaluatorcanFloat, canOpenDoors, canPassDoors, canWalkOverFences, getNode, getNode, getTargetFromNode, setCanFloat, setCanOpenDoors, setCanPassDoors, setCanWalkOverFences
- 
Field Details- 
allowBreachingprivate final boolean allowBreaching
- 
pathTypesByPosCache
 
- 
- 
Constructor Details- 
SwimNodeEvaluatorpublic SwimNodeEvaluator(boolean p_77457_) 
 
- 
- 
Method Details
- 
donepublic void done()- Overrides:
- donein class- NodeEvaluator
 
- 
getStart- Specified by:
- getStartin class- NodeEvaluator
 
- 
getGoal- Specified by:
- getGoalin class- NodeEvaluator
 
- 
getNeighbors- Specified by:
- getNeighborsin class- NodeEvaluator
 
- 
isNodeValid
- 
isDiagonalNodeValid
- 
findAcceptedNode
- 
getCachedBlockType
- 
getBlockPathTypepublic BlockPathTypes getBlockPathType(BlockGetter p_77467_, int p_77468_, int p_77469_, int p_77470_) - Specified by:
- getBlockPathTypein class- NodeEvaluator
 
- 
getBlockPathTypepublic BlockPathTypes getBlockPathType(BlockGetter p_77472_, int p_77473_, int p_77474_, int p_77475_, Mob p_77476_) - Specified by:
- getBlockPathTypein class- NodeEvaluator