Class WardenNavigation
java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.world.entity.ai.navigation.GroundPathNavigation
net.frozenblock.wilderwild.entity.ai.warden.WardenNavigation
public class WardenNavigation
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, nodeEvaluator, path, speedModifier, tick, timeLastRecompute, timeoutCachedNode, timeoutLimit, timeoutTimer -
Constructor Summary
ConstructorsConstructorDescriptionWardenNavigation(@NotNull net.minecraft.world.entity.monster.warden.Warden mob, @NotNull net.minecraft.world.level.Level level) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanMoveDirectly(@NotNull net.minecraft.world.phys.Vec3 origin, @NotNull net.minecraft.world.phys.Vec3 target) protected boolean@NotNull net.minecraft.world.level.pathfinder.PathFindercreatePathFinder(int range) protected doublegetGroundY(@NotNull net.minecraft.world.phys.Vec3 pos) protected @NotNull net.minecraft.world.phys.Vec3protected booleanhasValidPathType(@NotNull net.minecraft.world.level.pathfinder.BlockPathTypes pathType) booleanMethods inherited from class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
canOpenDoors, canPassDoors, createPath, createPath, 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, getMaxDistanceToWaypoint, getNodeEvaluator, getPath, getTargetPos, isClearForMovementBetween, isDone, isInProgress, isStableDestination, isStuck, moveTo, moveTo, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, shouldRecomputePath, stop, tick
-
Constructor Details
-
WardenNavigation
public WardenNavigation(@NotNull @NotNull net.minecraft.world.entity.monster.warden.Warden mob, @NotNull @NotNull net.minecraft.world.level.Level level)
-
-
Method Details
-
createPathFinder
@NotNull public @NotNull net.minecraft.world.level.pathfinder.PathFinder createPathFinder(int range) - Overrides:
createPathFinderin classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
getTempMobPos
@NotNull protected @NotNull net.minecraft.world.phys.Vec3 getTempMobPos()- Overrides:
getTempMobPosin classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
getGroundY
protected double getGroundY(@NotNull @NotNull net.minecraft.world.phys.Vec3 pos) - Overrides:
getGroundYin classnet.minecraft.world.entity.ai.navigation.PathNavigation
-
canMoveDirectly
protected boolean canMoveDirectly(@NotNull @NotNull net.minecraft.world.phys.Vec3 origin, @NotNull @NotNull net.minecraft.world.phys.Vec3 target) - Overrides:
canMoveDirectlyin classnet.minecraft.world.entity.ai.navigation.PathNavigation
-
hasValidPathType
protected boolean hasValidPathType(@NotNull @NotNull net.minecraft.world.level.pathfinder.BlockPathTypes pathType) - Overrides:
hasValidPathTypein classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
canUpdatePath
protected boolean canUpdatePath()- Overrides:
canUpdatePathin classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
isInLiquid
public boolean isInLiquid()- Overrides:
isInLiquidin classnet.minecraft.world.entity.ai.navigation.PathNavigation
-