Package net.minecraft.entity.ai.pathing
Class MobNavigation
java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.MobNavigation
- Direct Known Subclasses:
SpiderNavigation
- Mappings:
Namespace Name official zdintermediary net/minecraft/class_2620named net/minecraft/entity/ai/pathing/MobNavigation
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
field_11967, field_14599, field_14600, field_14606, mob, speed, tickCount, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprivate booleanallVisibleArePassable(int x, int y, int z, int sizeX, int sizeY, int sizeZ, Vec3d entityPos, double lookVecX, double lookVecZ) Checks whether all blocks in the box which are visible (in front of) the mob can be pathed throughbooleanprotected booleancanPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ) booleancanSwim()protected PathNodeNavigatorprivate intprotected Vec3dgetPos()protected booleanprivate booleanmethod_13106(int int2, int int3, int int4, int int5, int int6, int int7, Vec3d vec3d, double double2, double double3) method_13108(BlockPos blockPos) method_13109(Entity entity) voidsetAvoidSunlight(boolean avoidSunlight) voidsetCanEnterOpenDoors(boolean value) voidsetCanPathThroughDoors(boolean value) voidsetCanSwim(boolean value) Methods inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
checkTimeouts, continueFollowingPath, getFollowRange, isIdle, isInLiquid, method_13107, method_13110, method_13111, method_13112, method_13113, method_13114, method_15102, method_2772, setSpeed, startMovingTo, startMovingTo, stop, tick
-
Field Details
-
avoidSunlight
private boolean avoidSunlight- Mappings:
Namespace Name Mixin selector official iLzd;i:Zintermediary field_11966Lnet/minecraft/class_2620;field_11966:Znamed avoidSunlightLnet/minecraft/entity/ai/pathing/MobNavigation;avoidSunlight:Z
-
-
Constructor Details
-
MobNavigation
- Mappings:
Namespace Name Mixin selector official <init>Lze;<init>(Lvq;Lamu;)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 bLze;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 cLze;c()Lbhe;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;
-
method_13108
- Overrides:
method_13108in classEntityNavigation- Mappings:
Namespace Name Mixin selector official bLze;b(Let;)Lbel;intermediary method_13108Lnet/minecraft/class_934;method_13108(Lnet/minecraft/class_2552;)Lnet/minecraft/class_85;named method_13108Lnet/minecraft/entity/ai/pathing/EntityNavigation;method_13108(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/PathMinHeap;
-
method_13109
- Overrides:
method_13109in classEntityNavigation- Mappings:
Namespace Name Mixin selector official aLze;a(Lvg;)Lbel;intermediary method_13109Lnet/minecraft/class_934;method_13109(Lnet/minecraft/class_864;)Lnet/minecraft/class_85;named method_13109Lnet/minecraft/entity/ai/pathing/EntityNavigation;method_13109(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/ai/pathing/PathMinHeap;
-
getPathfindingY
private int getPathfindingY()- Mappings:
Namespace Name Mixin selector official sLzd;s()Iintermediary method_11036Lnet/minecraft/class_2620;method_11036()Inamed getPathfindingYLnet/minecraft/entity/ai/pathing/MobNavigation;getPathfindingY()I
-
adjustPath
protected void adjustPath()- Overrides:
adjustPathin classEntityNavigation- Mappings:
Namespace Name Mixin selector official q_Lze;q_()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 aLze;a(Lbhe;Lbhe;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_13106
private boolean method_13106(int int2, int int3, int int4, int int5, int int6, int int7, Vec3d vec3d, double double2, double double3) - Mappings:
Namespace Name Mixin selector official aLzd;a(IIIIIILbhe;DD)Zintermediary method_13106Lnet/minecraft/class_2620;method_13106(IIIIIILnet/minecraft/class_236;DD)Znamed method_13106Lnet/minecraft/entity/ai/pathing/MobNavigation;method_13106(IIIIIILnet/minecraft/util/math/Vec3d;DD)Z
-
allVisibleArePassable
private boolean allVisibleArePassable(int x, int y, int z, int sizeX, int sizeY, int sizeZ, Vec3d entityPos, double lookVecX, double lookVecZ) Checks whether all blocks in the box which are visible (in front of) the mob can be pathed through- Mappings:
Namespace Name Mixin selector official bLzd;b(IIIIIILbhe;DD)Zintermediary method_11028Lnet/minecraft/class_2620;method_11028(IIIIIILnet/minecraft/class_236;DD)Znamed allVisibleArePassableLnet/minecraft/entity/ai/pathing/MobNavigation;allVisibleArePassable(IIIIIILnet/minecraft/util/math/Vec3d;DD)Z
-
setCanPathThroughDoors
public void setCanPathThroughDoors(boolean value) - Mappings:
Namespace Name Mixin selector official aLzd;a(Z)Vintermediary method_11029Lnet/minecraft/class_2620;method_11029(Z)Vnamed setCanPathThroughDoorsLnet/minecraft/entity/ai/pathing/MobNavigation;setCanPathThroughDoors(Z)V
-
setCanEnterOpenDoors
public void setCanEnterOpenDoors(boolean value) - Mappings:
Namespace Name Mixin selector official bLzd;b(Z)Vintermediary method_11030Lnet/minecraft/class_2620;method_11030(Z)Vnamed setCanEnterOpenDoorsLnet/minecraft/entity/ai/pathing/MobNavigation;setCanEnterOpenDoors(Z)V
-
canEnterOpenDoors
public boolean canEnterOpenDoors()- Mappings:
Namespace Name Mixin selector official gLzd;g()Zintermediary method_11034Lnet/minecraft/class_2620;method_11034()Znamed canEnterOpenDoorsLnet/minecraft/entity/ai/pathing/MobNavigation;canEnterOpenDoors()Z
-
setCanSwim
public void setCanSwim(boolean value) - Mappings:
Namespace Name Mixin selector official cLzd;c(Z)Vintermediary method_11031Lnet/minecraft/class_2620;method_11031(Z)Vnamed setCanSwimLnet/minecraft/entity/ai/pathing/MobNavigation;setCanSwim(Z)V
-
canSwim
public boolean canSwim()- Mappings:
Namespace Name Mixin selector official hLzd;h()Zintermediary method_11035Lnet/minecraft/class_2620;method_11035()Znamed canSwimLnet/minecraft/entity/ai/pathing/MobNavigation;canSwim()Z
-
setAvoidSunlight
public void setAvoidSunlight(boolean avoidSunlight) - Mappings:
Namespace Name Mixin selector official dLzd;d(Z)Vintermediary method_11033Lnet/minecraft/class_2620;method_11033(Z)Vnamed setAvoidSunlightLnet/minecraft/entity/ai/pathing/MobNavigation;setAvoidSunlight(Z)V