Package net.minecraft.entity.ai.pathing
Class PathNodeMaker
java.lang.Object
net.minecraft.entity.ai.pathing.PathNodeMaker
- Direct Known Subclasses:
- LandPathNodeMaker,- WaterPathNodeMaker
- Mappings:
- Namespace - Name - official - dxs- intermediary - net/minecraft/class_8- named - net/minecraft/entity/ai/pathing/PathNodeMaker
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected ChunkCacheprotected booleanprotected booleanprotected booleanprotected booleanprotected MobEntityprotected intprotected intprotected intprotected final Int2ObjectMap<PathNode>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected TargetPathNodeasTargetPathNode(PathNode node) booleanbooleanbooleancanSwim()booleanvoidclear()abstract 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 doorsabstract TargetPathNodegetNode(double x, double y, double z) protected PathNodegetNode(int x, int y, int z) protected PathNodeabstract PathNodeTypegetNodeType(BlockView world, int x, int y, int z, MobEntity mob) Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doorsabstract PathNodegetStart()abstract intgetSuccessors(PathNode[] successors, PathNode node) voidinit(ChunkCache cachedWorld, MobEntity entity) voidsetCanEnterOpenDoors(boolean canEnterOpenDoors) voidsetCanOpenDoors(boolean canOpenDoors) voidsetCanSwim(boolean canSwim) voidsetCanWalkOverFences(boolean canWalkOverFences) 
- 
Field Details- 
cachedWorld- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a:Lcmz;- intermediary - field_20622- Lnet/minecraft/class_8;field_20622:Lnet/minecraft/class_1950;- named - cachedWorld- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;cachedWorld:Lnet/minecraft/world/chunk/ChunkCache;
 
- 
entity- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldxs;b:Lbgb;- intermediary - field_33- Lnet/minecraft/class_8;field_33:Lnet/minecraft/class_1308;- named - entity- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;entity:Lnet/minecraft/entity/mob/MobEntity;
 
- 
pathNodeCache- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldxs;c:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;- intermediary - field_32- Lnet/minecraft/class_8;field_32:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;- named - pathNodeCache- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;pathNodeCache:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
 
- 
entityBlockXSizeprotected int entityBlockXSize- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldxs;d:I- intermediary - field_31- Lnet/minecraft/class_8;field_31:I- named - entityBlockXSize- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockXSize:I
 
- 
entityBlockYSizeprotected int entityBlockYSize- Mappings:
- Namespace - Name - Mixin selector - official - e- Ldxs;e:I- intermediary - field_30- Lnet/minecraft/class_8;field_30:I- named - entityBlockYSize- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockYSize:I
 
- 
entityBlockZSizeprotected int entityBlockZSize- Mappings:
- Namespace - Name - Mixin selector - official - f- Ldxs;f:I- intermediary - field_28- Lnet/minecraft/class_8;field_28:I- named - entityBlockZSize- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockZSize:I
 
- 
canEnterOpenDoorsprotected boolean canEnterOpenDoors- Mappings:
- Namespace - Name - Mixin selector - official - g- Ldxs;g:Z- intermediary - field_29- Lnet/minecraft/class_8;field_29:Z- named - canEnterOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canEnterOpenDoors:Z
 
- 
canOpenDoorsprotected boolean canOpenDoors- Mappings:
- Namespace - Name - Mixin selector - official - h- Ldxs;h:Z- intermediary - field_27- Lnet/minecraft/class_8;field_27:Z- named - canOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canOpenDoors:Z
 
- 
canSwimprotected boolean canSwim- Mappings:
- Namespace - Name - Mixin selector - official - i- Ldxs;i:Z- intermediary - field_25- Lnet/minecraft/class_8;field_25:Z- named - canSwim- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canSwim:Z
 
- 
canWalkOverFencesprotected boolean canWalkOverFences- Mappings:
- Namespace - Name - Mixin selector - official - j- Ldxs;j:Z- intermediary - field_40927- Lnet/minecraft/class_8;field_40927:Z- named - canWalkOverFences- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canWalkOverFences:Z
 
 
- 
- 
Constructor Details- 
PathNodeMakerpublic PathNodeMaker()
 
- 
- 
Method Details- 
init- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a(Lcmz;Lbgb;)V- intermediary - method_12- Lnet/minecraft/class_8;method_12(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)V- named - init- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;init(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;)V
 
