Package net.minecraft.entity.ai.pathing
Class EntityNavigation
java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
- Direct Known Subclasses:
MobNavigation,SwimNavigation
- Mappings:
Namespace Name official aazintermediary net/minecraft/class_934named net/minecraft/entity/ai/pathing/EntityNavigation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Pathprivate floatprivate final EntityAttributeInstanceprotected MobEntityprivate final PathNodeNavigatorprivate Vec3dprivate intprotected doubleprivate intprotected World -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract booleancanPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ) protected voidcheckTimeouts(Vec3d currentPos) protected voidprotected abstract PathNodeNavigatorfinal PathfindPathTo(double x, double y, double z) findPathTo(Entity entity) findPathTo(BlockPos pos) floatprotected abstract Vec3dgetPos()protected abstract booleanbooleanisIdle()protected booleanvoidmethod_11038(float float2) voidsetSpeed(double speed) booleanstartMovingAlong(Path path, double speed) booleanstartMovingTo(double x, double y, double z, double speed) booleanstartMovingTo(Entity entity, double speed) voidstop()voidtick()
-
Field Details
-
mob
- Mappings:
Namespace Name Mixin selector official bLaaz;b:Lxn;intermediary field_3644Lnet/minecraft/class_934;field_3644:Lnet/minecraft/class_871;named mobLnet/minecraft/entity/ai/pathing/EntityNavigation;mob:Lnet/minecraft/entity/mob/MobEntity;
-
world
- Mappings:
Namespace Name Mixin selector official cLaaz;c:Laqu;intermediary field_3645Lnet/minecraft/class_934;field_3645:Lnet/minecraft/class_1150;named worldLnet/minecraft/entity/ai/pathing/EntityNavigation;world:Lnet/minecraft/world/World;
-
currentPath
- Mappings:
Namespace Name Mixin selector official dLaaz;d:Lbpv;intermediary field_3646Lnet/minecraft/class_934;field_3646:Lnet/minecraft/class_87;named currentPathLnet/minecraft/entity/ai/pathing/EntityNavigation;currentPath:Lnet/minecraft/entity/ai/pathing/Path;
-
speed
protected double speed- Mappings:
Namespace Name Mixin selector official eLaaz;e:Dintermediary field_6876Lnet/minecraft/class_934;field_6876:Dnamed speedLnet/minecraft/entity/ai/pathing/EntityNavigation;speed:D
-
followRange
- Mappings:
Namespace Name Mixin selector official aLaaz;a:Lxz;intermediary field_6877Lnet/minecraft/class_934;field_6877:Lnet/minecraft/class_1703;named followRangeLnet/minecraft/entity/ai/pathing/EntityNavigation;followRange:Lnet/minecraft/entity/attribute/EntityAttributeInstance;
-
tickCount
private int tickCount- Mappings:
Namespace Name Mixin selector official fLaaz;f:Iintermediary field_3650Lnet/minecraft/class_934;field_3650:Inamed tickCountLnet/minecraft/entity/ai/pathing/EntityNavigation;tickCount:I
-
pathStartTime
private int pathStartTime- Mappings:
Namespace Name Mixin selector official gLaaz;g:Iintermediary field_3651Lnet/minecraft/class_934;field_3651:Inamed pathStartTimeLnet/minecraft/entity/ai/pathing/EntityNavigation;pathStartTime:I
-
pathStartPos
- Mappings:
Namespace Name Mixin selector official hLaaz;h:Lbrw;intermediary field_3652Lnet/minecraft/class_934;field_3652:Lnet/minecraft/class_236;named pathStartPosLnet/minecraft/entity/ai/pathing/EntityNavigation;pathStartPos:Lnet/minecraft/util/math/Vec3d;
-
field_11967
private float field_11967- Mappings:
Namespace Name Mixin selector official iLaaz;i:Fintermediary field_11967Lnet/minecraft/class_934;field_11967:Fnamed field_11967Lnet/minecraft/entity/ai/pathing/EntityNavigation;field_11967:F
-
-
Constructor Details
-
EntityNavigation
- Mappings:
Namespace Name Mixin selector official <init>Laaz;<init>(Lxn;Laqu;)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
-
setSpeed
public void setSpeed(double speed) - Mappings:
Namespace Name Mixin selector official aLaaz;a(D)Vintermediary method_6223Lnet/minecraft/class_934;method_6223(D)Vnamed setSpeedLnet/minecraft/entity/ai/pathing/EntityNavigation;setSpeed(D)V
-
getFollowRange
public float getFollowRange()- Mappings:
Namespace Name Mixin selector official iLaaz;i()Fintermediary method_6226Lnet/minecraft/class_934;method_6226()Fnamed getFollowRangeLnet/minecraft/entity/ai/pathing/EntityNavigation;getFollowRange()F
-
findPathTo
- Mappings:
Namespace Name Mixin selector official aLaaz;a(DDD)Lbpv;intermediary method_2772Lnet/minecraft/class_934;method_2772(DDD)Lnet/minecraft/class_87;named findPathToLnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(DDD)Lnet/minecraft/entity/ai/pathing/Path;
-
findPathTo
- Mappings:
Namespace Name Mixin selector official aLaaz;a(Ldt;)Lbpv;intermediary method_11040Lnet/minecraft/class_934;method_11040(Lnet/minecraft/class_2552;)Lnet/minecraft/class_87;named findPathToLnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/Path;
-
startMovingTo
public boolean startMovingTo(double x, double y, double z, double speed) - Mappings:
Namespace Name Mixin selector official aLaaz;a(DDDD)Zintermediary method_2773Lnet/minecraft/class_934;method_2773(DDDD)Znamed startMovingToLnet/minecraft/entity/ai/pathing/EntityNavigation;startMovingTo(DDDD)Z
-
method_11038
public void method_11038(float float2) - Mappings:
Namespace Name Mixin selector official aLaaz;a(F)Vintermediary method_11038Lnet/minecraft/class_934;method_11038(F)Vnamed method_11038Lnet/minecraft/entity/ai/pathing/EntityNavigation;method_11038(F)V
-
findPathTo
- Mappings:
Namespace Name Mixin selector official aLaaz;a(Lwv;)Lbpv;intermediary method_6224Lnet/minecraft/class_934;method_6224(Lnet/minecraft/class_864;)Lnet/minecraft/class_87;named findPathToLnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/ai/pathing/Path;
-
startMovingTo
- Mappings:
Namespace Name Mixin selector official aLaaz;a(Lwv;D)Zintermediary method_6225Lnet/minecraft/class_934;method_6225(Lnet/minecraft/class_864;D)Znamed startMovingToLnet/minecraft/entity/ai/pathing/EntityNavigation;startMovingTo(Lnet/minecraft/entity/Entity;D)Z
-
startMovingAlong
- Mappings:
Namespace Name Mixin selector official aLaaz;a(Lbpv;D)Zintermediary method_2776Lnet/minecraft/class_934;method_2776(Lnet/minecraft/class_87;D)Znamed startMovingAlongLnet/minecraft/entity/ai/pathing/EntityNavigation;startMovingAlong(Lnet/minecraft/entity/ai/pathing/Path;D)Z
-
getCurrentPath
- Mappings:
Namespace Name Mixin selector official jLaaz;j()Lbpv;intermediary method_2785Lnet/minecraft/class_934;method_2785()Lnet/minecraft/class_87;named getCurrentPathLnet/minecraft/entity/ai/pathing/EntityNavigation;getCurrentPath()Lnet/minecraft/entity/ai/pathing/Path;
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official kLaaz;k()Vintermediary method_2787Lnet/minecraft/class_934;method_2787()Vnamed tickLnet/minecraft/entity/ai/pathing/EntityNavigation;tick()V
-
continueFollowingPath
protected void continueFollowingPath()- Mappings:
Namespace Name Mixin selector official lLaaz;l()Vintermediary method_2791Lnet/minecraft/class_934;method_2791()Vnamed continueFollowingPathLnet/minecraft/entity/ai/pathing/EntityNavigation;continueFollowingPath()V
-
checkTimeouts
- Mappings:
Namespace Name Mixin selector official aLaaz;a(Lbrw;)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
-
isIdle
public boolean isIdle()- Mappings:
Namespace Name Mixin selector official mLaaz;m()Zintermediary method_2789Lnet/minecraft/class_934;method_2789()Znamed isIdleLnet/minecraft/entity/ai/pathing/EntityNavigation;isIdle()Z
-
stop
public void stop()- Mappings:
Namespace Name Mixin selector official nLaaz;n()Vintermediary method_2790Lnet/minecraft/class_934;method_2790()Vnamed stopLnet/minecraft/entity/ai/pathing/EntityNavigation;stop()V
-
getPos
- Mappings:
Namespace Name Mixin selector official cLaaz;c()Lbrw;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;
-
isAtValidPosition
protected abstract boolean isAtValidPosition()- Mappings:
Namespace Name Mixin selector official bLaaz;b()Zintermediary method_2794Lnet/minecraft/class_934;method_2794()Znamed isAtValidPositionLnet/minecraft/entity/ai/pathing/EntityNavigation;isAtValidPosition()Z
-
isInLiquid
protected boolean isInLiquid()- Mappings:
Namespace Name Mixin selector official oLaaz;o()Zintermediary method_2795Lnet/minecraft/class_934;method_2795()Znamed isInLiquidLnet/minecraft/entity/ai/pathing/EntityNavigation;isInLiquid()Z
-
adjustPath
protected void adjustPath()- Mappings:
Namespace Name Mixin selector official dLaaz;d()Vintermediary method_2796Lnet/minecraft/class_934;method_2796()Vnamed adjustPathLnet/minecraft/entity/ai/pathing/EntityNavigation;adjustPath()V
-
canPathDirectlyThrough
protected abstract boolean canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ) - Mappings:
Namespace Name Mixin selector official aLaaz;a(Lbrw;Lbrw;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