Package net.minecraft.entity.passive
Class AxolotlEntity.AxolotlSwimNavigation
java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.SwimNavigation
net.minecraft.entity.passive.AxolotlEntity.AxolotlSwimNavigation
- Enclosing class:
- AxolotlEntity
static class AxolotlEntity.AxolotlSwimNavigation extends SwimNavigation
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
currentNodeMs, currentNodeTimeout, currentPath, entity, lastActiveTickMs, lastNodePosition, lastRecalculateTime, nodeMaker, nodeReachProximity, pathStartPos, pathStartTime, shouldRecalculate, speed, tickCount, world -
Constructor Summary
Constructors Constructor Description AxolotlSwimNavigation(AxolotlEntity axolotl, World world) -
Method Summary
Modifier and Type Method Description protected PathNodeNavigatorcreatePathNodeNavigator(int range)protected booleanisAtValidPosition()booleanisValidPosition(BlockPos pos)Methods inherited from class net.minecraft.entity.ai.pathing.SwimNavigation
canPathDirectlyThrough, checkTimeouts, continueFollowingPath, getPos, setCanSwim, tickMethods inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
adjustPath, canSwim, findPathTo, findPathTo, findPathTo, findPathToAny, findPathToAny, getCurrentPath, getNodeMaker, getTargetPos, isFollowingPath, isIdle, isInLiquid, isNearPathStartPos, method_29934, onBlockChanged, recalculatePath, resetRangeMultiplier, setRangeMultiplier, setSpeed, shouldRecalculatePath, startMovingAlong, startMovingTo, startMovingTo, stop
-
Constructor Details
-
AxolotlSwimNavigation
AxolotlSwimNavigation(AxolotlEntity axolotl, World world)
-
-
Method Details
-
isAtValidPosition
protected boolean isAtValidPosition()- Overrides:
isAtValidPositionin classSwimNavigation
-
isValidPosition
- Overrides:
isValidPositionin classSwimNavigation
-