JavaScript is disabled on your browser.
Methods in net.minecraft.entity.ai.pathing that return PathNodeType
Modifier and Type
Method
Description
protected PathNodeType
AmphibiousPathNodeMaker. adjustNodeType (BlockView world,
boolean canOpenDoors,
boolean canEnterOpenDoors,
BlockPos pos,
PathNodeType type)
protected PathNodeType
LandPathNodeMaker. adjustNodeType (BlockView world,
boolean canOpenDoors,
boolean canEnterOpenDoors,
BlockPos pos,
PathNodeType type)
PathNodeType
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)
PathNodeType
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 doors
PathNodeType
BirdPathNodeMaker. 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 doors
PathNodeType
LandPathNodeMaker. 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 doors
abstract 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 doors
PathNodeType
WaterPathNodeMaker. 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 doors
static PathNodeType
LandPathNodeMaker. getLandNodeType (BlockView world,
BlockPos.Mutable pos)
PathNodeType
BirdPathNodeMaker. getNodeType (BlockView world,
int x,
int y,
int z,
MobEntity mob,
int sizeX,
int sizeY,
int sizeZ,
boolean canOpenDoors,
boolean canEnterOpenDoors)
private PathNodeType
LandPathNodeMaker. getNodeType (MobEntity entity,
int x,
int y,
int z)
private PathNodeType
LandPathNodeMaker. getNodeType (MobEntity entity,
BlockPos pos)
PathNodeType
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)
PathNodeType
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)
private PathNodeType
BirdPathNodeMaker. method_31932 (int int2,
int int3,
int int4)
static PathNodeType
PathNodeType. valueOf (String name)
Returns the enum constant of this type with the specified name.
static PathNodeType []
PathNodeType. values ()
Returns an array containing the constants of this enum type, in
the order they are declared.
Methods in net.minecraft.entity.ai.pathing with parameters of type PathNodeType
Modifier and Type
Method
Description
protected PathNodeType
AmphibiousPathNodeMaker. adjustNodeType (BlockView world,
boolean canOpenDoors,
boolean canEnterOpenDoors,
BlockPos pos,
PathNodeType type)
protected PathNodeType
LandPathNodeMaker. adjustNodeType (BlockView world,
boolean canOpenDoors,
boolean canEnterOpenDoors,
BlockPos pos,
PathNodeType type)
protected boolean
MobNavigation. canWalkOnPath (PathNodeType pathType)
PathNodeType
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)
private @Nullable PathNode
LandPathNodeMaker. getPathNode (int x,
int y,
int z,
int maxYStep,
double prevFeetY,
Direction direction,
PathNodeType pathNodeType)
Method parameters in net.minecraft.entity.ai.pathing with type arguments of type PathNodeType
Modifier and Type
Method
Description
PathNodeType
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.