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 PathNodeTypeFields in net.minecraft.entity.ai.pathing with type parameters of type PathNodeTypeModifier and TypeFieldDescriptionprivate final Long2ObjectMap<PathNodeType>WaterPathNodeMaker.field_34767private final Long2ObjectMap<PathNodeType>LandPathNodeMaker.nodeTypesprivate final Long2ObjectMap<PathNodeType>BirdPathNodeMaker.pathNodesMethods in net.minecraft.entity.ai.pathing that return PathNodeTypeModifier and TypeMethodDescriptionprotected PathNodeTypeLandPathNodeMaker.adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type) LandPathNodeMaker.findNearbyNodeTypes(BlockView world, int x, int y, int z, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors, EnumSet<PathNodeType> nearbyTypes, PathNodeType type, BlockPos pos) Adds the node types in the box with the given size to the input EnumSet.protected static PathNodeTypeLandPathNodeMaker.getCommonNodeType(BlockView world, BlockPos pos) AmphibiousPathNodeMaker.getDefaultNodeType(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 doorsBirdPathNodeMaker.getDefaultNodeType(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 doorsLandPathNodeMaker.getDefaultNodeType(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 doorsabstract PathNodeTypePathNodeMaker.getDefaultNodeType(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 doorsWaterPathNodeMaker.getDefaultNodeType(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 doorsstatic PathNodeTypeLandPathNodeMaker.getLandNodeType(BlockView world, BlockPos.Mutable pos) private PathNodeTypeBirdPathNodeMaker.getNodeType(int x, int y, int z) BirdPathNodeMaker.getNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors) Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doorsprotected PathNodeTypeLandPathNodeMaker.getNodeType(MobEntity entity, int x, int y, int z) private PathNodeTypeLandPathNodeMaker.getNodeType(MobEntity entity, BlockPos pos) LandPathNodeMaker.getNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors) Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doorsabstract PathNodeTypePathNodeMaker.getNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors) 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(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors) Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doorsstatic PathNodeTypeLandPathNodeMaker.getNodeTypeFromNeighbors(BlockView world, BlockPos.Mutable pos, PathNodeType nodeType) protected PathNodeTypeWaterPathNodeMaker.method_38489(int int2, int int3, int int4) static PathNodeTypeReturns 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 with parameters of type PathNodeTypeModifier and TypeMethodDescriptionprotected PathNodeTypeLandPathNodeMaker.adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type) protected booleanMobNavigation.canWalkOnPath(PathNodeType pathType) LandPathNodeMaker.findNearbyNodeTypes(BlockView world, int x, int y, int z, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors, EnumSet<PathNodeType> nearbyTypes, PathNodeType type, BlockPos pos) Adds the node types in the box with the given size to the input EnumSet.static PathNodeTypeLandPathNodeMaker.getNodeTypeFromNeighbors(BlockView world, BlockPos.Mutable pos, PathNodeType nodeType) LandPathNodeMaker.getPathNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType) Method parameters in net.minecraft.entity.ai.pathing with type arguments of type PathNodeTypeModifier and TypeMethodDescriptionLandPathNodeMaker.findNearbyNodeTypes(BlockView world, int x, int y, int z, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors, EnumSet<PathNodeType> nearbyTypes, PathNodeType type, BlockPos pos) Adds the node types in the box with the given size to the input EnumSet. -
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.pathfindingPenaltiesMethods in net.minecraft.entity.mob that return PathNodeTypeModifier and TypeMethodDescriptionprotected PathNodeTypeRavagerEntity.PathNodeMaker.adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type) Methods in net.minecraft.entity.mob with parameters of type PathNodeTypeModifier and TypeMethodDescriptionprotected PathNodeTypeRavagerEntity.PathNodeMaker.adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type) booleanMobEntity.canJumpToNextPathNode(PathNodeType type) Returns if this entity can jump to the next node in path given the type of the node.floatMobEntity.getPathfindingPenalty(PathNodeType nodeType) voidMobEntity.setPathfindingPenalty(PathNodeType nodeType, float penalty) -
Uses of PathNodeType in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type PathNodeTypeModifier and TypeMethodDescriptionprotected booleanStriderEntity.Navigation.canWalkOnPath(PathNodeType pathType)