Package net.minecraft.entity.ai.pathing
Class BirdNavigation
java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.BirdNavigation
- Direct Known Subclasses:
HappyGhastEntity.GhastlingNavigation
- Mappings:
Namespace Name named net/minecraft/entity/ai/pathing/BirdNavigationintermediary net/minecraft/class_1407official cof
-
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 TypeMethodDescriptionbooleanprotected 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) 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, setCanOpenDoors, 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>Lcoh;<init>(Lcey;Ldrq;)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 aLcoh;a(Lfoh;Lfoh;)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 aLcoh;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 bLcoh;b()Lfoh;
-
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 aLcoh;a(Lcdv;I)Lfgo;
-
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 dLcoh;d()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 aLcoh;a(Lja;)Z
-
canControlOpeningDoors
public boolean canControlOpeningDoors()- Specified by:
canControlOpeningDoorsin classEntityNavigation- Mappings:
Namespace Name Mixin selector named canControlOpeningDoorsLnet/minecraft/entity/ai/pathing/EntityNavigation;canControlOpeningDoors()Zintermediary method_70686Lnet/minecraft/class_1408;method_70686()Zofficial cLcoh;c()Z