Package net.minecraft.entity.ai.pathing
Class AmphibiousSwimNavigation
java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.AmphibiousSwimNavigation
- Direct Known Subclasses:
FrogEntity.FrogSwimNavigation,TurtleEntity.TurtleSwimNavigation
- Mappings:
Namespace Name named net/minecraft/entity/ai/pathing/AmphibiousSwimNavigationintermediary net/minecraft/class_5766official ccx
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
currentNodeMs, currentNodeTimeout, currentPath, entity, inRecalculationCooldown, lastActiveTickMs, lastNodePosition, lastRecalculateTime, nodeMaker, nodeReachProximity, pathStartPos, pathStartTime, speed, tickCount, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doubleadjustTargetY(Vec3d pos) protected booleancanPathDirectlyThrough(Vec3d origin, Vec3d target) protected PathNodeNavigatorcreatePathNodeNavigator(int range) protected Vec3dgetPos()The position to act as if the entity is at for pathfinding purposesprotected booleanbooleanisValidPosition(BlockPos pos) voidsetCanSwim(boolean canSwim) Methods inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
adjustPath, canJumpToNext, canSwim, checkTimeouts, continueFollowingPath, doesNotCollide, findPathTo, findPathTo, findPathTo, findPathTo, findPathTo, findPathTo, findPathToAny, findPathToAny, getCurrentPath, getNodeMaker, getNodeReachProximity, getTargetPos, isFollowingPath, isIdle, isNearPathStartPos, recalculatePath, resetRangeMultiplier, setRangeMultiplier, setSpeed, shouldRecalculatePath, startMovingAlong, startMovingTo, startMovingTo, startMovingTo, stop, tick
-
Constructor Details
-
AmphibiousSwimNavigation
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/ai/pathing/AmphibiousSwimNavigation;<init>(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_5766;<init>(Lnet/minecraft/class_1308;Lnet/minecraft/class_1937;)Vofficial <init>Lccx;<init>(Lbtp;Ldcw;)V
-
-
Method Details
-
isAtValidPosition
protected boolean isAtValidPosition()- Specified by:
isAtValidPositionin classEntityNavigation- Mappings:
Namespace Name Mixin selector named isAtValidPositionLnet/minecraft/entity/ai/pathing/EntityNavigation;isAtValidPosition()Zintermediary method_6358Lnet/minecraft/class_1408;method_6358()Zofficial aLcda;a()Z
-
getPos
The position to act as if the entity is at for pathfinding purposes- Specified by:
getPosin classEntityNavigation- Mappings:
Namespace Name Mixin selector named getPosLnet/minecraft/entity/ai/pathing/EntityNavigation;getPos()Lnet/minecraft/util/math/Vec3d;intermediary method_6347Lnet/minecraft/class_1408;method_6347()Lnet/minecraft/class_243;official bLcda;b()Lexc;
-
adjustTargetY
- Overrides:
adjustTargetYin classEntityNavigation- Mappings:
Namespace Name Mixin selector named adjustTargetYLnet/minecraft/entity/ai/pathing/EntityNavigation;adjustTargetY(Lnet/minecraft/util/math/Vec3d;)Dintermediary method_38065Lnet/minecraft/class_1408;method_38065(Lnet/minecraft/class_243;)Dofficial aLcda;a(Lexc;)D
-
canPathDirectlyThrough
- Overrides:
canPathDirectlyThroughin classEntityNavigation- Mappings:
Namespace Name Mixin selector named canPathDirectlyThroughLnet/minecraft/entity/ai/pathing/EntityNavigation;canPathDirectlyThrough(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Zintermediary method_6341Lnet/minecraft/class_1408;method_6341(Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Zofficial aLcda;a(Lexc;Lexc;)Z
-
isValidPosition
- Overrides:
isValidPositionin classEntityNavigation- Mappings:
Namespace Name Mixin selector named isValidPositionLnet/minecraft/entity/ai/pathing/EntityNavigation;isValidPosition(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_6333Lnet/minecraft/class_1408;method_6333(Lnet/minecraft/class_2338;)Zofficial aLcda;a(Ljd;)Z
-
setCanSwim
public void setCanSwim(boolean canSwim) - Overrides:
setCanSwimin classEntityNavigation- Mappings:
Namespace Name Mixin selector named setCanSwimLnet/minecraft/entity/ai/pathing/EntityNavigation;setCanSwim(Z)Vintermediary method_6354Lnet/minecraft/class_1408;method_6354(Z)Vofficial aLcda;a(Z)V