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 official dhd
intermediary net/minecraft/class_12
named net/minecraft/entity/ai/pathing/WaterPathNodeMaker
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
cachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultNodeType
(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) getNode
(int x, int y, int z) private PathNodeType
getNodeType
(int x, int y, int z) getNodeType
(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors) getPathNodeInWater
(int x, int y, int z) getStart()
int
getSuccessors
(PathNode[] successors, PathNode node) Methods inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, clear, getNode, init, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim
-
Field Details
-
canJumpOutOfWater
private final boolean canJumpOutOfWater- Mappings:
Namespace Name Mixin selector official j
Ldhd;j:Z
intermediary field_58
Lnet/minecraft/class_12;field_58:Z
named canJumpOutOfWater
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;canJumpOutOfWater:Z
-
-
Constructor Details
-
WaterPathNodeMaker
public WaterPathNodeMaker(boolean canJumpOutOfWater) - Mappings:
Namespace Name Mixin selector official <init>
Ldhd;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_12;<init>(Z)V
named <init>
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;<init>(Z)V
-
-
Method Details
-
getStart
- Specified by:
getStart
in classPathNodeMaker
- Mappings:
Namespace Name Mixin selector official b
Ldgz;b()Ldgy;
intermediary method_21
Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;
named getStart
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
- Specified by:
getNode
in classPathNodeMaker
- Mappings:
Namespace Name Mixin selector official a
Ldgz;a(DDD)Ldhe;
intermediary method_16
Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;
named getNode
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
-
getSuccessors
- Specified by:
getSuccessors
in classPathNodeMaker
- Mappings:
Namespace Name Mixin selector official a
Ldgz;a([Ldgy;Ldgy;)I
intermediary method_18
Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)I
named getSuccessors
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getSuccessors([Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)I
-
getNodeType
public PathNodeType getNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors) - Specified by:
getNodeType
in classPathNodeMaker
- Mappings:
Namespace Name Mixin selector official a
Ldgz;a(Lbvt;IIILatv;IIIZZ)Ldgw;
intermediary method_17
Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_1922;IIILnet/minecraft/class_1308;IIIZZ)Lnet/minecraft/class_7;
named getNodeType
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNodeType(Lnet/minecraft/world/BlockView;IIILnet/minecraft/entity/mob/MobEntity;IIIZZ)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:
getDefaultNodeType
in classPathNodeMaker
- Mappings:
Namespace Name Mixin selector official a
Ldgz;a(Lbvt;III)Ldgw;
intermediary method_25
Lnet/minecraft/class_8;method_25(Lnet/minecraft/class_1922;III)Lnet/minecraft/class_7;
named getDefaultNodeType
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
getPathNodeInWater
- Mappings:
Namespace Name Mixin selector official b
Ldhd;b(III)Ldgy;
intermediary method_51
Lnet/minecraft/class_12;method_51(III)Lnet/minecraft/class_9;
named getPathNodeInWater
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;getPathNodeInWater(III)Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
- Overrides:
getNode
in classPathNodeMaker
- Mappings:
Namespace Name Mixin selector official a
Ldgz;a(III)Ldgy;
intermediary method_13
Lnet/minecraft/class_8;method_13(III)Lnet/minecraft/class_9;
named getNode
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNodeType
- Mappings:
Namespace Name Mixin selector official c
Ldhd;c(III)Ldgw;
intermediary method_50
Lnet/minecraft/class_12;method_50(III)Lnet/minecraft/class_7;
named getNodeType
Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;getNodeType(III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-