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 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)private PathNodeTypegetNodeType(MobEntity entity, int x, int y, int z)private PathNodeTypegetNodeType(MobEntity entity, BlockPos pos)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 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
-
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
-
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
-
getNodeType
-
getNodeType
-