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
- Mappings:
Namespace Name official dcqintermediary net/minecraft/class_6named net/minecraft/entity/ai/pathing/BirdPathNodeMaker
-
Field Summary
Fields Modifier and Type Field Description private Long2ObjectMap<PathNodeType>field_27341Fields 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)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 PathNodeTypemethod_31932(int int2, int int3, int int4)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, getNode, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim
-
Field Details
-
field_27341
- Mappings:
Namespace Name Mixin selector official kLdcq;k:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;intermediary field_27341Lnet/minecraft/class_6;field_27341:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;named field_27341Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;field_27341:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
-
Constructor Details
-
BirdPathNodeMaker
public BirdPathNodeMaker()
-
-
Method Details
-
init
- Overrides:
initin classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdcs;a(Lbuh;Larj;)Vintermediary method_12Lnet/minecraft/class_8;method_12(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)Vnamed initLnet/minecraft/entity/ai/pathing/PathNodeMaker;init(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;)V
-
clear
public void clear()- Overrides:
clearin classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdcs;a()Vintermediary method_19Lnet/minecraft/class_8;method_19()Vnamed clearLnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()V
-
getStart
- Overrides:
getStartin classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector official bLdcs;b()Ldcr;intermediary method_21Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;named getStartLnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
- Overrides:
getNodein classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdcs;a(DDD)Ldcx;intermediary method_16Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
-
getSuccessors
- Overrides:
getSuccessorsin classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdcs;a([Ldcr;Ldcr;)Iintermediary method_18Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Inamed getSuccessorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;getSuccessors([Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)I
-
isPassable
- Mappings:
Namespace Name Mixin selector official aLdcq;a(Ldcr;)Zintermediary method_22877Lnet/minecraft/class_6;method_22877(Lnet/minecraft/class_9;)Znamed isPassableLnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;isPassable(Lnet/minecraft/entity/ai/pathing/PathNode;)Z
-
unvisited
- Mappings:
Namespace Name Mixin selector official bLdcq;b(Ldcr;)Zintermediary method_22878Lnet/minecraft/class_6;method_22878(Lnet/minecraft/class_9;)Znamed unvisitedLnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;unvisited(Lnet/minecraft/entity/ai/pathing/PathNode;)Z
-
getNode
- Overrides:
getNodein classPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdcs;a(III)Ldcr;intermediary method_13Lnet/minecraft/class_8;method_13(III)Lnet/minecraft/class_9;named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;
-
method_31932
- Mappings:
Namespace Name Mixin selector official bLdcq;b(III)Ldcp;intermediary method_31932Lnet/minecraft/class_6;method_31932(III)Lnet/minecraft/class_7;named method_31932Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;method_31932(III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
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- Mappings:
Namespace Name Mixin selector official aLdcs;a(Lbsz;IIILarj;IIIZZ)Ldcp;intermediary method_17Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_1922;IIILnet/minecraft/class_1308;IIIZZ)Lnet/minecraft/class_7;named getNodeTypeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNodeType(Lnet/minecraft/world/BlockView;IIILnet/minecraft/entity/mob/MobEntity;IIIZZ)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
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- Mappings:
Namespace Name Mixin selector official aLdcs;a(Lbsz;III)Ldcp;intermediary method_25Lnet/minecraft/class_8;method_25(Lnet/minecraft/class_1922;III)Lnet/minecraft/class_7;named getDefaultNodeTypeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-