Class AmphibiousPathNodeMaker


public class AmphibiousPathNodeMaker
extends LandPathNodeMaker
Mappings:
Namespace Name
official dcn
intermediary net/minecraft/class_15
named net/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker
  • Field Details

    • field_28358

      private final boolean field_28358
      Mappings:
      Namespace Name Mixin selector
      official k Ldcn;k:Z
      intermediary field_28358 Lnet/minecraft/class_15;field_28358:Z
      named field_28358 Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;field_28358:Z
    • oldWalkablePenalty

      private float oldWalkablePenalty
      Mappings:
      Namespace Name Mixin selector
      official l Ldcn;l:F
      intermediary field_65 Lnet/minecraft/class_15;field_65:F
      named oldWalkablePenalty Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWalkablePenalty:F
    • oldWaterBorderPenalty

      private float oldWaterBorderPenalty
      Mappings:
      Namespace Name Mixin selector
      official m Ldcn;m:F
      intermediary field_64 Lnet/minecraft/class_15;field_64:F
      named oldWaterBorderPenalty Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWaterBorderPenalty:F
  • Constructor Details

    • AmphibiousPathNodeMaker

      public AmphibiousPathNodeMaker​(boolean bool)
  • Method Details

    • init

      public void init​(ChunkCache cachedWorld, MobEntity entity)
      Overrides:
      init in class LandPathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldcs;a(Lbuh;Larj;)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 LandPathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldcs;a()V
      intermediary method_19 Lnet/minecraft/class_8;method_19()V
      named clear Lnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()V
    • getStart

      public PathNode getStart()
      Overrides:
      getStart in class LandPathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official b Ldcs;b()Ldcr;
      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

      public TargetPathNode getNode​(double x, double y, double z)
      Overrides:
      getNode in class LandPathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldcs;a(DDD)Ldcx;
      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)
      Overrides:
      getSuccessors in class LandPathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldcs;a([Ldcr;Ldcr;)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
    • getFeetY

      private double getFeetY​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Ldcn;b(Lfx;)D
      intermediary method_66 Lnet/minecraft/class_15;method_66(Lnet/minecraft/class_2338;)D
      named getFeetY Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;getFeetY(Lnet/minecraft/util/math/BlockPos;)D
    • getPathNode

      @Nullable private PathNode getPathNode​(int x, int y, int z, int maxYStep, double prevFeetY)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcn;a(IIIID)Ldcr;
      intermediary method_65 Lnet/minecraft/class_15;method_65(IIIID)Lnet/minecraft/class_9;
      named getPathNode Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;getPathNode(IIIID)Lnet/minecraft/entity/ai/pathing/PathNode;
    • adjustNodeType

      protected PathNodeType adjustNodeType​(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type)
      Overrides:
      adjustNodeType in class LandPathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldcy;a(Lbsz;ZZLfx;Ldcp;)Ldcp;
      intermediary method_61 Lnet/minecraft/class_14;method_61(Lnet/minecraft/class_1922;ZZLnet/minecraft/class_2338;Lnet/minecraft/class_7;)Lnet/minecraft/class_7;
      named adjustNodeType Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;adjustNodeType(Lnet/minecraft/world/BlockView;ZZLnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/PathNodeType;)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
      Overrides:
      getDefaultNodeType in class LandPathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Ldcs;a(Lbsz;III)Ldcp;
      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;