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/PathNodeMakerintermediary net/minecraft/class_8official epp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected booleanprotected PathContextprotected MobEntityprotected intprotected intprotected intprotected final Int2ObjectMap<PathNode> -
Constructor Summary
Constructors -
Method Summary
Modifier 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 contextLnet/minecraft/entity/ai/pathing/PathNodeMaker;context:Lnet/minecraft/entity/ai/pathing/PathContext;intermediary field_49416Lnet/minecraft/class_8;field_49416:Lnet/minecraft/class_9316;official aLepp;a:Lepv;
-
entity
- Mappings:
Namespace Name Mixin selector named entityLnet/minecraft/entity/ai/pathing/PathNodeMaker;entity:Lnet/minecraft/entity/mob/MobEntity;intermediary field_33Lnet/minecraft/class_8;field_33:Lnet/minecraft/class_1308;official bLepp;b:Lbtp;
-
pathNodeCache
- Mappings:
Namespace Name Mixin selector named pathNodeCacheLnet/minecraft/entity/ai/pathing/PathNodeMaker;pathNodeCache:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_32Lnet/minecraft/class_8;field_32:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;official cLepp;c:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
entityBlockXSize
protected int entityBlockXSize- Mappings:
Namespace Name Mixin selector named entityBlockXSizeLnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockXSize:Iintermediary field_31Lnet/minecraft/class_8;field_31:Iofficial dLepp;d:I
-
entityBlockYSize
protected int entityBlockYSize- Mappings:
Namespace Name Mixin selector named entityBlockYSizeLnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockYSize:Iintermediary field_30Lnet/minecraft/class_8;field_30:Iofficial eLepp;e:I
-
entityBlockZSize
protected int entityBlockZSize- Mappings:
Namespace Name Mixin selector named entityBlockZSizeLnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockZSize:Iintermediary field_28Lnet/minecraft/class_8;field_28:Iofficial fLepp;f:I
-
canEnterOpenDoors
protected boolean canEnterOpenDoors- Mappings:
Namespace Name Mixin selector named canEnterOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canEnterOpenDoors:Zintermediary field_29Lnet/minecraft/class_8;field_29:Zofficial gLepp;g:Z
-
canOpenDoors
protected boolean canOpenDoors- Mappings:
Namespace Name Mixin selector named canOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canOpenDoors:Zintermediary field_27Lnet/minecraft/class_8;field_27:Zofficial hLepp;h:Z
-
canSwim
protected boolean canSwim- Mappings:
Namespace Name Mixin selector named canSwimLnet/minecraft/entity/ai/pathing/PathNodeMaker;canSwim:Zintermediary field_25Lnet/minecraft/class_8;field_25:Zofficial iLepp;i:Z
-
canWalkOverFences
protected boolean canWalkOverFences- Mappings:
Namespace Name Mixin selector named canWalkOverFencesLnet/minecraft/entity/ai/pathing/PathNodeMaker;canWalkOverFences:Zintermediary field_40927Lnet/minecraft/class_8;field_40927:Zofficial jLepp;j:Z
-
-
Constructor Details
-
PathNodeMaker
public PathNodeMaker()
-
-
Method Details
-
init
- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/entity/ai/pathing/PathNodeMaker;init(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;)Vintermediary method_12Lnet/minecraft/class_8;method_12(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)Vofficial aLepp;a(Lddj;Lbtp;)V
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector named clearLnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()Vintermediary method_19Lnet/minecraft/class_8;method_19()Vofficial bLepp;b()V
-
getNode
- Mappings:
Namespace Name Mixin selector named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/PathNode;intermediary method_27137Lnet/minecraft/class_8;method_27137(Lnet/minecraft/class_2338;)Lnet/minecraft/class_9;official bLepp;b(Ljd;)Lepo;
-
getNode
- Mappings:
Namespace Name Mixin selector named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;intermediary method_13Lnet/minecraft/class_8;method_13(III)Lnet/minecraft/class_9;official cLepp;c(III)Lepo;
-
getStart
- Mappings:
Namespace Name Mixin selector named getStartLnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;intermediary method_21Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;official aLepp;a()Lepo;
-
getNode
- Mappings:
Namespace Name Mixin selector named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;intermediary method_16Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;official aLepp;a(DDD)Lepx;
-
createNode
- Mappings:
Namespace Name Mixin selector named createNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;createNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;intermediary method_57083Lnet/minecraft/class_8;method_57083(DDD)Lnet/minecraft/class_4459;official bLepp;b(DDD)Lepx;
-
getSuccessors
- Mappings:
Namespace Name Mixin selector named getSuccessorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;getSuccessors([Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)Iintermediary method_18Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Iofficial aLepp;a([Lepo;Lepo;)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 named getNodeTypeLnet/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_25Lnet/minecraft/class_8;method_25(Lnet/minecraft/class_9316;IIILnet/minecraft/class_1308;)Lnet/minecraft/class_7;official aLepp;a(Lepv;IIILbtp;)Lept;
-
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 named getDefaultNodeTypeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/entity/ai/pathing/PathContext;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;intermediary method_17Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_9316;III)Lnet/minecraft/class_7;official aLepp;a(Lepv;III)Lept;
-
getDefaultNodeType
- Mappings:
Namespace Name Mixin selector named getDefaultNodeTypeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/PathNodeType;intermediary method_57615Lnet/minecraft/class_8;method_57615(Lnet/minecraft/class_1308;Lnet/minecraft/class_2338;)Lnet/minecraft/class_7;official aLepp;a(Lbtp;Ljd;)Lept;
-
setCanEnterOpenDoors
public void setCanEnterOpenDoors(boolean canEnterOpenDoors) - Mappings:
Namespace Name Mixin selector named setCanEnterOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanEnterOpenDoors(Z)Vintermediary method_15Lnet/minecraft/class_8;method_15(Z)Vofficial aLepp;a(Z)V
-
setCanOpenDoors
public void setCanOpenDoors(boolean canOpenDoors) - Mappings:
Namespace Name Mixin selector named setCanOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanOpenDoors(Z)Vintermediary method_20Lnet/minecraft/class_8;method_20(Z)Vofficial bLepp;b(Z)V
-
setCanSwim
public void setCanSwim(boolean canSwim) - Mappings:
Namespace Name Mixin selector named setCanSwimLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanSwim(Z)Vintermediary method_14Lnet/minecraft/class_8;method_14(Z)Vofficial cLepp;c(Z)V
-
setCanWalkOverFences
public void setCanWalkOverFences(boolean canWalkOverFences) - Mappings:
Namespace Name Mixin selector named setCanWalkOverFencesLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanWalkOverFences(Z)Vintermediary method_46737Lnet/minecraft/class_8;method_46737(Z)Vofficial dLepp;d(Z)V
-
canEnterOpenDoors
public boolean canEnterOpenDoors()- Mappings:
Namespace Name Mixin selector named canEnterOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canEnterOpenDoors()Zintermediary method_23Lnet/minecraft/class_8;method_23()Zofficial dLepp;d()Z
-
canOpenDoors
public boolean canOpenDoors()- Mappings:
Namespace Name Mixin selector named canOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canOpenDoors()Zintermediary method_24Lnet/minecraft/class_8;method_24()Zofficial eLepp;e()Z
-
canSwim
public boolean canSwim()- Mappings:
Namespace Name Mixin selector named canSwimLnet/minecraft/entity/ai/pathing/PathNodeMaker;canSwim()Zintermediary method_22Lnet/minecraft/class_8;method_22()Zofficial fLepp;f()Z
-
canWalkOverFences
public boolean canWalkOverFences()- Mappings:
Namespace Name Mixin selector named canWalkOverFencesLnet/minecraft/entity/ai/pathing/PathNodeMaker;canWalkOverFences()Zintermediary method_46738Lnet/minecraft/class_8;method_46738()Zofficial gLepp;g()Z
-
isFireDamaging
- Mappings:
Namespace Name Mixin selector named isFireDamagingLnet/minecraft/entity/ai/pathing/PathNodeMaker;isFireDamaging(Lnet/minecraft/block/BlockState;)Zintermediary method_57082Lnet/minecraft/class_8;method_57082(Lnet/minecraft/class_2680;)Zofficial aLepp;a(Ldtc;)Z
-