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 intermediary net/minecraft/class_8official dxpnamed net/minecraft/entity/ai/pathing/PathNodeMaker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ChunkCacheprotected booleanprotected booleanprotected booleanprotected booleanprotected MobEntityprotected intprotected intprotected intprotected final Int2ObjectMap<PathNode> -
Constructor Summary
Constructors -
Method Summary
Modifier 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 intermediary field_20622Lnet/minecraft/class_8;field_20622:Lnet/minecraft/class_1950;official aLdxp;a:Lcmx;named cachedWorldLnet/minecraft/entity/ai/pathing/PathNodeMaker;cachedWorld:Lnet/minecraft/world/chunk/ChunkCache;
-
entity
- Mappings:
Namespace Name Mixin selector intermediary field_33Lnet/minecraft/class_8;field_33:Lnet/minecraft/class_1308;official bLdxp;b:Lbfz;named entityLnet/minecraft/entity/ai/pathing/PathNodeMaker;entity:Lnet/minecraft/entity/mob/MobEntity;
-
pathNodeCache
- Mappings:
Namespace Name Mixin selector intermediary field_32Lnet/minecraft/class_8;field_32:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;official cLdxp;c:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;named pathNodeCacheLnet/minecraft/entity/ai/pathing/PathNodeMaker;pathNodeCache:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
entityBlockXSize
protected int entityBlockXSize- Mappings:
Namespace Name Mixin selector intermediary field_31Lnet/minecraft/class_8;field_31:Iofficial dLdxp;d:Inamed entityBlockXSizeLnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockXSize:I
-
entityBlockYSize
protected int entityBlockYSize- Mappings:
Namespace Name Mixin selector intermediary field_30Lnet/minecraft/class_8;field_30:Iofficial eLdxp;e:Inamed entityBlockYSizeLnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockYSize:I
-
entityBlockZSize
protected int entityBlockZSize- Mappings:
Namespace Name Mixin selector intermediary field_28Lnet/minecraft/class_8;field_28:Iofficial fLdxp;f:Inamed entityBlockZSizeLnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockZSize:I
-
canEnterOpenDoors
protected boolean canEnterOpenDoors- Mappings:
Namespace Name Mixin selector intermediary field_29Lnet/minecraft/class_8;field_29:Zofficial gLdxp;g:Znamed canEnterOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canEnterOpenDoors:Z
-
canOpenDoors
protected boolean canOpenDoors- Mappings:
Namespace Name Mixin selector intermediary field_27Lnet/minecraft/class_8;field_27:Zofficial hLdxp;h:Znamed canOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canOpenDoors:Z
-
canSwim
protected boolean canSwim- Mappings:
Namespace Name Mixin selector intermediary field_25Lnet/minecraft/class_8;field_25:Zofficial iLdxp;i:Znamed canSwimLnet/minecraft/entity/ai/pathing/PathNodeMaker;canSwim:Z
-
canWalkOverFences
protected boolean canWalkOverFences- Mappings:
Namespace Name Mixin selector intermediary field_40927Lnet/minecraft/class_8;field_40927:Zofficial jLdxp;j:Znamed canWalkOverFencesLnet/minecraft/entity/ai/pathing/PathNodeMaker;canWalkOverFences:Z
-
-
Constructor Details
-
PathNodeMaker
public PathNodeMaker()
-
-
Method Details
-
init
- Mappings:
Namespace Name Mixin selector intermediary method_12Lnet/minecraft/class_8;method_12(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)Vofficial aLdxp;a(Lcmx;Lbfz;)Vnamed initLnet/minecraft/entity/ai/pathing/PathNodeMaker;init(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;)V
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector intermediary method_19Lnet/minecraft/class_8;method_19()Vofficial bLdxp;b()Vnamed clearLnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()V
-
getNode
- Mappings:
Namespace Name Mixin selector intermediary method_27137Lnet/minecraft/class_8;method_27137(Lnet/minecraft/class_2338;)Lnet/minecraft/class_9;official bLdxp;b(Lgu;)Ldxo;named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
- Mappings:
Namespace Name Mixin selector intermediary method_13Lnet/minecraft/class_8;method_13(III)Lnet/minecraft/class_9;official bLdxp;b(III)Ldxo;named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;
-
getStart
- Mappings:
Namespace Name Mixin selector intermediary method_21Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;official aLdxp;a()Ldxo;named getStartLnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
- Mappings:
Namespace Name Mixin selector intermediary method_16Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;official aLdxp;a(DDD)Ldxu;named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
-
asTargetPathNode
- Mappings:
Namespace Name Mixin selector intermediary method_43568Lnet/minecraft/class_8;method_43568(Lnet/minecraft/class_9;)Lnet/minecraft/class_4459;official aLdxp;a(Ldxo;)Ldxu;named asTargetPathNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;asTargetPathNode(Lnet/minecraft/entity/ai/pathing/PathNode;)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
-
getSuccessors
- Mappings:
Namespace Name Mixin selector intermediary method_18Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Iofficial aLdxp;a([Ldxo;Ldxo;)Inamed getSuccessorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;getSuccessors([Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)I
-
getNodeType
Gets 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 intermediary method_25Lnet/minecraft/class_8;method_25(Lnet/minecraft/class_1922;IIILnet/minecraft/class_1308;)Lnet/minecraft/class_7;official aLdxp;a(Lclq;IIILbfz;)Ldxm;named getNodeTypeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNodeType(Lnet/minecraft/world/BlockView;IIILnet/minecraft/entity/mob/MobEntity;)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- Mappings:
Namespace Name Mixin selector intermediary method_17Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_1922;III)Lnet/minecraft/class_7;official aLdxp;a(Lclq;III)Ldxm;named getDefaultNodeTypeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
setCanEnterOpenDoors
public void setCanEnterOpenDoors(boolean canEnterOpenDoors) - Mappings:
Namespace Name Mixin selector intermediary method_15Lnet/minecraft/class_8;method_15(Z)Vofficial aLdxp;a(Z)Vnamed setCanEnterOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanEnterOpenDoors(Z)V
-
setCanOpenDoors
public void setCanOpenDoors(boolean canOpenDoors) - Mappings:
Namespace Name Mixin selector intermediary method_20Lnet/minecraft/class_8;method_20(Z)Vofficial bLdxp;b(Z)Vnamed setCanOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanOpenDoors(Z)V
-
setCanSwim
public void setCanSwim(boolean canSwim) - Mappings:
Namespace Name Mixin selector intermediary method_14Lnet/minecraft/class_8;method_14(Z)Vofficial cLdxp;c(Z)Vnamed setCanSwimLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanSwim(Z)V
-
setCanWalkOverFences
public void setCanWalkOverFences(boolean canWalkOverFences) - Mappings:
Namespace Name Mixin selector intermediary method_46737Lnet/minecraft/class_8;method_46737(Z)Vofficial dLdxp;d(Z)Vnamed setCanWalkOverFencesLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanWalkOverFences(Z)V
-
canEnterOpenDoors
public boolean canEnterOpenDoors()- Mappings:
Namespace Name Mixin selector intermediary method_23Lnet/minecraft/class_8;method_23()Zofficial dLdxp;d()Znamed canEnterOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canEnterOpenDoors()Z
-
canOpenDoors
public boolean canOpenDoors()- Mappings:
Namespace Name Mixin selector intermediary method_24Lnet/minecraft/class_8;method_24()Zofficial eLdxp;e()Znamed canOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canOpenDoors()Z
-
canSwim
public boolean canSwim()- Mappings:
Namespace Name Mixin selector intermediary method_22Lnet/minecraft/class_8;method_22()Zofficial fLdxp;f()Znamed canSwimLnet/minecraft/entity/ai/pathing/PathNodeMaker;canSwim()Z
-
canWalkOverFences
public boolean canWalkOverFences()- Mappings:
Namespace Name Mixin selector intermediary method_46738Lnet/minecraft/class_8;method_46738()Zofficial gLdxp;g()Znamed canWalkOverFencesLnet/minecraft/entity/ai/pathing/PathNodeMaker;canWalkOverFences()Z
-