Package net.minecraft.entity.ai.pathing
Class WaterPathNodeMaker
java.lang.Object
net.minecraft.entity.ai.pathing.PathNodeMaker
net.minecraft.entity.ai.pathing.WaterPathNodeMaker
public class WaterPathNodeMaker extends PathNodeMaker
- Mappings:
Namespace Name official depintermediary net/minecraft/class_12named net/minecraft/entity/ai/pathing/WaterPathNodeMaker
-
Field Summary
Fields Modifier and Type Field Description private booleancanJumpOutOfWaterFields inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
cachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache -
Constructor Summary
Constructors Constructor Description WaterPathNodeMaker(boolean canJumpOutOfWater) -
Method Summary
Modifier and Type Method Description PathNodeTypegetDefaultNodeType(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 doorsTargetPathNodegetNode(double x, double y, double z)protected @Nullable PathNodegetNode(int x, int y, int z)private PathNodeTypegetNodeType(int x, int y, int z)PathNodeTypegetNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors)private @Nullable PathNodegetPathNodeInWater(int x, int y, int z)PathNodegetStart()intgetSuccessors(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 jLdep;j:Zintermediary field_58Lnet/minecraft/class_12;field_58:Znamed canJumpOutOfWaterLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;canJumpOutOfWater:Z
-
-
Constructor Details
-
WaterPathNodeMaker
public WaterPathNodeMaker(boolean canJumpOutOfWater)- Mappings:
Namespace Name Mixin selector official <init>Ldep;<init>(Z)Vintermediary <init>Lnet/minecraft/class_12;<init>(Z)Vnamed <init>Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;<init>(Z)V
-
-
Method Details
-
getStart
- Specified by:
getStartin classPathNodeMaker- Mappings:
Namespace Name Mixin selector official bLdel;b()Ldek;intermediary method_21Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;named getStartLnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
- Specified by:
getNodein classPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdel;a(DDD)Ldeq;intermediary method_16Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;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 official aLdel;a([Ldek;Ldek;)Iintermediary method_18Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Inamed getSuccessorsLnet/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:
getNodeTypein classPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdel;a(Lbtu;IIILasc;IIIZZ)Ldei;intermediary method_17Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_1922;IIILnet/minecraft/class_1308;IIIZZ)Lnet/minecraft/class_7;named getNodeTypeLnet/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:
getDefaultNodeTypein classPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdel;a(Lbtu;III)Ldei;intermediary method_25Lnet/minecraft/class_8;method_25(Lnet/minecraft/class_1922;III)Lnet/minecraft/class_7;named getDefaultNodeTypeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
getPathNodeInWater
- Mappings:
Namespace Name Mixin selector official bLdep;b(III)Ldek;intermediary method_51Lnet/minecraft/class_12;method_51(III)Lnet/minecraft/class_9;named getPathNodeInWaterLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;getPathNodeInWater(III)Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
- Overrides:
getNodein classPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdel;a(III)Ldek;intermediary method_13Lnet/minecraft/class_8;method_13(III)Lnet/minecraft/class_9;named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNodeType
- Mappings:
Namespace Name Mixin selector official cLdep;c(III)Ldei;intermediary method_50Lnet/minecraft/class_12;method_50(III)Lnet/minecraft/class_7;named getNodeTypeLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;getNodeType(III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-