Class LandPathNodeMaker

java.lang.Object
net.minecraft.entity.ai.pathing.PathNodeMaker
net.minecraft.entity.ai.pathing.LandPathNodeMaker
Direct Known Subclasses:
AmphibiousPathNodeMaker, BirdPathNodeMaker

public class LandPathNodeMaker extends PathNodeMaker
Mappings:
Namespace Name
official ejj
intermediary net/minecraft/class_14
named net/minecraft/entity/ai/pathing/LandPathNodeMaker
  • Field Details

    • Y_OFFSET

      public static final double Y_OFFSET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lejj;k:D
      intermediary field_31809 Lnet/minecraft/class_14;field_31809:D
      named Y_OFFSET Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;Y_OFFSET:D
    • MIN_STEP_HEIGHT

      private static final double MIN_STEP_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lejj;l:D
      intermediary field_40928 Lnet/minecraft/class_14;field_40928:D
      named MIN_STEP_HEIGHT Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;MIN_STEP_HEIGHT:D
    • field_49156

      private final Long2ObjectMap<PathNodeType> field_49156
      Mappings:
      Namespace Name Mixin selector
      official m Lejj;m:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      intermediary field_49156 Lnet/minecraft/class_14;field_49156:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      named field_49156 Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;field_49156:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
    • collidedBoxes

      private final Object2BooleanMap<Box> collidedBoxes
      Mappings:
      Namespace Name Mixin selector
      official n Lejj;n:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
      intermediary field_25191 Lnet/minecraft/class_14;field_25191:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
      named collidedBoxes Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;collidedBoxes:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
    • field_49157

      private final PathNode[] field_49157
      Mappings:
      Namespace Name Mixin selector
      official o Lejj;o:[Lejb;
      intermediary field_49157 Lnet/minecraft/class_14;field_49157:[Lnet/minecraft/class_9;
      named field_49157 Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;field_49157:[Lnet/minecraft/entity/ai/pathing/PathNode;
  • Constructor Details

    • LandPathNodeMaker

      public LandPathNodeMaker()
  • Method Details

    • init

      public void init(ChunkCache cachedWorld, MobEntity entity)
      Overrides:
      init in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Lejc;a(Lcxo;Lbpr;)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 Lejc;b()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()
      Specified by:
      getStart in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Lejc;a()Lejb;
      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;
    • getStart

      protected PathNode getStart(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Lejj;c(Lib;)Lejb;
      intermediary method_43415 Lnet/minecraft/class_14;method_43415(Lnet/minecraft/class_2338;)Lnet/minecraft/class_9;
      named getStart Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getStart(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/PathNode;
    • canPathThrough

      protected boolean canPathThrough(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(Lib;)Z
      intermediary method_47893 Lnet/minecraft/class_14;method_47893(Lnet/minecraft/class_2338;)Z
      named canPathThrough Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;canPathThrough(Lnet/minecraft/util/math/BlockPos;)Z
    • getNode

      public TargetPathNode getNode(double x, double y, double z)
      Specified by:
      getNode in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Lejc;a(DDD)Leji;
      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 Lejc;a([Lejb;Lejb;)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
    • isValidAdjacentSuccessor

      protected boolean isValidAdjacentSuccessor(@Nullable @Nullable PathNode node, PathNode successor1)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(Lejb;Lejb;)Z
      intermediary method_20536 Lnet/minecraft/class_14;method_20536(Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Z
      named isValidAdjacentSuccessor Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;isValidAdjacentSuccessor(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)Z
    • isValidDiagonalSuccessor

      protected boolean isValidDiagonalSuccessor(PathNode xNode, @Nullable @Nullable PathNode zNode, @Nullable @Nullable PathNode xDiagNode)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(Lejb;Lejb;Lejb;)Z
      intermediary method_29579 Lnet/minecraft/class_14;method_29579(Lnet/minecraft/class_9;Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Z
      named isValidDiagonalSuccessor Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;isValidDiagonalSuccessor(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)Z
    • method_57089

      protected boolean method_57089(@Nullable @Nullable PathNode pathNode)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(Lejb;)Z
      intermediary method_57089 Lnet/minecraft/class_14;method_57089(Lnet/minecraft/class_9;)Z
      named method_57089 Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;method_57089(Lnet/minecraft/entity/ai/pathing/PathNode;)Z
    • isBlocked

      private static boolean isBlocked(PathNodeType nodeType)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(Lejg;)Z
      intermediary method_43414 Lnet/minecraft/class_14;method_43414(Lnet/minecraft/class_7;)Z
      named isBlocked Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;isBlocked(Lnet/minecraft/entity/ai/pathing/PathNodeType;)Z
    • isBlocked

      private boolean isBlocked(PathNode node)
      Mappings:
      Namespace Name Mixin selector
      official b Lejj;b(Lejb;)Z
      intermediary method_29578 Lnet/minecraft/class_14;method_29578(Lnet/minecraft/class_9;)Z
      named isBlocked Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;isBlocked(Lnet/minecraft/entity/ai/pathing/PathNode;)Z
    • getFeetY

      protected double getFeetY(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lejj;d(Lib;)D
      intermediary method_37003 Lnet/minecraft/class_14;method_37003(Lnet/minecraft/class_2338;)D
      named getFeetY Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getFeetY(Lnet/minecraft/util/math/BlockPos;)D
    • getFeetY

      public static double getFeetY(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(Lcwh;Lib;)D
      intermediary method_60 Lnet/minecraft/class_14;method_60(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)D
      named getFeetY Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getFeetY(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)D
    • isAmphibious

      protected boolean isAmphibious()
      Mappings:
      Namespace Name Mixin selector
      official c Lejj;c()Z
      intermediary method_37004 Lnet/minecraft/class_14;method_37004()Z
      named isAmphibious Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;isAmphibious()Z
    • getPathNode

      @Nullable protected @Nullable PathNode getPathNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(IIIIDLih;Lejg;)Lejb;
      intermediary method_62 Lnet/minecraft/class_14;method_62(IIIIDLnet/minecraft/class_2350;Lnet/minecraft/class_7;)Lnet/minecraft/class_9;
      named getPathNode Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getPathNode(IIIIDLnet/minecraft/util/math/Direction;Lnet/minecraft/entity/ai/pathing/PathNodeType;)Lnet/minecraft/entity/ai/pathing/PathNode;
    • getStepHeight

      private double getStepHeight()
      Mappings:
      Namespace Name Mixin selector
      official h Lejj;h()D
      intermediary method_46739 Lnet/minecraft/class_14;method_46739()D
      named getStepHeight Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getStepHeight()D
    • getNodeWith

      private PathNode getNodeWith(int x, int y, int z, PathNodeType type, float penalty)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(IIILejg;F)Lejb;
      intermediary method_43569 Lnet/minecraft/class_14;method_43569(IIILnet/minecraft/class_7;F)Lnet/minecraft/class_9;
      named getNodeWith Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getNodeWith(IIILnet/minecraft/entity/ai/pathing/PathNodeType;F)Lnet/minecraft/entity/ai/pathing/PathNode;
    • getBlockedNode

      private PathNode getBlockedNode(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(III)Lejb;
      intermediary method_43570 Lnet/minecraft/class_14;method_43570(III)Lnet/minecraft/class_9;
      named getBlockedNode Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getBlockedNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;
    • method_57088

      private PathNode method_57088(int int2, int int3, int int4, PathNodeType pathNodeType)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(IIILejg;)Lejb;
      intermediary method_57088 Lnet/minecraft/class_14;method_57088(IIILnet/minecraft/class_7;)Lnet/minecraft/class_9;
      named method_57088 Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;method_57088(IIILnet/minecraft/entity/ai/pathing/PathNodeType;)Lnet/minecraft/entity/ai/pathing/PathNode;
    • method_57085

      @Nullable private @Nullable PathNode method_57085(int int2, int int3, int int4, int int5, double double2, Direction direction, PathNodeType pathNodeType, BlockPos.Mutable mutable)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(IIIIDLih;Lejg;Lib$a;)Lejb;
      intermediary method_57085 Lnet/minecraft/class_14;method_57085(IIIIDLnet/minecraft/class_2350;Lnet/minecraft/class_7;Lnet/minecraft/class_2338$class_2339;)Lnet/minecraft/class_9;
      named method_57085 Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;method_57085(IIIIDLnet/minecraft/util/math/Direction;Lnet/minecraft/entity/ai/pathing/PathNodeType;Lnet/minecraft/util/math/BlockPos$Mutable;)Lnet/minecraft/entity/ai/pathing/PathNode;
    • method_57087

      @Nullable private @Nullable PathNode method_57087(int int2, int int3, int int4, @Nullable @Nullable PathNode pathNode)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(IIILejb;)Lejb;
      intermediary method_57087 Lnet/minecraft/class_14;method_57087(IIILnet/minecraft/class_9;)Lnet/minecraft/class_9;
      named method_57087 Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;method_57087(IIILnet/minecraft/entity/ai/pathing/PathNode;)Lnet/minecraft/entity/ai/pathing/PathNode;
    • method_57091

      private PathNode method_57091(int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official d Lejj;d(III)Lejb;
      intermediary method_57091 Lnet/minecraft/class_14;method_57091(III)Lnet/minecraft/class_9;
      named method_57091 Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;method_57091(III)Lnet/minecraft/entity/ai/pathing/PathNode;
    • checkBoxCollision

      private boolean checkBoxCollision(Box box)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(Lepo;)Z
      intermediary method_29304 Lnet/minecraft/class_14;method_29304(Lnet/minecraft/class_238;)Z
      named checkBoxCollision Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;checkBoxCollision(Lnet/minecraft/util/math/Box;)Z
    • getNodeType

      public PathNodeType getNodeType(BlockView world, 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 doors
      Specified by:
      getNodeType in class PathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official a Lejc;a(Lcwh;IIILbpr;)Lejg;
      intermediary method_25 Lnet/minecraft/class_8;method_25(Lnet/minecraft/class_1922;IIILnet/minecraft/class_1308;)Lnet/minecraft/class_7;
      named getNodeType Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNodeType(Lnet/minecraft/world/BlockView;IIILnet/minecraft/entity/mob/MobEntity;)Lnet/minecraft/entity/ai/pathing/PathNodeType;
    • method_57090

      public Set<PathNodeType> method_57090(BlockView blockView, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official b Lejj;b(Lcwh;III)Ljava/util/Set;
      intermediary method_57090 Lnet/minecraft/class_14;method_57090(Lnet/minecraft/class_1922;III)Ljava/util/Set;
      named method_57090 Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;method_57090(Lnet/minecraft/world/BlockView;III)Ljava/util/Set;
    • getNodeType

      protected PathNodeType getNodeType(int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official b Lejj;b(III)Lejg;
      intermediary method_31932 Lnet/minecraft/class_14;method_31932(III)Lnet/minecraft/class_7;
      named getNodeType Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getNodeType(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 Lejc;a(Lcwh;III)Lejg;
      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;
    • getLandNodeType

      public static PathNodeType getLandNodeType(BlockView world, BlockPos.Mutable pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(Lcwh;Lib$a;)Lejg;
      intermediary method_23476 Lnet/minecraft/class_14;method_23476(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338$class_2339;)Lnet/minecraft/class_7;
      named getLandNodeType Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getLandNodeType(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos$Mutable;)Lnet/minecraft/entity/ai/pathing/PathNodeType;
    • getNodeTypeFromNeighbors

      public static PathNodeType getNodeTypeFromNeighbors(BlockView world, BlockPos.Mutable pos, PathNodeType nodeType)
      Mappings:
      Namespace Name Mixin selector
      official a Lejj;a(Lcwh;Lib$a;Lejg;)Lejg;
      intermediary method_59 Lnet/minecraft/class_14;method_59(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_7;)Lnet/minecraft/class_7;
      named getNodeTypeFromNeighbors Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getNodeTypeFromNeighbors(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/entity/ai/pathing/PathNodeType;)Lnet/minecraft/entity/ai/pathing/PathNodeType;
    • getCommonNodeType

      protected static PathNodeType getCommonNodeType(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lejj;b(Lcwh;Lib;)Lejg;
      intermediary method_58 Lnet/minecraft/class_14;method_58(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_7;
      named getCommonNodeType Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;getCommonNodeType(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/PathNodeType;