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/BirdNavigation
intermediary net/minecraft/class_1407
official cda
-
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected boolean
canPathDirectlyThrough
(Vec3d origin, Vec3d target) protected PathNodeNavigator
createPathNodeNavigator
(int range) findPathTo
(Entity entity, int distance) protected Vec3d
getPos()
The position to act as if the entity is at for pathfinding purposesprotected boolean
boolean
isValidPosition
(BlockPos pos) boolean
void
setCanEnterOpenDoors
(boolean canEnterOpenDoors) void
setCanPathThroughDoors
(boolean canPathThroughDoors) void
tick()
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, setRangeMultiplier, setSpeed, shouldRecalculatePath, startMovingAlong, startMovingTo, startMovingTo, startMovingTo, stop
-
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;)V
intermediary <init>
Lnet/minecraft/class_1408;<init>(Lnet/minecraft/class_1308;Lnet/minecraft/class_1937;)V
official <init>
Lcdc;<init>(Lbts;Ldbz;)V
-
-
Method Details
-
canPathDirectlyThrough
- Overrides:
canPathDirectlyThrough
in classEntityNavigation
- Mappings:
Namespace Name Mixin selector named canPathDirectlyThrough
Lnet/minecraft/entity/ai/pathing/EntityNavigation;canPathDirectlyThrough(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Z
intermediary method_6341
Lnet/minecraft/class_1408;method_6341(Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Z
official a
Lcdc;a(Levs;Levs;)Z
-
isAtValidPosition
protected boolean isAtValidPosition()- Specified by:
isAtValidPosition
in classEntityNavigation
- Mappings:
Namespace Name Mixin selector named isAtValidPosition
Lnet/minecraft/entity/ai/pathing/EntityNavigation;isAtValidPosition()Z
intermediary method_6358
Lnet/minecraft/class_1408;method_6358()Z
official a
Lcdc;a()Z
-
getPos
The position to act as if the entity is at for pathfinding purposes- Specified by:
getPos
in classEntityNavigation
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/entity/ai/pathing/EntityNavigation;getPos()Lnet/minecraft/util/math/Vec3d;
intermediary method_6347
Lnet/minecraft/class_1408;method_6347()Lnet/minecraft/class_243;
official b
Lcdc;b()Levs;
-
findPathTo
- Overrides:
findPathTo
in classEntityNavigation
- Mappings:
Namespace Name Mixin selector named findPathTo
Lnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(Lnet/minecraft/entity/Entity;I)Lnet/minecraft/entity/ai/pathing/Path;
intermediary method_6349
Lnet/minecraft/class_1408;method_6349(Lnet/minecraft/class_1297;I)Lnet/minecraft/class_11;
official a
Lcdc;a(Lbsv;I)Leok;
-
tick
public void tick()- Overrides:
tick
in classEntityNavigation
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/ai/pathing/EntityNavigation;tick()V
intermediary method_6360
Lnet/minecraft/class_1408;method_6360()V
official c
Lcdc;c()V
-
setCanPathThroughDoors
public void setCanPathThroughDoors(boolean canPathThroughDoors) - Mappings:
Namespace Name Mixin selector named setCanPathThroughDoors
Lnet/minecraft/entity/ai/pathing/BirdNavigation;setCanPathThroughDoors(Z)V
intermediary method_6332
Lnet/minecraft/class_1407;method_6332(Z)V
official b
Lcda;b(Z)V
-
canEnterOpenDoors
public boolean canEnterOpenDoors()- Mappings:
Namespace Name Mixin selector named canEnterOpenDoors
Lnet/minecraft/entity/ai/pathing/BirdNavigation;canEnterOpenDoors()Z
intermediary method_35128
Lnet/minecraft/class_1407;method_35128()Z
official d
Lcda;d()Z
-
setCanEnterOpenDoors
public void setCanEnterOpenDoors(boolean canEnterOpenDoors) - Mappings:
Namespace Name Mixin selector named setCanEnterOpenDoors
Lnet/minecraft/entity/ai/pathing/BirdNavigation;setCanEnterOpenDoors(Z)V
intermediary method_6331
Lnet/minecraft/class_1407;method_6331(Z)V
official c
Lcda;c(Z)V
-
method_35129
public boolean method_35129()- Mappings:
Namespace Name Mixin selector named method_35129
Lnet/minecraft/entity/ai/pathing/BirdNavigation;method_35129()Z
intermediary method_35129
Lnet/minecraft/class_1407;method_35129()Z
official e
Lcda;e()Z
-
isValidPosition
- Overrides:
isValidPosition
in classEntityNavigation
- Mappings:
Namespace Name Mixin selector named isValidPosition
Lnet/minecraft/entity/ai/pathing/EntityNavigation;isValidPosition(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_6333
Lnet/minecraft/class_1408;method_6333(Lnet/minecraft/class_2338;)Z
official a
Lcdc;a(Liz;)Z