- 
clearpublic void clear()- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldxs;b()V- intermediary - method_19- Lnet/minecraft/class_8;method_19()V- named - clear- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()V
 
- 
getNode- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldxs;b(Lgu;)Ldxr;- intermediary - method_27137- Lnet/minecraft/class_8;method_27137(Lnet/minecraft/class_2338;)Lnet/minecraft/class_9;- named - getNode- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/PathNode;
 
- 
getNode- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldxs;b(III)Ldxr;- intermediary - method_13- Lnet/minecraft/class_8;method_13(III)Lnet/minecraft/class_9;- named - getNode- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;
 
- 
getStart- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a()Ldxr;- intermediary - method_21- Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;- named - getStart- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;
 
- 
getNode- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a(DDD)Ldxx;- intermediary - method_16- Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;- named - getNode- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
 
- 
asTargetPathNode- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a(Ldxr;)Ldxx;- intermediary - method_43568- Lnet/minecraft/class_8;method_43568(Lnet/minecraft/class_9;)Lnet/minecraft/class_4459;- named - asTargetPathNode- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;asTargetPathNode(Lnet/minecraft/entity/ai/pathing/PathNode;)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
 
- 
getSuccessors- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a([Ldxr;Ldxr;)I- intermediary - method_18- Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)I- named - getSuccessors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getSuccessors([Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)I
 
- 
getNodeTypeGets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doors- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a(Lcls;IIILbgb;)Ldxp;- intermediary - method_25- Lnet/minecraft/class_8;method_25(Lnet/minecraft/class_1922;IIILnet/minecraft/class_1308;)Lnet/minecraft/class_7;- named - getNodeType- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNodeType(Lnet/minecraft/world/BlockView;IIILnet/minecraft/entity/mob/MobEntity;)Lnet/minecraft/entity/ai/pathing/PathNodeType;
 
- 
getDefaultNodeTypeGets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doors- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a(Lcls;III)Ldxp;- intermediary - method_17- Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_1922;III)Lnet/minecraft/class_7;- named - getDefaultNodeType- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
 
- 
setCanEnterOpenDoorspublic void setCanEnterOpenDoors(boolean canEnterOpenDoors) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a(Z)V- intermediary - method_15- Lnet/minecraft/class_8;method_15(Z)V- named - setCanEnterOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanEnterOpenDoors(Z)V
 
- 
setCanOpenDoorspublic void setCanOpenDoors(boolean canOpenDoors) - Mappings:
- Namespace - Name - Mixin selector - official - b- Ldxs;b(Z)V- intermediary - method_20- Lnet/minecraft/class_8;method_20(Z)V- named - setCanOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanOpenDoors(Z)V
 
- 
setCanSwimpublic void setCanSwim(boolean canSwim) - Mappings:
- Namespace - Name - Mixin selector - official - c- Ldxs;c(Z)V- intermediary - method_14- Lnet/minecraft/class_8;method_14(Z)V- named - setCanSwim- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanSwim(Z)V
 
- 
setCanWalkOverFencespublic void setCanWalkOverFences(boolean canWalkOverFences) - Mappings:
- Namespace - Name - Mixin selector - official - d- Ldxs;d(Z)V- intermediary - method_46737- Lnet/minecraft/class_8;method_46737(Z)V- named - setCanWalkOverFences- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanWalkOverFences(Z)V
 
- 
canEnterOpenDoorspublic boolean canEnterOpenDoors()- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldxs;d()Z- intermediary - method_23- Lnet/minecraft/class_8;method_23()Z- named - canEnterOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canEnterOpenDoors()Z
 
- 
canOpenDoorspublic boolean canOpenDoors()- Mappings:
- Namespace - Name - Mixin selector - official - e- Ldxs;e()Z- intermediary - method_24- Lnet/minecraft/class_8;method_24()Z- named - canOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canOpenDoors()Z
 
- 
canSwimpublic boolean canSwim()- Mappings:
- Namespace - Name - Mixin selector - official - f- Ldxs;f()Z- intermediary - method_22- Lnet/minecraft/class_8;method_22()Z- named - canSwim- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canSwim()Z
 
- 
canWalkOverFencespublic boolean canWalkOverFences()- Mappings:
- Namespace - Name - Mixin selector - official - g- Ldxs;g()Z- intermediary - method_46738- Lnet/minecraft/class_8;method_46738()Z- named - canWalkOverFences- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canWalkOverFences()Z
 
 
-