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
ConstructorsConstructorDescriptionZeroGravityNavigation(net.minecraft.world.entity.Mob mob, net.minecraft.world.level.Level level, net.minecraft.world.entity.ai.navigation.GroundPathNavigation nav) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanMoveDirectly(net.minecraft.world.phys.Vec3 pos1, net.minecraft.world.phys.Vec3 pos2) protected booleanstatic voidcopy(net.minecraft.world.entity.ai.navigation.GroundPathNavigation src, net.minecraft.world.entity.ai.navigation.GroundPathNavigation dst) @Nullable net.minecraft.world.level.pathfinder.PathcreatePath(net.minecraft.core.BlockPos pos, int accuracy) protected net.minecraft.world.level.pathfinder.PathFindercreatePathFinder(int maxVisitedNodes) protected net.minecraft.world.phys.Vec3booleanisStableDestination(net.minecraft.core.BlockPos pos) Methods inherited from class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
canOpenDoors, canPassDoors, createPath, hasValidPathType, setAvoidSun, setCanOpenDoors, setCanPassDoors, setCanWalkOverFences, trimPathMethods 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, tickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.lightning.northstar.accessor.NorthstarGroundPathNavigation
northstar$isAvoidSun
-
Constructor Details
-
Method Details
-
canMoveDirectly
protected boolean canMoveDirectly(net.minecraft.world.phys.Vec3 pos1, net.minecraft.world.phys.Vec3 pos2) - Overrides:
canMoveDirectlyin classnet.minecraft.world.entity.ai.navigation.PathNavigation
-
createPathFinder
protected net.minecraft.world.level.pathfinder.PathFinder createPathFinder(int maxVisitedNodes) - Overrides:
createPathFinderin classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
getTempMobPos
protected net.minecraft.world.phys.Vec3 getTempMobPos()- Overrides:
getTempMobPosin classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
canUpdatePath
protected boolean canUpdatePath()- Overrides:
canUpdatePathin classnet.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:
createPathin classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
isStableDestination
public boolean isStableDestination(net.minecraft.core.BlockPos pos) - Overrides:
isStableDestinationin classnet.minecraft.world.entity.ai.navigation.PathNavigation
-