Package net.minecraft.pathfinding
Class SwimNodeProcessor
java.lang.Object
net.minecraft.pathfinding.NodeProcessor
net.minecraft.pathfinding.SwimNodeProcessor
-
Field Summary
FieldsFields inherited from class net.minecraft.pathfinding.NodeProcessor
canFloat, canOpenDoors, canPassDoors, entityDepth, entityHeight, entityWidth, level, mob, nodes -
Constructor Summary
Constructors -
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_) intgetNeighbors(PathPoint[] p_222859_1_, PathPoint p_222859_2_) protected PathPointgetNode(int p_176159_1_, int p_176159_2_, int p_176159_3_) getStart()private PathPointgetWaterNode(int p_186328_1_, int p_186328_2_, int p_186328_3_) private PathNodeTypeisFree(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:
getStartin classNodeProcessor
-
getGoal
- Specified by:
getGoalin classNodeProcessor
-
getNeighbors
- Specified by:
getNeighborsin 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:
getBlockPathTypein classNodeProcessor
-
getBlockPathType
public PathNodeType getBlockPathType(IBlockReader p_186330_1_, int p_186330_2_, int p_186330_3_, int p_186330_4_) - Specified by:
getBlockPathTypein classNodeProcessor
-
getWaterNode
-
getNode
- Overrides:
getNodein classNodeProcessor
-
isFree
-