Package net.minecraft.pathfinding
Class SwimNodeProcessor
java.lang.Object
net.minecraft.pathfinding.NodeProcessor
net.minecraft.pathfinding.SwimNodeProcessor
-
Field Summary
Fields inherited from class net.minecraft.pathfinding.NodeProcessor
canFloat, canOpenDoors, canPassDoors, entityDepth, entityHeight, entityWidth, level, mob, nodes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlockPathType
(IBlockReader p_186330_1_, int p_186330_2_, int p_186330_3_, int p_186330_4_) getBlockPathType
(IBlockReader p_186319_1_, int p_186319_2_, int p_186319_3_, int p_186319_4_, MobEntity p_186319_5_, int p_186319_6_, int p_186319_7_, int p_186319_8_, boolean p_186319_9_, boolean p_186319_10_) getGoal
(double p_224768_1_, double p_224768_3_, double p_224768_5_) int
getNeighbors
(PathPoint[] p_222859_1_, PathPoint p_222859_2_) protected PathPoint
getNode
(int p_176159_1_, int p_176159_2_, int p_176159_3_) getStart()
private PathPoint
getWaterNode
(int p_186328_1_, int p_186328_2_, int p_186328_3_) private PathNodeType
isFree
(int p_186327_1_, int p_186327_2_, int p_186327_3_) Methods inherited from class net.minecraft.pathfinding.NodeProcessor
canFloat, canOpenDoors, canPassDoors, done, getNode, prepare, setCanFloat, setCanOpenDoors, setCanPassDoors
-
Field Details
-
allowBreaching
private final boolean allowBreaching
-
-
Constructor Details
-
SwimNodeProcessor
public SwimNodeProcessor(boolean p_i48927_1_)
-
-
Method Details
-
getStart
- Specified by:
getStart
in classNodeProcessor
-
getGoal
- Specified by:
getGoal
in classNodeProcessor
-
getNeighbors
- Specified by:
getNeighbors
in classNodeProcessor
-
getBlockPathType
public PathNodeType getBlockPathType(IBlockReader p_186319_1_, int p_186319_2_, int p_186319_3_, int p_186319_4_, MobEntity p_186319_5_, int p_186319_6_, int p_186319_7_, int p_186319_8_, boolean p_186319_9_, boolean p_186319_10_) - Specified by:
getBlockPathType
in classNodeProcessor
-
getBlockPathType
public PathNodeType getBlockPathType(IBlockReader p_186330_1_, int p_186330_2_, int p_186330_3_, int p_186330_4_) - Specified by:
getBlockPathType
in classNodeProcessor
-
getWaterNode
-
getNode
- Overrides:
getNode
in classNodeProcessor
-
isFree
-