Package net.minecraft.entity.ai.pathing
Class WaterPathNodeMaker
java.lang.Object
net.minecraft.entity.ai.pathing.PathNodeMaker
net.minecraft.entity.ai.pathing.WaterPathNodeMaker
- Mappings:
Namespace Name intermediary net/minecraft/class_12official dxtnamed net/minecraft/entity/ai/pathing/WaterPathNodeMaker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final Long2ObjectMap<PathNodeType>Fields inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
cachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PathNodeTypeaddPathNodePos(int x, int y, int z) protected booleanvoidclear()getDefaultNodeType(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 doorsgetNode(double x, double y, double z) getNodeType(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 doorsgetPassableNode(int x, int y, int z) getStart()intgetSuccessors(PathNode[] successors, PathNode node) protected booleanhasNotVisited(@Nullable PathNode node) voidinit(ChunkCache cachedWorld, MobEntity entity) Methods inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
asTargetPathNode, canEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, getNode, getNode, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim, setCanWalkOverFences
-
Field Details
-
canJumpOutOfWater
private final boolean canJumpOutOfWater- Mappings:
Namespace Name Mixin selector intermediary field_58Lnet/minecraft/class_12;field_58:Zofficial kLdxt;k:Znamed canJumpOutOfWaterLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;canJumpOutOfWater:Z
-
nodePosToType
- Mappings:
Namespace Name Mixin selector intermediary field_34767Lnet/minecraft/class_12;field_34767:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;official lLdxt;l:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;named nodePosToTypeLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;nodePosToType:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
-
Constructor Details
-
WaterPathNodeMaker
public WaterPathNodeMaker(boolean canJumpOutOfWater) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_12;<init>(Z)Vofficial <init>Ldxt;<init>(Z)Vnamed <init>Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;<init>(Z)V
-
-
Method Details
-
init
- Overrides:
initin classPathNodeMaker- 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()- Overrides:
clearin classPathNodeMaker- 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
-
getStart
- Specified by:
getStartin classPathNodeMaker- 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
- Specified by:
getNodein classPathNodeMaker- 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;
-
getSuccessors
- Specified by:
getSuccessorsin classPathNodeMaker- 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
-
hasNotVisited
- Mappings:
Namespace Name Mixin selector intermediary method_38487Lnet/minecraft/class_12;method_38487(Lnet/minecraft/class_9;)Zofficial bLdxt;b(Ldxo;)Znamed hasNotVisitedLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;hasNotVisited(Lnet/minecraft/entity/ai/pathing/PathNode;)Z
-
canPathThrough
protected boolean canPathThrough(@Nullable @Nullable PathNode diagonalNode, @Nullable @Nullable PathNode node1, @Nullable @Nullable PathNode node2) - Mappings:
Namespace Name Mixin selector intermediary method_38488Lnet/minecraft/class_12;method_38488(Lnet/minecraft/class_9;Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Zofficial aLdxt;a(Ldxo;Ldxo;Ldxo;)Znamed canPathThroughLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;canPathThrough(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)Z
-
getPassableNode
- Mappings:
Namespace Name Mixin selector intermediary method_47936Lnet/minecraft/class_12;method_47936(III)Lnet/minecraft/class_9;official aLdxt;a(III)Ldxo;named getPassableNodeLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;getPassableNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;
-
addPathNodePos
- Mappings:
Namespace Name Mixin selector intermediary method_38489Lnet/minecraft/class_12;method_38489(III)Lnet/minecraft/class_7;official cLdxt;c(III)Ldxm;named addPathNodePosLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;addPathNodePos(III)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- Specified by:
getDefaultNodeTypein classPathNodeMaker- 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;
-
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- Specified by:
getNodeTypein classPathNodeMaker- 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;
-