Class EntityNavigation

java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
Direct Known Subclasses:
MobNavigation, SwimNavigation

public abstract class EntityNavigation extends Object
Mappings:
Namespace Name
official sw
intermediary net/minecraft/class_934
named net/minecraft/entity/ai/pathing/EntityNavigation
  • Field Details

    • mob

      protected MobEntity mob
      Mappings:
      Namespace Name Mixin selector
      official b Lsw;b:Lps;
      intermediary field_3644 Lnet/minecraft/class_934;field_3644:Lnet/minecraft/class_871;
      named mob Lnet/minecraft/entity/ai/pathing/EntityNavigation;mob:Lnet/minecraft/entity/mob/MobEntity;
    • world

      protected World world
      Mappings:
      Namespace Name Mixin selector
      official c Lsw;c:Ladm;
      intermediary field_3645 Lnet/minecraft/class_934;field_3645:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/entity/ai/pathing/EntityNavigation;world:Lnet/minecraft/world/World;
    • currentPath

      protected Path currentPath
      Mappings:
      Namespace Name Mixin selector
      official d Lsw;d:Lasx;
      intermediary field_3646 Lnet/minecraft/class_934;field_3646:Lnet/minecraft/class_87;
      named currentPath Lnet/minecraft/entity/ai/pathing/EntityNavigation;currentPath:Lnet/minecraft/entity/ai/pathing/Path;
    • speed

      protected double speed
      Mappings:
      Namespace Name Mixin selector
      official e Lsw;e:D
      intermediary field_6876 Lnet/minecraft/class_934;field_6876:D
      named speed Lnet/minecraft/entity/ai/pathing/EntityNavigation;speed:D
    • followRange

      private final EntityAttributeInstance followRange
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a:Lqc;
      intermediary field_6877 Lnet/minecraft/class_934;field_6877:Lnet/minecraft/class_1703;
      named followRange Lnet/minecraft/entity/ai/pathing/EntityNavigation;followRange:Lnet/minecraft/entity/attribute/EntityAttributeInstance;
    • tickCount

      private int tickCount
      Mappings:
      Namespace Name Mixin selector
      official f Lsw;f:I
      intermediary field_3650 Lnet/minecraft/class_934;field_3650:I
      named tickCount Lnet/minecraft/entity/ai/pathing/EntityNavigation;tickCount:I
    • pathStartTime

      private int pathStartTime
      Mappings:
      Namespace Name Mixin selector
      official g Lsw;g:I
      intermediary field_3651 Lnet/minecraft/class_934;field_3651:I
      named pathStartTime Lnet/minecraft/entity/ai/pathing/EntityNavigation;pathStartTime:I
    • pathStartPos

      private Vec3d pathStartPos
      Mappings:
      Namespace Name Mixin selector
      official h Lsw;h:Laui;
      intermediary field_3652 Lnet/minecraft/class_934;field_3652:Lnet/minecraft/class_236;
      named pathStartPos Lnet/minecraft/entity/ai/pathing/EntityNavigation;pathStartPos:Lnet/minecraft/util/math/Vec3d;
    • field_11967

      private float field_11967
      Mappings:
      Namespace Name Mixin selector
      official i Lsw;i:F
      intermediary field_11967 Lnet/minecraft/class_934;field_11967:F
      named field_11967 Lnet/minecraft/entity/ai/pathing/EntityNavigation;field_11967:F
  • Constructor Details

    • EntityNavigation

      public EntityNavigation(MobEntity mob, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsw;<init>(Lps;Ladm;)V
      intermediary <init> Lnet/minecraft/class_934;<init>(Lnet/minecraft/class_871;Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/ai/pathing/EntityNavigation;<init>(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/world/World;)V
  • Method Details

    • createNavigator

      protected abstract PathNodeNavigator createNavigator()
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a()Lasy;
      intermediary method_11037 Lnet/minecraft/class_934;method_11037()Lnet/minecraft/class_88;
      named createNavigator Lnet/minecraft/entity/ai/pathing/EntityNavigation;createNavigator()Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;
    • setSpeed

      public void setSpeed(double speed)
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(D)V
      intermediary method_6223 Lnet/minecraft/class_934;method_6223(D)V
      named setSpeed Lnet/minecraft/entity/ai/pathing/EntityNavigation;setSpeed(D)V
    • getFollowRange

      public float getFollowRange()
      Mappings:
      Namespace Name Mixin selector
      official i Lsw;i()F
      intermediary method_6226 Lnet/minecraft/class_934;method_6226()F
      named getFollowRange Lnet/minecraft/entity/ai/pathing/EntityNavigation;getFollowRange()F
    • findPathTo

      public final Path findPathTo(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(DDD)Lasx;
      intermediary method_2772 Lnet/minecraft/class_934;method_2772(DDD)Lnet/minecraft/class_87;
      named findPathTo Lnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(DDD)Lnet/minecraft/entity/ai/pathing/Path;
    • findPathTo

      public Path findPathTo(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(Lcj;)Lasx;
      intermediary method_11040 Lnet/minecraft/class_934;method_11040(Lnet/minecraft/class_2552;)Lnet/minecraft/class_87;
      named findPathTo Lnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/Path;
    • startMovingTo

      public boolean startMovingTo(double x, double y, double z, double speed)
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(DDDD)Z
      intermediary method_2773 Lnet/minecraft/class_934;method_2773(DDDD)Z
      named startMovingTo Lnet/minecraft/entity/ai/pathing/EntityNavigation;startMovingTo(DDDD)Z
    • method_11038

      public void method_11038(float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(F)V
      intermediary method_11038 Lnet/minecraft/class_934;method_11038(F)V
      named method_11038 Lnet/minecraft/entity/ai/pathing/EntityNavigation;method_11038(F)V
    • findPathTo

      public Path findPathTo(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(Lpk;)Lasx;
      intermediary method_6224 Lnet/minecraft/class_934;method_6224(Lnet/minecraft/class_864;)Lnet/minecraft/class_87;
      named findPathTo Lnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/ai/pathing/Path;
    • startMovingTo

      public boolean startMovingTo(Entity entity, double speed)
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(Lpk;D)Z
      intermediary method_6225 Lnet/minecraft/class_934;method_6225(Lnet/minecraft/class_864;D)Z
      named startMovingTo Lnet/minecraft/entity/ai/pathing/EntityNavigation;startMovingTo(Lnet/minecraft/entity/Entity;D)Z
    • startMovingAlong

      public boolean startMovingAlong(Path path, double speed)
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(Lasx;D)Z
      intermediary method_2776 Lnet/minecraft/class_934;method_2776(Lnet/minecraft/class_87;D)Z
      named startMovingAlong Lnet/minecraft/entity/ai/pathing/EntityNavigation;startMovingAlong(Lnet/minecraft/entity/ai/pathing/Path;D)Z
    • getCurrentPath

      public Path getCurrentPath()
      Mappings:
      Namespace Name Mixin selector
      official j Lsw;j()Lasx;
      intermediary method_2785 Lnet/minecraft/class_934;method_2785()Lnet/minecraft/class_87;
      named getCurrentPath Lnet/minecraft/entity/ai/pathing/EntityNavigation;getCurrentPath()Lnet/minecraft/entity/ai/pathing/Path;
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official k Lsw;k()V
      intermediary method_2787 Lnet/minecraft/class_934;method_2787()V
      named tick Lnet/minecraft/entity/ai/pathing/EntityNavigation;tick()V
    • continueFollowingPath

      protected void continueFollowingPath()
      Mappings:
      Namespace Name Mixin selector
      official l Lsw;l()V
      intermediary method_2791 Lnet/minecraft/class_934;method_2791()V
      named continueFollowingPath Lnet/minecraft/entity/ai/pathing/EntityNavigation;continueFollowingPath()V
    • checkTimeouts

      protected void checkTimeouts(Vec3d currentPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(Laui;)V
      intermediary method_11039 Lnet/minecraft/class_934;method_11039(Lnet/minecraft/class_236;)V
      named checkTimeouts Lnet/minecraft/entity/ai/pathing/EntityNavigation;checkTimeouts(Lnet/minecraft/util/math/Vec3d;)V
    • isIdle

      public boolean isIdle()
      Mappings:
      Namespace Name Mixin selector
      official m Lsw;m()Z
      intermediary method_2789 Lnet/minecraft/class_934;method_2789()Z
      named isIdle Lnet/minecraft/entity/ai/pathing/EntityNavigation;isIdle()Z
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      official n Lsw;n()V
      intermediary method_2790 Lnet/minecraft/class_934;method_2790()V
      named stop Lnet/minecraft/entity/ai/pathing/EntityNavigation;stop()V
    • getPos

      protected abstract Vec3d getPos()
      Mappings:
      Namespace Name Mixin selector
      official c Lsw;c()Laui;
      intermediary method_2792 Lnet/minecraft/class_934;method_2792()Lnet/minecraft/class_236;
      named getPos Lnet/minecraft/entity/ai/pathing/EntityNavigation;getPos()Lnet/minecraft/util/math/Vec3d;
    • isAtValidPosition

      protected abstract boolean isAtValidPosition()
      Mappings:
      Namespace Name Mixin selector
      official b Lsw;b()Z
      intermediary method_2794 Lnet/minecraft/class_934;method_2794()Z
      named isAtValidPosition Lnet/minecraft/entity/ai/pathing/EntityNavigation;isAtValidPosition()Z
    • isInLiquid

      protected boolean isInLiquid()
      Mappings:
      Namespace Name Mixin selector
      official o Lsw;o()Z
      intermediary method_2795 Lnet/minecraft/class_934;method_2795()Z
      named isInLiquid Lnet/minecraft/entity/ai/pathing/EntityNavigation;isInLiquid()Z
    • adjustPath

      protected void adjustPath()
      Mappings:
      Namespace Name Mixin selector
      official d Lsw;d()V
      intermediary method_2796 Lnet/minecraft/class_934;method_2796()V
      named adjustPath Lnet/minecraft/entity/ai/pathing/EntityNavigation;adjustPath()V
    • canPathDirectlyThrough

      protected abstract boolean canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(Laui;Laui;III)Z
      intermediary method_2777 Lnet/minecraft/class_934;method_2777(Lnet/minecraft/class_236;Lnet/minecraft/class_236;III)Z
      named canPathDirectlyThrough Lnet/minecraft/entity/ai/pathing/EntityNavigation;canPathDirectlyThrough(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;III)Z