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 official bpfintermediary net/minecraft/class_1407named net/minecraft/entity/ai/pathing/BirdNavigation
-
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) booleanvoidsetCanEnterOpenDoors(boolean canEnterOpenDoors) 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, isInLiquid, isNearPathStartPos, recalculatePath, resetRangeMultiplier, setCanSwim, setRangeMultiplier, setSpeed, shouldRecalculatePath, startMovingAlong, startMovingTo, startMovingTo, stop
-
Constructor Details
-
BirdNavigation
- Mappings:
Namespace Name Mixin selector official <init>Lbph;<init>(Lbfz;Lcmk;)Vintermediary <init>Lnet/minecraft/class_1408;<init>(Lnet/minecraft/class_1308;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/ai/pathing/EntityNavigation;<init>(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/world/World;)V
-
-
Method Details
-
canPathDirectlyThrough
- Overrides:
canPathDirectlyThroughin classEntityNavigation- Mappings:
Namespace Name Mixin selector official aLbph;a(Leea;Leea;)Zintermediary method_6341Lnet/minecraft/class_1408;method_6341(Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Znamed canPathDirectlyThroughLnet/minecraft/entity/ai/pathing/EntityNavigation;canPathDirectlyThrough(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Z
-
isAtValidPosition
protected boolean isAtValidPosition()- Specified by:
isAtValidPositionin classEntityNavigation- Mappings:
Namespace Name Mixin selector official aLbph;a()Zintermediary method_6358Lnet/minecraft/class_1408;method_6358()Znamed isAtValidPositionLnet/minecraft/entity/ai/pathing/EntityNavigation;isAtValidPosition()Z
-
getPos
The position to act as if the entity is at for pathfinding purposes- Specified by:
getPosin classEntityNavigation- Mappings:
Namespace Name Mixin selector official bLbph;b()Leea;intermediary method_6347Lnet/minecraft/class_1408;method_6347()Lnet/minecraft/class_243;named getPosLnet/minecraft/entity/ai/pathing/EntityNavigation;getPos()Lnet/minecraft/util/math/Vec3d;
-
findPathTo
- Overrides:
findPathToin classEntityNavigation- Mappings:
Namespace Name Mixin selector official aLbph;a(Lbfh;I)Ldxq;intermediary method_6349Lnet/minecraft/class_1408;method_6349(Lnet/minecraft/class_1297;I)Lnet/minecraft/class_11;named findPathToLnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(Lnet/minecraft/entity/Entity;I)Lnet/minecraft/entity/ai/pathing/Path;
-
tick
public void tick()- Overrides:
tickin classEntityNavigation- Mappings:
Namespace Name Mixin selector official cLbph;c()Vintermediary method_6360Lnet/minecraft/class_1408;method_6360()Vnamed tickLnet/minecraft/entity/ai/pathing/EntityNavigation;tick()V
-
setCanPathThroughDoors
public void setCanPathThroughDoors(boolean canPathThroughDoors) - Mappings:
Namespace Name Mixin selector official bLbpf;b(Z)Vintermediary method_6332Lnet/minecraft/class_1407;method_6332(Z)Vnamed setCanPathThroughDoorsLnet/minecraft/entity/ai/pathing/BirdNavigation;setCanPathThroughDoors(Z)V
-
canEnterOpenDoors
public boolean canEnterOpenDoors()- Mappings:
Namespace Name Mixin selector official dLbpf;d()Zintermediary method_35128Lnet/minecraft/class_1407;method_35128()Znamed canEnterOpenDoorsLnet/minecraft/entity/ai/pathing/BirdNavigation;canEnterOpenDoors()Z
-
setCanEnterOpenDoors
public void setCanEnterOpenDoors(boolean canEnterOpenDoors) - Mappings:
Namespace Name Mixin selector official cLbpf;c(Z)Vintermediary method_6331Lnet/minecraft/class_1407;method_6331(Z)Vnamed setCanEnterOpenDoorsLnet/minecraft/entity/ai/pathing/BirdNavigation;setCanEnterOpenDoors(Z)V
-
method_35129
public boolean method_35129()- Mappings:
Namespace Name Mixin selector official eLbpf;e()Zintermediary method_35129Lnet/minecraft/class_1407;method_35129()Znamed method_35129Lnet/minecraft/entity/ai/pathing/BirdNavigation;method_35129()Z
-
isValidPosition
- Overrides:
isValidPositionin classEntityNavigation- Mappings:
Namespace Name Mixin selector official aLbph;a(Lgu;)Zintermediary method_6333Lnet/minecraft/class_1408;method_6333(Lnet/minecraft/class_2338;)Znamed isValidPositionLnet/minecraft/entity/ai/pathing/EntityNavigation;isValidPosition(Lnet/minecraft/util/math/BlockPos;)Z