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 - bph- intermediary - net/minecraft/class_1407- named - net/minecraft/entity/ai/pathing/BirdNavigation
- 
Field SummaryFields inherited from class net.minecraft.entity.ai.pathing.EntityNavigationcurrentNodeMs, currentNodeTimeout, currentPath, entity, inRecalculationCooldown, lastActiveTickMs, lastNodePosition, lastRecalculateTime, nodeMaker, nodeReachProximity, pathStartPos, pathStartTime, speed, tickCount, world
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.EntityNavigationadjustPath, 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>- Lbpj;<init>(Lbgb;Lcmm;)V- intermediary - <init>- Lnet/minecraft/class_1408;<init>(Lnet/minecraft/class_1308;Lnet/minecraft/class_1937;)V- named - <init>- Lnet/minecraft/entity/ai/pathing/EntityNavigation;<init>(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/world/World;)V
 
 
- 
- 
Method Details
- 
canPathDirectlyThrough- Overrides:
- canPathDirectlyThroughin class- EntityNavigation
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbpj;a(Leei;Leei;)Z- intermediary - method_6341- Lnet/minecraft/class_1408;method_6341(Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Z- named - canPathDirectlyThrough- Lnet/minecraft/entity/ai/pathing/EntityNavigation;canPathDirectlyThrough(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Z
 
- 
isAtValidPositionprotected boolean isAtValidPosition()- Specified by:
- isAtValidPositionin class- EntityNavigation
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbpj;a()Z- intermediary - method_6358- Lnet/minecraft/class_1408;method_6358()Z- named - isAtValidPosition- Lnet/minecraft/entity/ai/pathing/EntityNavigation;isAtValidPosition()Z
 
- 
getPosThe position to act as if the entity is at for pathfinding purposes- Specified by:
- getPosin class- EntityNavigation
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbpj;b()Leei;- intermediary - method_6347- Lnet/minecraft/class_1408;method_6347()Lnet/minecraft/class_243;- named - getPos- Lnet/minecraft/entity/ai/pathing/EntityNavigation;getPos()Lnet/minecraft/util/math/Vec3d;
 
- 
findPathTo- Overrides:
- findPathToin class- EntityNavigation
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbpj;a(Lbfj;I)Ldxt;- intermediary - method_6349- Lnet/minecraft/class_1408;method_6349(Lnet/minecraft/class_1297;I)Lnet/minecraft/class_11;- named - findPathTo- Lnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(Lnet/minecraft/entity/Entity;I)Lnet/minecraft/entity/ai/pathing/Path;
 
- 
tickpublic void tick()- Overrides:
- tickin class- EntityNavigation
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbpj;c()V- intermediary - method_6360- Lnet/minecraft/class_1408;method_6360()V- named - tick- Lnet/minecraft/entity/ai/pathing/EntityNavigation;tick()V
 
- 
setCanPathThroughDoorspublic void setCanPathThroughDoors(boolean canPathThroughDoors) - Mappings:
- Namespace - Name - Mixin selector - official - b- Lbph;b(Z)V- intermediary - method_6332- Lnet/minecraft/class_1407;method_6332(Z)V- named - setCanPathThroughDoors- Lnet/minecraft/entity/ai/pathing/BirdNavigation;setCanPathThroughDoors(Z)V
 
- 
canEnterOpenDoorspublic boolean canEnterOpenDoors()- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbph;d()Z- intermediary - method_35128- Lnet/minecraft/class_1407;method_35128()Z- named - canEnterOpenDoors- Lnet/minecraft/entity/ai/pathing/BirdNavigation;canEnterOpenDoors()Z
 
- 
setCanEnterOpenDoorspublic void setCanEnterOpenDoors(boolean canEnterOpenDoors) - Mappings:
- Namespace - Name - Mixin selector - official - c- Lbph;c(Z)V- intermediary - method_6331- Lnet/minecraft/class_1407;method_6331(Z)V- named - setCanEnterOpenDoors- Lnet/minecraft/entity/ai/pathing/BirdNavigation;setCanEnterOpenDoors(Z)V
 
- 
method_35129public boolean method_35129()- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbph;e()Z- intermediary - method_35129- Lnet/minecraft/class_1407;method_35129()Z- named - method_35129- Lnet/minecraft/entity/ai/pathing/BirdNavigation;method_35129()Z
 
- 
isValidPosition- Overrides:
- isValidPositionin class- EntityNavigation
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbpj;a(Lgu;)Z- intermediary - method_6333- Lnet/minecraft/class_1408;method_6333(Lnet/minecraft/class_2338;)Z- named - isValidPosition- Lnet/minecraft/entity/ai/pathing/EntityNavigation;isValidPosition(Lnet/minecraft/util/math/BlockPos;)Z