Class ProxyPathNavigation

java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
com.pixelmonmod.pixelmon.ai.naivgator.ProxyPathNavigation

public class ProxyPathNavigation extends net.minecraft.world.entity.ai.navigation.PathNavigation
  • Field Summary

    Fields inherited from class net.minecraft.world.entity.ai.navigation.PathNavigation

    hasDelayedRecomputation, lastStuckCheck, lastStuckCheckPos, lastTimeoutCheck, level, maxDistanceToWaypoint, mob, nodeEvaluator, path, pathFinder, speedModifier, tick, timeLastRecompute, timeoutCachedNode, timeoutLimit, timeoutTimer
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProxyPathNavigation(net.minecraft.world.entity.Mob entity, net.minecraft.world.level.Level world, net.minecraft.world.entity.ai.navigation.PathNavigation proxiedNavigator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canCutCorner(net.minecraft.world.level.pathfinder.BlockPathTypes p_265292_)
     
    boolean
     
    boolean
    canMoveDirectly(net.minecraft.world.phys.Vec3 p_186133_, net.minecraft.world.phys.Vec3 p_186134_)
     
    boolean
     
    net.minecraft.world.level.pathfinder.Path
    createPath(Set<net.minecraft.core.BlockPos> p_241390_1_, int p_241390_2_)
     
    net.minecraft.world.level.pathfinder.Path
    createPath(Set<net.minecraft.core.BlockPos> p_225464_1_, int p_225464_2_, boolean p_225464_3_, int p_225464_4_)
     
    @Nullable net.minecraft.world.level.pathfinder.Path
    createPath(Set<net.minecraft.core.BlockPos> p_148223_, int p_148224_, boolean p_148225_, int p_148226_, float p_148227_)
     
    net.minecraft.world.level.pathfinder.Path
    createPath(Stream<net.minecraft.core.BlockPos> p_225463_1_, int p_225463_2_)
     
    net.minecraft.world.level.pathfinder.Path
    createPath(net.minecraft.core.BlockPos p_179680_1_, int p_179680_2_)
     
    @Nullable net.minecraft.world.level.pathfinder.Path
    createPath(net.minecraft.core.BlockPos p_148219_, int p_148220_, int p_148221_)
     
    net.minecraft.world.level.pathfinder.Path
    createPath(net.minecraft.world.entity.Entity p_75494_1_, int p_75494_2_)
     
    net.minecraft.world.level.pathfinder.PathFinder
    createPathFinder(int p_179679_1_)
     
    void
    doStuckDetection(net.minecraft.world.phys.Vec3 p_26539_)
     
    void
     
    double
    getGroundY(net.minecraft.world.phys.Vec3 p_186132_)
     
    float
     
    net.minecraft.world.level.pathfinder.NodeEvaluator
     
    net.minecraft.world.level.pathfinder.Path
     
    net.minecraft.core.BlockPos
     
    net.minecraft.world.phys.Vec3
     
    boolean
     
    boolean
     
    boolean
    isStableDestination(net.minecraft.core.BlockPos p_188555_1_)
     
    boolean
     
    boolean
    moveTo(double p_75492_1_, double p_75492_3_, double p_75492_5_, double p_75492_7_)
     
    boolean
    moveTo(net.minecraft.world.entity.Entity p_75497_1_, double p_75497_2_)
     
    boolean
    moveTo(net.minecraft.world.level.pathfinder.Path p_75484_1_, double p_75484_2_)
     
    void
     
    void
     
    void
     
    void
    setCanFloat(boolean p_212239_1_)
     
    void
    setMaxVisitedNodesMultiplier(float p_226335_1_)
     
    void
    setProxiedNavigator(net.minecraft.world.entity.ai.navigation.PathNavigation proxiedNavigator)
     
    void
    setSpeedModifier(double p_75489_1_)
     
    boolean
    shouldRecomputePath(net.minecraft.core.BlockPos p_200904_)
     
    boolean
    shouldTargetNextNodeInDirection(net.minecraft.world.phys.Vec3 p_26560_)
     
    void
     
    void
     
    void
     
    void
     

    Methods inherited from class net.minecraft.world.entity.ai.navigation.PathNavigation

    createPath, isClearForMovementBetween

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProxyPathNavigation

      public ProxyPathNavigation(net.minecraft.world.entity.Mob entity, net.minecraft.world.level.Level world, net.minecraft.world.entity.ai.navigation.PathNavigation proxiedNavigator)
  • Method Details

    • setProxiedNavigator

      public void setProxiedNavigator(net.minecraft.world.entity.ai.navigation.PathNavigation proxiedNavigator)
    • createPathFinder

      public net.minecraft.world.level.pathfinder.PathFinder createPathFinder(int p_179679_1_)
      Specified by:
      createPathFinder in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • getTempMobPos

      public net.minecraft.world.phys.Vec3 getTempMobPos()
      Specified by:
      getTempMobPos in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • canUpdatePath

      public boolean canUpdatePath()
      Specified by:
      canUpdatePath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • resetMaxVisitedNodesMultiplier

      public void resetMaxVisitedNodesMultiplier()
      Overrides:
      resetMaxVisitedNodesMultiplier in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • setMaxVisitedNodesMultiplier

      public void setMaxVisitedNodesMultiplier(float p_226335_1_)
      Overrides:
      setMaxVisitedNodesMultiplier in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • getTargetPos

      public net.minecraft.core.BlockPos getTargetPos()
      Overrides:
      getTargetPos in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • setSpeedModifier

      public void setSpeedModifier(double p_75489_1_)
      Overrides:
      setSpeedModifier in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • recomputePath

      public void recomputePath()
      Overrides:
      recomputePath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • createPath

      @Nullable public net.minecraft.world.level.pathfinder.Path createPath(Stream<net.minecraft.core.BlockPos> p_225463_1_, int p_225463_2_)
      Overrides:
      createPath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • createPath

      @Nullable public net.minecraft.world.level.pathfinder.Path createPath(Set<net.minecraft.core.BlockPos> p_241390_1_, int p_241390_2_)
      Overrides:
      createPath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • createPath

      @Nullable public net.minecraft.world.level.pathfinder.Path createPath(net.minecraft.core.BlockPos p_179680_1_, int p_179680_2_)
      Overrides:
      createPath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • createPath

      @Nullable public net.minecraft.world.level.pathfinder.Path createPath(net.minecraft.world.entity.Entity p_75494_1_, int p_75494_2_)
      Overrides:
      createPath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • createPath

      @Nullable public net.minecraft.world.level.pathfinder.Path createPath(Set<net.minecraft.core.BlockPos> p_225464_1_, int p_225464_2_, boolean p_225464_3_, int p_225464_4_)
      Overrides:
      createPath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • moveTo

      public boolean moveTo(double p_75492_1_, double p_75492_3_, double p_75492_5_, double p_75492_7_)
      Overrides:
      moveTo in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • moveTo

      public boolean moveTo(net.minecraft.world.entity.Entity p_75497_1_, double p_75497_2_)
      Overrides:
      moveTo in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • moveTo

      public boolean moveTo(@Nullable net.minecraft.world.level.pathfinder.Path p_75484_1_, double p_75484_2_)
      Overrides:
      moveTo in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • getPath

      @Nullable public net.minecraft.world.level.pathfinder.Path getPath()
      Overrides:
      getPath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • tick

      public void tick()
      Overrides:
      tick in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • followThePath

      public void followThePath()
      Overrides:
      followThePath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • isDone

      public boolean isDone()
      Overrides:
      isDone in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • isInProgress

      public boolean isInProgress()
      Overrides:
      isInProgress in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • stop

      public void stop()
      Overrides:
      stop in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • trimPath

      public void trimPath()
      Overrides:
      trimPath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • isStableDestination

      public boolean isStableDestination(net.minecraft.core.BlockPos p_188555_1_)
      Overrides:
      isStableDestination in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • getNodeEvaluator

      public net.minecraft.world.level.pathfinder.NodeEvaluator getNodeEvaluator()
      Overrides:
      getNodeEvaluator in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • setCanFloat

      public void setCanFloat(boolean p_212239_1_)
      Overrides:
      setCanFloat in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • canFloat

      public boolean canFloat()
      Overrides:
      canFloat in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • isStuck

      public boolean isStuck()
      Overrides:
      isStuck in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • createPath

      @Nullable public @Nullable net.minecraft.world.level.pathfinder.Path createPath(net.minecraft.core.BlockPos p_148219_, int p_148220_, int p_148221_)
      Overrides:
      createPath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • createPath

      @Nullable public @Nullable net.minecraft.world.level.pathfinder.Path createPath(Set<net.minecraft.core.BlockPos> p_148223_, int p_148224_, boolean p_148225_, int p_148226_, float p_148227_)
      Overrides:
      createPath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • getGroundY

      public double getGroundY(net.minecraft.world.phys.Vec3 p_186132_)
      Overrides:
      getGroundY in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • shouldTargetNextNodeInDirection

      public boolean shouldTargetNextNodeInDirection(net.minecraft.world.phys.Vec3 p_26560_)
      Overrides:
      shouldTargetNextNodeInDirection in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • doStuckDetection

      public void doStuckDetection(net.minecraft.world.phys.Vec3 p_26539_)
      Overrides:
      doStuckDetection in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • timeoutPath

      public void timeoutPath()
      Overrides:
      timeoutPath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • resetStuckTimeout

      public void resetStuckTimeout()
      Overrides:
      resetStuckTimeout in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • canMoveDirectly

      public boolean canMoveDirectly(net.minecraft.world.phys.Vec3 p_186133_, net.minecraft.world.phys.Vec3 p_186134_)
      Overrides:
      canMoveDirectly in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • canCutCorner

      public boolean canCutCorner(net.minecraft.world.level.pathfinder.BlockPathTypes p_265292_)
      Overrides:
      canCutCorner in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • shouldRecomputePath

      public boolean shouldRecomputePath(net.minecraft.core.BlockPos p_200904_)
      Overrides:
      shouldRecomputePath in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • getMaxDistanceToWaypoint

      public float getMaxDistanceToWaypoint()
      Overrides:
      getMaxDistanceToWaypoint in class net.minecraft.world.entity.ai.navigation.PathNavigation