Package net.minecraft.pathfinding
Class SwimNodeProcessor
- java.lang.Object
-
- net.minecraft.pathfinding.NodeProcessor
-
- net.minecraft.pathfinding.SwimNodeProcessor
-
public class SwimNodeProcessor extends NodeProcessor
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
allowBreaching
-
Fields inherited from class net.minecraft.pathfinding.NodeProcessor
canFloat, canOpenDoors, canPassDoors, entityDepth, entityHeight, entityWidth, level, mob, nodes
-
-
Constructor Summary
Constructors Constructor Description SwimNodeProcessor(boolean p_i48927_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathNodeType
getBlockPathType(IBlockReader p_186330_1_, int p_186330_2_, int p_186330_3_, int p_186330_4_)
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_)
FlaggedPathPoint
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_)
PathPoint
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
-
-
-
-
Method Detail
-
getStart
public PathPoint getStart()
- Specified by:
getStart
in classNodeProcessor
-
getGoal
public FlaggedPathPoint getGoal(double p_224768_1_, double p_224768_3_, double p_224768_5_)
- Specified by:
getGoal
in classNodeProcessor
-
getNeighbors
public int getNeighbors(PathPoint[] p_222859_1_, PathPoint p_222859_2_)
- 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
@Nullable private PathPoint getWaterNode(int p_186328_1_, int p_186328_2_, int p_186328_3_)
-
getNode
@Nullable protected PathPoint getNode(int p_176159_1_, int p_176159_2_, int p_176159_3_)
- Overrides:
getNode
in classNodeProcessor
-
isFree
private PathNodeType isFree(int p_186327_1_, int p_186327_2_, int p_186327_3_)
-
-