Package net.minecraft.entity.ai.pathing
Class SwimNavigation
java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.SwimNavigation
- Direct Known Subclasses:
TurtleEntity.class_3502
- Mappings:
Namespace Name official aizintermediary net/minecraft/class_2622named net/minecraft/entity/ai/pathing/SwimNavigation
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
field_11967, field_14599, field_14600, field_14602, field_14603, field_14604, field_14605, field_14606, field_14607, mob, pathStartPos, pathStartTime, speed, tickCount, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ) protected voidcheckTimeouts(Vec3d currentPos) protected voidprotected PathNodeNavigatorprotected Vec3dgetPos()protected booleanbooleanmethod_13110(BlockPos blockPos) voidmethod_15709(boolean bool) voidtick()Methods inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
adjustPath, getFollowRange, isIdle, isInLiquid, method_13107, method_13108, method_13109, method_13111, method_13112, method_13113, method_13114, method_15102, method_15710, method_15711, method_2772, setSpeed, startMovingTo, startMovingTo, stop
-
Field Details
-
field_16891
private boolean field_16891- Mappings:
Namespace Name Mixin selector official pLaiz;p:Zintermediary field_16891Lnet/minecraft/class_2622;field_16891:Znamed field_16891Lnet/minecraft/entity/ai/pathing/SwimNavigation;field_16891:Z
-
-
Constructor Details
-
SwimNavigation
- Mappings:
Namespace Name Mixin selector official <init>Laiw;<init>(Lafb;Laxy;)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 bLaiw;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 cLaiw;c()Lcee;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;
-
tick
public void tick()- Overrides:
tickin classEntityNavigation- Mappings:
Namespace Name Mixin selector official dLaiw;d()Vintermediary method_2787Lnet/minecraft/class_934;method_2787()Vnamed tickLnet/minecraft/entity/ai/pathing/EntityNavigation;tick()V
-
continueFollowingPath
protected void continueFollowingPath()- Overrides:
continueFollowingPathin classEntityNavigation- Mappings:
Namespace Name Mixin selector official oLaiw;o()Vintermediary method_2791Lnet/minecraft/class_934;method_2791()Vnamed continueFollowingPathLnet/minecraft/entity/ai/pathing/EntityNavigation;continueFollowingPath()V
-
checkTimeouts
- Overrides:
checkTimeoutsin classEntityNavigation- Mappings:
Namespace Name Mixin selector official aLaiw;a(Lcee;)Vintermediary method_11039Lnet/minecraft/class_934;method_11039(Lnet/minecraft/class_236;)Vnamed checkTimeoutsLnet/minecraft/entity/ai/pathing/EntityNavigation;checkTimeouts(Lnet/minecraft/util/math/Vec3d;)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 aLaiw;a(Lcee;Lcee;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
-
method_13110
- Overrides:
method_13110in classEntityNavigation- Mappings:
Namespace Name Mixin selector official aLaiw;a(Lel;)Zintermediary method_13110Lnet/minecraft/class_934;method_13110(Lnet/minecraft/class_2552;)Znamed method_13110Lnet/minecraft/entity/ai/pathing/EntityNavigation;method_13110(Lnet/minecraft/util/math/BlockPos;)Z
-
method_15709
public void method_15709(boolean bool) - Overrides:
method_15709in classEntityNavigation- Mappings:
Namespace Name Mixin selector official dLaiw;d(Z)Vintermediary method_15709Lnet/minecraft/class_934;method_15709(Z)Vnamed method_15709Lnet/minecraft/entity/ai/pathing/EntityNavigation;method_15709(Z)V