Package net.minecraft.entity.ai.pathing
Class SwimNavigation
java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.SwimNavigation
- Mappings:
Namespace Name official syintermediary net/minecraft/class_2622named net/minecraft/entity/ai/pathing/SwimNavigation
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
currentPath, mob, speed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected booleancanPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ) protected voidprotected PathNodeNavigatorprotected Vec3dgetPos()protected booleanMethods inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
checkTimeouts, findPathTo, findPathTo, findPathTo, getCurrentPath, getFollowRange, isIdle, isInLiquid, method_11038, setSpeed, startMovingAlong, startMovingTo, startMovingTo, stop, tick
-
Constructor Details
-
SwimNavigation
- Mappings:
Namespace Name Mixin selector official <init>Lsw;<init>(Lps;Ladm;)Vintermediary <init>Lnet/minecraft/class_934;<init>(Lnet/minecraft/class_871;Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/ai/pathing/EntityNavigation;<init>(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/world/World;)V
-
-
Method Details
-
isAtValidPosition
protected boolean isAtValidPosition()- Specified by:
isAtValidPositionin classEntityNavigation- Mappings:
Namespace Name Mixin selector official bLsw;b()Zintermediary method_2794Lnet/minecraft/class_934;method_2794()Znamed isAtValidPositionLnet/minecraft/entity/ai/pathing/EntityNavigation;isAtValidPosition()Z
-
getPos
- Specified by:
getPosin classEntityNavigation- Mappings:
Namespace Name Mixin selector official cLsw;c()Laui;intermediary method_2792Lnet/minecraft/class_934;method_2792()Lnet/minecraft/class_236;named getPosLnet/minecraft/entity/ai/pathing/EntityNavigation;getPos()Lnet/minecraft/util/math/Vec3d;
-
continueFollowingPath
protected void continueFollowingPath()- Overrides:
continueFollowingPathin classEntityNavigation- Mappings:
Namespace Name Mixin selector official lLsw;l()Vintermediary method_2791Lnet/minecraft/class_934;method_2791()Vnamed continueFollowingPathLnet/minecraft/entity/ai/pathing/EntityNavigation;continueFollowingPath()V
-
adjustPath
protected void adjustPath()- Overrides:
adjustPathin classEntityNavigation- Mappings:
Namespace Name Mixin selector official dLsw;d()Vintermediary method_2796Lnet/minecraft/class_934;method_2796()Vnamed adjustPathLnet/minecraft/entity/ai/pathing/EntityNavigation;adjustPath()V
-
canPathDirectlyThrough
protected boolean canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ) - Specified by:
canPathDirectlyThroughin classEntityNavigation- Mappings:
Namespace Name Mixin selector official aLsw;a(Laui;Laui;III)Zintermediary method_2777Lnet/minecraft/class_934;method_2777(Lnet/minecraft/class_236;Lnet/minecraft/class_236;III)Znamed canPathDirectlyThroughLnet/minecraft/entity/ai/pathing/EntityNavigation;canPathDirectlyThrough(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;III)Z