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/WaterPathNodeMakerintermediary net/minecraft/class_12official fiv
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PathNodeTypeaddPathNodePos(int x, int y, int z) voidclear()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()intgetSuccessors(PathNode[] successors, PathNode node) protected booleanhasNotVisited(@Nullable PathNode node) private static booleanhasPenalty(@Nullable PathNode node) voidinit(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 canJumpOutOfWaterLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;canJumpOutOfWater:Zintermediary field_58Lnet/minecraft/class_12;field_58:Zofficial aLfiv;a:Z
-
nodePosToType
- Mappings:
Namespace Name Mixin selector named nodePosToTypeLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;nodePosToType:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;intermediary field_34767Lnet/minecraft/class_12;field_34767:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;official lLfiv;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)Vintermediary <init>Lnet/minecraft/class_12;<init>(Z)Vofficial <init>Lfiv;<init>(Z)V
-
-
Method Details
-
init
- Overrides:
initin classPathNodeMaker- 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 aLfio;a(Ldue;Lcgj;)V
-
clear
public void clear()- Overrides:
clearin classPathNodeMaker- Mappings:
Namespace Name Mixin selector named clearLnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()Vintermediary method_19Lnet/minecraft/class_8;method_19()Vofficial bLfio;b()V
-
getStart
- Specified by:
getStartin classPathNodeMaker- 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 aLfio;a()Lfin;
-
getNode
- Specified by:
getNodein classPathNodeMaker- 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 aLfio;a(DDD)Lfiw;
-
getSuccessors
- Specified by:
getSuccessorsin classPathNodeMaker- 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 aLfio;a([Lfin;Lfin;)I
-
hasNotVisited
- Mappings:
Namespace Name Mixin selector named hasNotVisitedLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;hasNotVisited(Lnet/minecraft/entity/ai/pathing/PathNode;)Zintermediary method_38487Lnet/minecraft/class_12;method_38487(Lnet/minecraft/class_9;)Zofficial aLfiv;a(Lfin;)Z
-
hasPenalty
- Mappings:
Namespace Name Mixin selector named hasPenaltyLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;hasPenalty(Lnet/minecraft/entity/ai/pathing/PathNode;)Zintermediary method_57084Lnet/minecraft/class_12;method_57084(Lnet/minecraft/class_9;)Zofficial bLfiv;b(Lfin;)Z
-
getPassableNode
- Mappings:
Namespace Name Mixin selector named getPassableNodeLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;getPassableNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;intermediary method_47936Lnet/minecraft/class_12;method_47936(III)Lnet/minecraft/class_9;official aLfiv;a(III)Lfin;
-
addPathNodePos
- Mappings:
Namespace Name Mixin selector named addPathNodePosLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;addPathNodePos(III)Lnet/minecraft/entity/ai/pathing/PathNodeType;intermediary method_38489Lnet/minecraft/class_12;method_38489(III)Lnet/minecraft/class_7;official bLfiv;b(III)Lfis;
-
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 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 aLfio;a(Lfiu;III)Lfis;
-
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 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 aLfio;a(Lfiu;IIILcgj;)Lfis;
-