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
- Mappings:
- Namespace - Name - named - net/minecraft/entity/ai/pathing/BirdPathNodeMaker- intermediary - net/minecraft/class_6- official - etl
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final intprivate static final floatprivate final Long2ObjectMap<PathNodeType> Fields inherited from class net.minecraft.entity.ai.pathing.LandPathNodeMakerY_OFFSETFields inherited from class net.minecraft.entity.ai.pathing.PathNodeMakercanEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, context, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleancanPathThrough(BlockPos pos) voidclear()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 doorsgetNode(double x, double y, double z) protected PathNodeTypegetNodeType(int x, int y, int z) getPassableNode(int x, int y, int z) getPotentialEscapePositions(MobEntity entity) Returns the iterable of positions that the entity should try to pathfind to when escaping.getStart()intgetSuccessors(PathNode[] successors, PathNode node) voidinit(ChunkCache cachedWorld, MobEntity entity) private booleanisPassable(@Nullable PathNode node) private booleanMethods inherited from class net.minecraft.entity.ai.pathing.LandPathNodeMakergetCollidingNodeTypes, getCommonNodeType, getFeetY, getFeetY, getLandNodeType, getLandNodeType, getNodeType, getNodeTypeFromNeighbors, getPathNode, getStart, isAmphibious, isValidAdjacentSuccessor, isValidDiagonalSuccessor, isValidDiagonalSuccessorMethods inherited from class net.minecraft.entity.ai.pathing.PathNodeMakercanEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, createNode, getDefaultNodeType, getNode, getNode, isFireDamaging, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim, setCanWalkOverFences
- 
Field Details- 
field_49843private static final float field_49843- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_49843- Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;field_49843:F- intermediary - field_49843- Lnet/minecraft/class_6;field_49843:F- official - m- Letl;m:F
 
- 
field_41681private static final float field_41681- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_41681- Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;field_41681:F- intermediary - field_41681- Lnet/minecraft/class_6;field_41681:F- official - n- Letl;n:F
 
- 
field_41682private static final int field_41682- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_41682- Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;field_41682:I- intermediary - field_41682- Lnet/minecraft/class_6;field_41682:I- official - o- Letl;o:I
 
- 
pathNodes- Mappings:
- Namespace - Name - Mixin selector - named - pathNodes- Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;pathNodes:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;- intermediary - field_27341- Lnet/minecraft/class_6;field_27341:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;- official - a- Letl;a:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
 
 
- 
- 
Constructor Details- 
BirdPathNodeMakerpublic BirdPathNodeMaker()
 
- 
- 
Method Details- 
init- Overrides:
- initin class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - named - init- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;init(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;)V- intermediary - method_12- Lnet/minecraft/class_8;method_12(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)V- official - a- Letn;a(Ldgw;Lbvk;)V
 
- 
clearpublic void clear()- Overrides:
- clearin class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - named - clear- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()V- intermediary - method_19- Lnet/minecraft/class_8;method_19()V- official - b- Letn;b()V
 
- 
getStart- Overrides:
- getStartin class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - named - getStart- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;- intermediary - method_21- Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;- official - a- Letn;a()Letm;
 
- 
canPathThrough- Overrides:
- canPathThroughin class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - named - canPathThrough- Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;canPathThrough(Lnet/minecraft/util/math/BlockPos;)Z- intermediary - method_47893- Lnet/minecraft/class_14;method_47893(Lnet/minecraft/class_2338;)Z- official - a- Letw;a(Lji;)Z
 
- 
getNode- Overrides:
- getNodein class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - named - getNode- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;- intermediary - method_16- Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;- official - a- Letn;a(DDD)Letv;
 
- 
getSuccessors- Overrides:
- getSuccessorsin class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - named - getSuccessors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getSuccessors([Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)I- intermediary - method_18- Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)I- official - a- Letn;a([Letm;Letm;)I
 
- 
isPassable- Mappings:
- Namespace - Name - Mixin selector - named - isPassable- Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;isPassable(Lnet/minecraft/entity/ai/pathing/PathNode;)Z- intermediary - method_22877- Lnet/minecraft/class_6;method_22877(Lnet/minecraft/class_9;)Z- official - b- Letl;b(Letm;)Z
 
- 
unvisited- Mappings:
- Namespace - Name - Mixin selector - named - unvisited- Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;unvisited(Lnet/minecraft/entity/ai/pathing/PathNode;)Z- intermediary - method_22878- Lnet/minecraft/class_6;method_22878(Lnet/minecraft/class_9;)Z- official - c- Letl;c(Letm;)Z
 
- 
getPassableNode- Mappings:
- Namespace - Name - Mixin selector - named - getPassableNode- Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;getPassableNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;- intermediary - method_47933- Lnet/minecraft/class_6;method_47933(III)Lnet/minecraft/class_9;- official - a- Letl;a(III)Letm;
 
- 
getNodeType- Overrides:
- getNodeTypein class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - named - getNodeType- Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getNodeType(III)Lnet/minecraft/entity/ai/pathing/PathNodeType;- intermediary - method_31932- Lnet/minecraft/class_14;method_31932(III)Lnet/minecraft/class_7;- official - b- Letw;b(III)Letr;
 
- 
getDefaultNodeTypeGets 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 class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - named - getDefaultNodeType- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/entity/ai/pathing/PathContext;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;- intermediary - method_17- Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_9316;III)Lnet/minecraft/class_7;- official - a- Letn;a(Lett;III)Letr;
 
- 
getPotentialEscapePositionsReturns the iterable of positions that the entity should try to pathfind to when escaping.- Returns:
- the iterable of positions that the entity should try to pathfind to when escaping
- API Note:
- This is used when the entity cannot path through the current position (e.g. because it is dangerous).
- Mappings:
- Namespace - Name - Mixin selector - named - getPotentialEscapePositions- Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;getPotentialEscapePositions(Lnet/minecraft/entity/mob/MobEntity;)Ljava/lang/Iterable;- intermediary - method_47934- Lnet/minecraft/class_6;method_47934(Lnet/minecraft/class_1308;)Ljava/lang/Iterable;- official - a- Letl;a(Lbvk;)Ljava/lang/Iterable;
 
 
-