Package net.minecraft.entity.ai.pathing
Class BirdNavigation
java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.BirdNavigation
- Mappings:
Namespace Name named net/minecraft/entity/ai/pathing/BirdNavigationintermediary net/minecraft/class_1407official chn
-
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 booleancanPathDirectlyThrough(Vec3d origin, Vec3d target) protected PathNodeNavigatorcreatePathNodeNavigator(int range) findPathTo(Entity entity, int distance) protected Vec3dgetPos()The position to act as if the entity is at for pathfinding purposesprotected booleanbooleanisValidPosition(BlockPos pos) voidsetCanPathThroughDoors(boolean canPathThroughDoors) voidtick()Methods inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
adjustPath, adjustTargetY, canJumpToNext, canSwim, checkTimeouts, continueFollowingPath, doesNotCollide, findPathTo, findPathTo, findPathTo, findPathTo, findPathTo, findPathToAny, findPathToAny, getCurrentPath, getNodeMaker, getNodeReachProximity, getTargetPos, isFollowingPath, isIdle, isNearPathStartPos, recalculatePath, resetRangeMultiplier, setCanSwim, setMaxFollowRange, setRangeMultiplier, setSpeed, shouldRecalculatePath, startMovingAlong, startMovingTo, startMovingTo, startMovingTo, stop, updateRange
-
Constructor Details
-
BirdNavigation
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/ai/pathing/EntityNavigation;<init>(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1408;<init>(Lnet/minecraft/class_1308;Lnet/minecraft/class_1937;)Vofficial <init>Lchp;<init>(Lbyh;Ldkj;)V
-
-
Method Details
-
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 aLchp;a(Lfgc;Lfgc;)Z
-
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 aLchp;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 bLchp;b()Lfgc;
-
findPathTo
- Overrides:
findPathToin classEntityNavigation- Mappings:
Namespace Name Mixin selector named findPathToLnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(Lnet/minecraft/entity/Entity;I)Lnet/minecraft/entity/ai/pathing/Path;intermediary method_6349Lnet/minecraft/class_1408;method_6349(Lnet/minecraft/class_1297;I)Lnet/minecraft/class_11;official aLchp;a(Lbxe;I)Leyo;
-
tick
public void tick()- Overrides:
tickin classEntityNavigation- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/ai/pathing/EntityNavigation;tick()Vintermediary method_6360Lnet/minecraft/class_1408;method_6360()Vofficial cLchp;c()V
-
setCanPathThroughDoors
public void setCanPathThroughDoors(boolean canPathThroughDoors) - Mappings:
Namespace Name Mixin selector named setCanPathThroughDoorsLnet/minecraft/entity/ai/pathing/BirdNavigation;setCanPathThroughDoors(Z)Vintermediary method_6332Lnet/minecraft/class_1407;method_6332(Z)Vofficial bLchn;b(Z)V
-
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 aLchp;a(Liw;)Z