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 dpr
intermediary net/minecraft/class_12
named net/minecraft/entity/ai/pathing/WaterPathNodeMaker
  • Field Details

    • canJumpOutOfWater

      private final boolean canJumpOutOfWater
      Mappings:
      Namespace Name Mixin selector
      official j Ldpr;j:Z
      intermediary field_58 Lnet/minecraft/class_12;field_58:Z
      named canJumpOutOfWater Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;canJumpOutOfWater:Z
    • nodePosToType

      private final Long2ObjectMap<PathNodeType> nodePosToType
      Mappings:
      Namespace Name Mixin selector
      official k Ldpr;k:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      intermediary field_34767 Lnet/minecraft/class_12;field_34767:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      named nodePosToType Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;nodePosToType:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
  • Constructor Details

    • WaterPathNodeMaker

      public WaterPathNodeMaker(boolean canJumpOutOfWater)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldpr;<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

    • init

      public void init(ChunkCache cachedWorld, MobEntity entity)
      Overrides:
      init in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldpn;a(Lcgn;Lbbh;)V
      intermediary method_12 Lnet/minecraft/class_8;method_12(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)V
      named init Lnet/minecraft/entity/ai/pathing/PathNodeMaker;init(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;)V
    • clear

      public void clear()
      Overrides:
      clear in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official b Ldpn;b()V
      intermediary method_19 Lnet/minecraft/class_8;method_19()V
      named clear Lnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()V
    • getStart

      @Nullable public @Nullable PathNode getStart()
      Specified by:
      getStart in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldpn;a()Ldpm;
      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

      @Nullable public @Nullable TargetPathNode getNode(double x, double y, double z)
      Specified by:
      getNode in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldpn;a(DDD)Ldps;
      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

      public int getSuccessors(PathNode[] successors, PathNode node)
      Specified by:
      getSuccessors in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldpn;a([Ldpm;Ldpm;)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
    • hasNotVisited

      protected boolean hasNotVisited(@Nullable @Nullable PathNode pathNode)
      Mappings:
      Namespace Name Mixin selector
      official b Ldpr;b(Ldpm;)Z
      intermediary method_38487 Lnet/minecraft/class_12;method_38487(Lnet/minecraft/class_9;)Z
      named hasNotVisited Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;hasNotVisited(Lnet/minecraft/entity/ai/pathing/PathNode;)Z
    • method_38488

      protected boolean method_38488(@Nullable @Nullable PathNode pathNode, @Nullable @Nullable PathNode pathNode2, @Nullable @Nullable PathNode pathNode3)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpr;a(Ldpm;Ldpm;Ldpm;)Z
      intermediary method_38488 Lnet/minecraft/class_12;method_38488(Lnet/minecraft/class_9;Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Z
      named method_38488 Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;method_38488(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)Z
    • getNode

      @Nullable protected @Nullable PathNode getNode(int x, int y, int z)
      Overrides:
      getNode in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldpn;a(III)Ldpm;
      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;
    • addPathNodePos

      protected PathNodeType addPathNodePos(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Ldpr;b(III)Ldpk;
      intermediary method_38489 Lnet/minecraft/class_12;method_38489(III)Lnet/minecraft/class_7;
      named addPathNodePos Lnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;addPathNodePos(III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
    • getDefaultNodeType

      public PathNodeType 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 doors
      Specified by:
      getDefaultNodeType in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldpn;a(Lcfg;III)Ldpk;
      intermediary method_17 Lnet/minecraft/class_8;method_17(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;
    • getNodeType

      public PathNodeType getNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors)
      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 class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldpn;a(Lcfg;IIILbbh;IIIZZ)Ldpk;
      intermediary method_25 Lnet/minecraft/class_8;method_25(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;