Package net.minecraft.pathfinding
Class NodeProcessor
java.lang.Object
net.minecraft.pathfinding.NodeProcessor
- Direct Known Subclasses:
SwimNodeProcessor
,WalkNodeProcessor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canFloat()
boolean
boolean
void
done()
abstract PathNodeType
getBlockPathType
(IBlockReader p_186330_1_, int p_186330_2_, int p_186330_3_, int p_186330_4_) abstract 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_) abstract FlaggedPathPoint
getGoal
(double p_224768_1_, double p_224768_3_, double p_224768_5_) abstract 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_) protected PathPoint
abstract PathPoint
getStart()
void
void
setCanFloat
(boolean p_186316_1_) void
setCanOpenDoors
(boolean p_186321_1_) void
setCanPassDoors
(boolean p_186317_1_)
-
Field Details
-
level
-
mob
-
nodes
-
entityWidth
protected int entityWidth -
entityHeight
protected int entityHeight -
entityDepth
protected int entityDepth -
canPassDoors
protected boolean canPassDoors -
canOpenDoors
protected boolean canOpenDoors -
canFloat
protected boolean canFloat
-
-
Constructor Details
-
NodeProcessor
public NodeProcessor()
-
-
Method Details
-
prepare
-
done
public void done() -
getNode
-
getNode
-
getStart
-
getGoal
public abstract FlaggedPathPoint getGoal(double p_224768_1_, double p_224768_3_, double p_224768_5_) -
getNeighbors
-
getBlockPathType
public abstract 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_) -
getBlockPathType
public abstract PathNodeType getBlockPathType(IBlockReader p_186330_1_, int p_186330_2_, int p_186330_3_, int p_186330_4_) -
setCanPassDoors
public void setCanPassDoors(boolean p_186317_1_) -
setCanOpenDoors
public void setCanOpenDoors(boolean p_186321_1_) -
setCanFloat
public void setCanFloat(boolean p_186316_1_) -
canPassDoors
public boolean canPassDoors() -
canOpenDoors
public boolean canOpenDoors() -
canFloat
public boolean canFloat()
-