Uses of Enum Class
net.minecraft.entity.ai.pathing.PathNodeType
Packages that use PathNodeType
Package
Description
-
Uses of PathNodeType in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing declared as PathNodeTypeModifier and TypeFieldDescriptionprivate final PathNodeType[]
PathNodeTypeCache.cache
PathNode.type
Fields in net.minecraft.entity.ai.pathing with type parameters of type PathNodeTypeModifier and TypeFieldDescriptionprivate final Long2ObjectMap
<PathNodeType> WaterPathNodeMaker.nodePosToType
private final Long2ObjectMap
<PathNodeType> LandPathNodeMaker.nodeTypes
private final Long2ObjectMap
<PathNodeType> BirdPathNodeMaker.pathNodes
Methods in net.minecraft.entity.ai.pathing that return PathNodeTypeModifier and TypeMethodDescriptionprotected PathNodeType
WaterPathNodeMaker.addPathNodePos
(int x, int y, int z) private PathNodeType
private PathNodeType
PathNodeTypeCache.get
(int index, long pos) protected static PathNodeType
LandPathNodeMaker.getCommonNodeType
(BlockView world, BlockPos pos) AmphibiousPathNodeMaker.getDefaultNodeType
(PathContext context, 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 doorsBirdPathNodeMaker.getDefaultNodeType
(PathContext context, 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 doorsLandPathNodeMaker.getDefaultNodeType
(PathContext context, 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 doorsabstract PathNodeType
PathNodeMaker.getDefaultNodeType
(PathContext context, 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 doorsPathNodeMaker.getDefaultNodeType
(MobEntity entity, BlockPos pos) WaterPathNodeMaker.getDefaultNodeType
(PathContext context, 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 doorsstatic PathNodeType
LandPathNodeMaker.getLandNodeType
(PathContext context, BlockPos.Mutable pos) static PathNodeType
LandPathNodeMaker.getLandNodeType
(MobEntity entity, BlockPos pos) protected PathNodeType
BirdPathNodeMaker.getNodeType
(int x, int y, int z) protected PathNodeType
LandPathNodeMaker.getNodeType
(int x, int y, int z) LandPathNodeMaker.getNodeType
(PathContext context, int x, int y, int z, MobEntity mob) Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doorsPathContext.getNodeType
(int x, int y, int z) abstract PathNodeType
PathNodeMaker.getNodeType
(PathContext context, int x, int y, int z, MobEntity mob) Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doorsWaterPathNodeMaker.getNodeType
(PathContext context, int x, int y, int z, MobEntity mob) Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doorsstatic PathNodeType
LandPathNodeMaker.getNodeTypeFromNeighbors
(PathContext context, int x, int y, int z, PathNodeType fallback) static PathNodeType
Returns the enum constant of this class with the specified name.static PathNodeType[]
PathNodeType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.entity.ai.pathing that return types with arguments of type PathNodeTypeModifier and TypeMethodDescriptionLandPathNodeMaker.getCollidingNodeTypes
(PathContext context, int x, int y, int z) Methods in net.minecraft.entity.ai.pathing with parameters of type PathNodeTypeModifier and TypeMethodDescriptionboolean
EntityNavigation.canJumpToNext
(PathNodeType nodeType) protected boolean
MobNavigation.canWalkOnPath
(PathNodeType pathType) LandPathNodeMaker.getJumpOnTopNode
(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType, BlockPos.Mutable mutablePos) static PathNodeType
LandPathNodeMaker.getNodeTypeFromNeighbors
(PathContext context, int x, int y, int z, PathNodeType fallback) private PathNode
LandPathNodeMaker.getNodeWith
(int x, int y, int z, PathNodeType type) private PathNode
LandPathNodeMaker.getNodeWith
(int x, int y, int z, PathNodeType type, float penalty) LandPathNodeMaker.getPathNode
(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType) private static boolean
LandPathNodeMaker.isBlocked
(PathNodeType nodeType) -
Uses of PathNodeType in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob with type parameters of type PathNodeTypeModifier and TypeFieldDescriptionprivate final Map
<PathNodeType, Float> MobEntity.pathfindingPenalties
Methods in net.minecraft.entity.mob with parameters of type PathNodeTypeModifier and TypeMethodDescriptionfloat
MobEntity.getPathfindingPenalty
(PathNodeType nodeType) void
MobEntity.setPathfindingPenalty
(PathNodeType nodeType, float penalty) -
Uses of PathNodeType in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return PathNodeTypeModifier and TypeMethodDescriptionFrogEntity.FrogSwimPathNodeMaker.getDefaultNodeType
(PathContext context, 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 doorsMethods in net.minecraft.entity.passive with parameters of type PathNodeTypeModifier and TypeMethodDescriptionboolean
FrogEntity.FrogSwimNavigation.canJumpToNext
(PathNodeType nodeType) protected boolean
StriderEntity.Navigation.canWalkOnPath
(PathNodeType pathType)