Package net.minecraft.pathfinding
Class FlyingNodeProcessor
- java.lang.Object
-
- net.minecraft.pathfinding.NodeProcessor
-
- net.minecraft.pathfinding.WalkNodeProcessor
-
- net.minecraft.pathfinding.FlyingNodeProcessor
-
public class FlyingNodeProcessor extends WalkNodeProcessor
-
-
Field Summary
-
Fields inherited from class net.minecraft.pathfinding.WalkNodeProcessor
oldWaterCost
-
Fields inherited from class net.minecraft.pathfinding.NodeProcessor
canFloat, canOpenDoors, canPassDoors, entityDepth, entityHeight, entityWidth, level, mob, nodes
-
-
Constructor Summary
Constructors Constructor Description FlyingNodeProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
done()
private PathNodeType
getBlockPathType(MobEntity p_192558_1_, int p_192558_2_, int p_192558_3_, int p_192558_4_)
private PathNodeType
getBlockPathType(MobEntity p_192559_1_, BlockPos p_192559_2_)
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 boolean
hasMalus(PathPoint p_227476_1_)
private boolean
isOpen(PathPoint p_227477_1_)
void
prepare(Region p_225578_1_, MobEntity p_225578_2_)
-
Methods inherited from class net.minecraft.pathfinding.WalkNodeProcessor
checkNeighbourBlocks, evaluateBlockPathType, getBlockPathTypeRaw, getBlockPathTypes, getBlockPathTypeStatic, getFloorLevel
-
Methods inherited from class net.minecraft.pathfinding.NodeProcessor
canFloat, canOpenDoors, canPassDoors, getNode, setCanFloat, setCanOpenDoors, setCanPassDoors
-
-
-
-
Method Detail
-
prepare
public void prepare(Region p_225578_1_, MobEntity p_225578_2_)
- Overrides:
prepare
in classWalkNodeProcessor
-
done
public void done()
- Overrides:
done
in classWalkNodeProcessor
-
getStart
public PathPoint getStart()
- Overrides:
getStart
in classWalkNodeProcessor
-
getGoal
public FlaggedPathPoint getGoal(double p_224768_1_, double p_224768_3_, double p_224768_5_)
- Overrides:
getGoal
in classWalkNodeProcessor
-
getNeighbors
public int getNeighbors(PathPoint[] p_222859_1_, PathPoint p_222859_2_)
- Overrides:
getNeighbors
in classWalkNodeProcessor
-
hasMalus
private boolean hasMalus(@Nullable PathPoint p_227476_1_)
-
isOpen
private boolean isOpen(@Nullable PathPoint p_227477_1_)
-
getNode
@Nullable protected PathPoint getNode(int p_176159_1_, int p_176159_2_, int p_176159_3_)
- Overrides:
getNode
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_)
- Overrides:
getBlockPathType
in classWalkNodeProcessor
-
getBlockPathType
public PathNodeType getBlockPathType(IBlockReader p_186330_1_, int p_186330_2_, int p_186330_3_, int p_186330_4_)
- Overrides:
getBlockPathType
in classWalkNodeProcessor
-
getBlockPathType
private PathNodeType getBlockPathType(MobEntity p_192559_1_, BlockPos p_192559_2_)
-
getBlockPathType
private PathNodeType getBlockPathType(MobEntity p_192558_1_, int p_192558_2_, int p_192558_3_, int p_192558_4_)
-
-