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 named net/minecraft/entity/ai/pathing/WaterPathNodeMaker
intermediary net/minecraft/class_12
official euq
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final Long2ObjectMap
<PathNodeType> Fields inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, context, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PathNodeType
addPathNodePos
(int x, int y, int z) void
clear()
getDefaultNodeType
(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 doorsgetNode
(double x, double y, double z) getNodeType
(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 doorsgetPassableNode
(int x, int y, int z) getStart()
int
getSuccessors
(PathNode[] successors, PathNode node) protected boolean
hasNotVisited
(@Nullable PathNode node) private static boolean
hasPenalty
(@Nullable PathNode node) void
init
(ChunkCache cachedWorld, MobEntity entity) Methods inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, createNode, getDefaultNodeType, getNode, getNode, isFireDamaging, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim, setCanWalkOverFences
-
Field Details
-
canJumpOutOfWater
private final boolean canJumpOutOfWater- Mappings:
Namespace Name Mixin selector named canJumpOutOfWater
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;canJumpOutOfWater:Z
intermediary field_58
Lnet/minecraft/class_12;field_58:Z
official a
Leuq;a:Z
-
nodePosToType
- Mappings:
Namespace Name Mixin selector named nodePosToType
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;nodePosToType:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
intermediary field_34767
Lnet/minecraft/class_12;field_34767:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
official l
Leuq;l:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
-
Constructor Details
-
WaterPathNodeMaker
public WaterPathNodeMaker(boolean canJumpOutOfWater) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_12;<init>(Z)V
official <init>
Leuq;<init>(Z)V
-
-
Method Details
-
init
- Overrides:
init
in classPathNodeMaker
- 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
Leuj;a(Ldhu;Lbwh;)V
-
clear
public void clear()- Overrides:
clear
in classPathNodeMaker
- 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
Leuj;b()V
-
getStart
- Specified by:
getStart
in classPathNodeMaker
- 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
Leuj;a()Leui;
-
getNode
- Specified by:
getNode
in classPathNodeMaker
- 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
Leuj;a(DDD)Leur;
-
getSuccessors
- Specified by:
getSuccessors
in classPathNodeMaker
- 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
Leuj;a([Leui;Leui;)I
-
hasNotVisited
- Mappings:
Namespace Name Mixin selector named hasNotVisited
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;hasNotVisited(Lnet/minecraft/entity/ai/pathing/PathNode;)Z
intermediary method_38487
Lnet/minecraft/class_12;method_38487(Lnet/minecraft/class_9;)Z
official a
Leuq;a(Leui;)Z
-
hasPenalty
- Mappings:
Namespace Name Mixin selector named hasPenalty
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;hasPenalty(Lnet/minecraft/entity/ai/pathing/PathNode;)Z
intermediary method_57084
Lnet/minecraft/class_12;method_57084(Lnet/minecraft/class_9;)Z
official b
Leuq;b(Leui;)Z
-
getPassableNode
- Mappings:
Namespace Name Mixin selector named getPassableNode
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;getPassableNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;
intermediary method_47936
Lnet/minecraft/class_12;method_47936(III)Lnet/minecraft/class_9;
official a
Leuq;a(III)Leui;
-
addPathNodePos
- Mappings:
Namespace Name Mixin selector named addPathNodePos
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;addPathNodePos(III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
intermediary method_38489
Lnet/minecraft/class_12;method_38489(III)Lnet/minecraft/class_7;
official b
Leuq;b(III)Leun;
-
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:
getDefaultNodeType
in classPathNodeMaker
- 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
Leuj;a(Leup;III)Leun;
-
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:
getNodeType
in classPathNodeMaker
- 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
Leuj;a(Leup;IIILbwh;)Leun;
-