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 - named - net/minecraft/entity/ai/pathing/PathNodeMaker- intermediary - net/minecraft/class_8- official - etn
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected booleanprotected PathContextprotected MobEntityprotected intprotected intprotected intprotected final Int2ObjectMap<PathNode> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanbooleancanSwim()booleanvoidclear()protected TargetPathNodecreateNode(double x, double y, double z) abstract PathNodeTypegetDefaultNodeType(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 doorsgetDefaultNodeType(MobEntity entity, BlockPos pos) abstract TargetPathNodegetNode(double x, double y, double z) protected PathNodegetNode(int x, int y, int z) protected PathNodeabstract PathNodeTypegetNodeType(PathContext context, 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) static booleanisFireDamaging(BlockState state) voidsetCanEnterOpenDoors(boolean canEnterOpenDoors) voidsetCanOpenDoors(boolean canOpenDoors) voidsetCanSwim(boolean canSwim) voidsetCanWalkOverFences(boolean canWalkOverFences) 
- 
Field Details- 
context- Mappings:
- Namespace - Name - Mixin selector - named - context- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;context:Lnet/minecraft/entity/ai/pathing/PathContext;- intermediary - field_49416- Lnet/minecraft/class_8;field_49416:Lnet/minecraft/class_9316;- official - b- Letn;b:Lett;
 
- 
entity- Mappings:
- Namespace - Name - Mixin selector - named - entity- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;entity:Lnet/minecraft/entity/mob/MobEntity;- intermediary - field_33- Lnet/minecraft/class_8;field_33:Lnet/minecraft/class_1308;- official - c- Letn;c:Lbvk;
 
- 
pathNodeCache- Mappings:
- Namespace - Name - Mixin selector - named - pathNodeCache- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;pathNodeCache:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;- intermediary - field_32- Lnet/minecraft/class_8;field_32:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;- official - d- Letn;d:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
 
- 
entityBlockXSizeprotected int entityBlockXSize- Mappings:
- Namespace - Name - Mixin selector - named - entityBlockXSize- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockXSize:I- intermediary - field_31- Lnet/minecraft/class_8;field_31:I- official - e- Letn;e:I
 
- 
entityBlockYSizeprotected int entityBlockYSize- Mappings:
- Namespace - Name - Mixin selector - named - entityBlockYSize- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockYSize:I- intermediary - field_30- Lnet/minecraft/class_8;field_30:I- official - f- Letn;f:I
 
- 
entityBlockZSizeprotected int entityBlockZSize- Mappings:
- Namespace - Name - Mixin selector - named - entityBlockZSize- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockZSize:I- intermediary - field_28- Lnet/minecraft/class_8;field_28:I- official - g- Letn;g:I
 
- 
canEnterOpenDoorsprotected boolean canEnterOpenDoors- Mappings:
- Namespace - Name - Mixin selector - named - canEnterOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canEnterOpenDoors:Z- intermediary - field_29- Lnet/minecraft/class_8;field_29:Z- official - h- Letn;h:Z
 
- 
canOpenDoorsprotected boolean canOpenDoors- Mappings:
- Namespace - Name - Mixin selector - named - canOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canOpenDoors:Z- intermediary - field_27- Lnet/minecraft/class_8;field_27:Z- official - i- Letn;i:Z
 
- 
canSwimprotected boolean canSwim- Mappings:
- Namespace - Name - Mixin selector - named - canSwim- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canSwim:Z- intermediary - field_25- Lnet/minecraft/class_8;field_25:Z- official - j- Letn;j:Z
 
- 
canWalkOverFencesprotected boolean canWalkOverFences- Mappings:
- Namespace - Name - Mixin selector - named - canWalkOverFences- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canWalkOverFences:Z- intermediary - field_40927- Lnet/minecraft/class_8;field_40927:Z- official - k- Letn;k:Z
 
 
- 
- 
Constructor Details- 
PathNodeMakerpublic PathNodeMaker()
 
- 
- 
Method Details- 
init- 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()- 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
 
- 
getNode- Mappings:
- Namespace - Name - Mixin selector - named - getNode- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/PathNode;- intermediary - method_27137- Lnet/minecraft/class_8;method_27137(Lnet/minecraft/class_2338;)Lnet/minecraft/class_9;- official - b- Letn;b(Lji;)Letm;
 
- 
getNode- Mappings:
- Namespace - Name - Mixin selector - named - getNode- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;- intermediary - method_13- Lnet/minecraft/class_8;method_13(III)Lnet/minecraft/class_9;- official - c- Letn;c(III)Letm;
 
- 
getStart- 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;
 
- 
getNode- 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;
 
- 
createNode- Mappings:
- Namespace - Name - Mixin selector - named - createNode- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;createNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;- intermediary - method_57083- Lnet/minecraft/class_8;method_57083(DDD)Lnet/minecraft/class_4459;- official - b- Letn;b(DDD)Letv;
 
- 
getSuccessors- 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
 
- 
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 - named - getNodeType- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNodeType(Lnet/minecraft/entity/ai/pathing/PathContext;IIILnet/minecraft/entity/mob/MobEntity;)Lnet/minecraft/entity/ai/pathing/PathNodeType;- intermediary - method_25- Lnet/minecraft/class_8;method_25(Lnet/minecraft/class_9316;IIILnet/minecraft/class_1308;)Lnet/minecraft/class_7;- official - a- Letn;a(Lett;IIILbvk;)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- 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;
 
- 
getDefaultNodeType- Mappings:
- Namespace - Name - Mixin selector - named - getDefaultNodeType- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/PathNodeType;- intermediary - method_57615- Lnet/minecraft/class_8;method_57615(Lnet/minecraft/class_1308;Lnet/minecraft/class_2338;)Lnet/minecraft/class_7;- official - a- Letn;a(Lbvk;Lji;)Letr;
 
- 
setCanEnterOpenDoorspublic void setCanEnterOpenDoors(boolean canEnterOpenDoors) - Mappings:
- Namespace - Name - Mixin selector - named - setCanEnterOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanEnterOpenDoors(Z)V- intermediary - method_15- Lnet/minecraft/class_8;method_15(Z)V- official - a- Letn;a(Z)V
 
- 
setCanOpenDoorspublic void setCanOpenDoors(boolean canOpenDoors) - Mappings:
- Namespace - Name - Mixin selector - named - setCanOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanOpenDoors(Z)V- intermediary - method_20- Lnet/minecraft/class_8;method_20(Z)V- official - b- Letn;b(Z)V
 
- 
setCanSwimpublic void setCanSwim(boolean canSwim) - Mappings:
- Namespace - Name - Mixin selector - named - setCanSwim- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanSwim(Z)V- intermediary - method_14- Lnet/minecraft/class_8;method_14(Z)V- official - c- Letn;c(Z)V
 
- 
setCanWalkOverFencespublic void setCanWalkOverFences(boolean canWalkOverFences) - Mappings:
- Namespace - Name - Mixin selector - named - setCanWalkOverFences- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanWalkOverFences(Z)V- intermediary - method_46737- Lnet/minecraft/class_8;method_46737(Z)V- official - d- Letn;d(Z)V
 
- 
canEnterOpenDoorspublic boolean canEnterOpenDoors()- Mappings:
- Namespace - Name - Mixin selector - named - canEnterOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canEnterOpenDoors()Z- intermediary - method_23- Lnet/minecraft/class_8;method_23()Z- official - d- Letn;d()Z
 
- 
canOpenDoorspublic boolean canOpenDoors()- Mappings:
- Namespace - Name - Mixin selector - named - canOpenDoors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canOpenDoors()Z- intermediary - method_24- Lnet/minecraft/class_8;method_24()Z- official - e- Letn;e()Z
 
- 
canSwimpublic boolean canSwim()- Mappings:
- Namespace - Name - Mixin selector - named - canSwim- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canSwim()Z- intermediary - method_22- Lnet/minecraft/class_8;method_22()Z- official - f- Letn;f()Z
 
- 
canWalkOverFencespublic boolean canWalkOverFences()- Mappings:
- Namespace - Name - Mixin selector - named - canWalkOverFences- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;canWalkOverFences()Z- intermediary - method_46738- Lnet/minecraft/class_8;method_46738()Z- official - g- Letn;g()Z
 
- 
isFireDamaging- Mappings:
- Namespace - Name - Mixin selector - named - isFireDamaging- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;isFireDamaging(Lnet/minecraft/block/BlockState;)Z- intermediary - method_57082- Lnet/minecraft/class_8;method_57082(Lnet/minecraft/class_2680;)Z- official - a- Letn;a(Ldwy;)Z
 
 
-