Package net.minecraft.entity.ai.pathing
Class BirdPathNodeMaker
java.lang.Object
net.minecraft.entity.ai.pathing.PathNodeMaker
net.minecraft.entity.ai.pathing.LandPathNodeMaker
net.minecraft.entity.ai.pathing.BirdPathNodeMaker
public class BirdPathNodeMaker extends LandPathNodeMaker
-
Field Summary
Fields Modifier and Type Field Description private Long2ObjectMap<PathNodeType>field_27341Fields inherited from class net.minecraft.entity.ai.pathing.LandPathNodeMaker
waterPathNodeTypeWeightFields inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
cachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache -
Constructor Summary
Constructors Constructor Description BirdPathNodeMaker() -
Method Summary
Modifier and Type Method Description voidclear()PathNodeTypegetDefaultNodeType(BlockView world, int x, int y, int z)Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doorsTargetPathNodegetNode(double x, double y, double z)protected PathNodegetNode(int x, int y, int z)PathNodeTypegetNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors)PathNodegetStart()intgetSuccessors(PathNode[] successors, PathNode node)voidinit(ChunkCache cachedWorld, MobEntity entity)private booleanisPassable(PathNode node)private PathNodeTypemethod_31932(int int2, int int3, int int4)private booleanunvisited(PathNode node)Methods inherited from class net.minecraft.entity.ai.pathing.LandPathNodeMaker
adjustNodeType, findNearbyNodeTypes, getCommonNodeType, getFeetY, getLandNodeType, getNodeTypeFromNeighborsMethods inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, method_27137, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim
-
Field Details
-
field_27341
-
-
Constructor Details
-
BirdPathNodeMaker
public BirdPathNodeMaker()
-
-
Method Details
-
init
- Overrides:
initin classLandPathNodeMaker
-
clear
public void clear()- Overrides:
clearin classLandPathNodeMaker
-
getStart
- Overrides:
getStartin classLandPathNodeMaker
-
getNode
- Overrides:
getNodein classLandPathNodeMaker
-
getSuccessors
- Overrides:
getSuccessorsin classLandPathNodeMaker
-
isPassable
-
unvisited
-
getNode
- Overrides:
getNodein classPathNodeMaker
-
method_31932
-
getNodeType
public PathNodeType getNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors)- Overrides:
getNodeTypein classLandPathNodeMaker
-
getDefaultNodeType
Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doors- Overrides:
getDefaultNodeTypein classLandPathNodeMaker
-