Class ZeroGravityNavigation

java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.world.entity.ai.navigation.GroundPathNavigation
com.lightning.northstar.entity.ai.ZeroGravityNavigation
All Implemented Interfaces:
NorthstarGroundPathNavigation

@ParametersAreNonnullByDefault public class ZeroGravityNavigation extends net.minecraft.world.entity.ai.navigation.GroundPathNavigation
  • Field Summary

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

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

    Constructors
    Constructor
    Description
    ZeroGravityNavigation(net.minecraft.world.entity.Mob mob, net.minecraft.world.level.Level level, net.minecraft.world.entity.ai.navigation.GroundPathNavigation nav)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    canMoveDirectly(net.minecraft.world.phys.Vec3 pos1, net.minecraft.world.phys.Vec3 pos2)
     
    protected boolean
     
    static void
    copy(net.minecraft.world.entity.ai.navigation.GroundPathNavigation src, net.minecraft.world.entity.ai.navigation.GroundPathNavigation dst)
     
    @Nullable net.minecraft.world.level.pathfinder.Path
    createPath(net.minecraft.core.BlockPos pos, int accuracy)
     
    protected net.minecraft.world.level.pathfinder.PathFinder
    createPathFinder(int maxVisitedNodes)
     
    protected net.minecraft.world.phys.Vec3
     
    boolean
    isStableDestination(net.minecraft.core.BlockPos pos)
     

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

    canOpenDoors, canPassDoors, createPath, hasValidPathType, setAvoidSun, setCanOpenDoors, setCanPassDoors, setCanWalkOverFences, trimPath

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

    canCutCorner, canFloat, createPath, createPath, createPath, createPath, createPath, createPath, doStuckDetection, followThePath, getGroundY, getMaxDistanceToWaypoint, getNodeEvaluator, getPath, getTargetPos, isClearForMovementBetween, isDone, isInProgress, isStuck, moveTo, moveTo, moveTo, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, shouldRecomputePath, stop, tick

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.lightning.northstar.accessor.NorthstarGroundPathNavigation

    northstar$isAvoidSun
  • Constructor Details

    • ZeroGravityNavigation

      public ZeroGravityNavigation(net.minecraft.world.entity.Mob mob, net.minecraft.world.level.Level level, net.minecraft.world.entity.ai.navigation.GroundPathNavigation nav)
  • Method Details

    • canMoveDirectly

      protected boolean canMoveDirectly(net.minecraft.world.phys.Vec3 pos1, net.minecraft.world.phys.Vec3 pos2)
      Overrides:
      canMoveDirectly in class net.minecraft.world.entity.ai.navigation.PathNavigation
    • createPathFinder

      protected net.minecraft.world.level.pathfinder.PathFinder createPathFinder(int maxVisitedNodes)
      Overrides:
      createPathFinder in class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
    • getTempMobPos

      protected net.minecraft.world.phys.Vec3 getTempMobPos()
      Overrides:
      getTempMobPos in class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
    • canUpdatePath

      protected boolean canUpdatePath()
      Overrides:
      canUpdatePath in class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
    • createPath

      @Nullable public @Nullable net.minecraft.world.level.pathfinder.Path createPath(net.minecraft.core.BlockPos pos, int accuracy)
      Overrides:
      createPath in class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
    • isStableDestination

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

      public static void copy(net.minecraft.world.entity.ai.navigation.GroundPathNavigation src, net.minecraft.world.entity.ai.navigation.GroundPathNavigation dst)