Uses of Enum Class
net.minecraft.entity.ai.pathing.PathNodeType
Package
Description
-
Uses of PathNodeType in net.minecraft.entity.ai.pathing
Modifier and TypeFieldDescriptionprivate final Long2ObjectMap<PathNodeType>
LandPathNodeMaker.nodeTypes
private final Long2ObjectMap<PathNodeType>
BirdPathNodeMaker.pathNodes
Modifier and TypeMethodDescriptionprotected PathNodeType
LandPathNodeMaker.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 PathNodeType
LandPathNodeMaker.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 PathNodeType
PathNodeMaker.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 PathNodeType
LandPathNodeMaker.getLandNodeType
(BlockView world, BlockPos.Mutable pos) private PathNodeType
BirdPathNodeMaker.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) protected PathNodeType
LandPathNodeMaker.getNodeType
(MobEntity entity, int x, int y, int z) private PathNodeType
LandPathNodeMaker.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) abstract PathNodeType
PathNodeMaker.getNodeType
(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors) private PathNodeType
WaterPathNodeMaker.getNodeType
(int x, int y, int z) WaterPathNodeMaker.getNodeType
(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors) static PathNodeType
LandPathNodeMaker.getNodeTypeFromNeighbors
(BlockView world, BlockPos.Mutable pos, PathNodeType nodeType) 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.Modifier and TypeMethodDescriptionprotected PathNodeType
LandPathNodeMaker.adjustNodeType
(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type) protected boolean
MobNavigation.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 PathNodeType
LandPathNodeMaker.getNodeTypeFromNeighbors
(BlockView world, BlockPos.Mutable pos, PathNodeType nodeType) LandPathNodeMaker.getPathNode
(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType) Modifier 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
Modifier and TypeFieldDescriptionprivate final Map<PathNodeType,
Float> MobEntity.pathfindingPenalties
Modifier and TypeMethodDescriptionprotected PathNodeType
RavagerEntity.PathNodeMaker.adjustNodeType
(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type) Modifier and TypeMethodDescriptionprotected PathNodeType
RavagerEntity.PathNodeMaker.adjustNodeType
(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type) boolean
MobEntity.canJumpToNextPathNode
(PathNodeType type) Returns if this entity can jump to the next node in path given the type of the node.float
MobEntity.getPathfindingPenalty
(PathNodeType nodeType) void
MobEntity.setPathfindingPenalty
(PathNodeType nodeType, float penalty) -
Uses of PathNodeType in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionGoatEntity.GoatPathNodeMaker.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 doorsModifier and TypeMethodDescriptionprotected boolean
StriderEntity.Navigation.canWalkOnPath
(PathNodeType pathType)