Class BirdNavigation

java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.BirdNavigation

public class BirdNavigation
extends EntityNavigation
Mappings:
Namespace Name
official azj
intermediary net/minecraft/class_1407
named net/minecraft/entity/ai/pathing/BirdNavigation
  • Constructor Details

    • BirdNavigation

      public BirdNavigation​(MobEntity mob, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lazl;<init>(Larj;Lbtv;)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

    • createPathNodeNavigator

      protected PathNodeNavigator createPathNodeNavigator​(int range)
      Specified by:
      createPathNodeNavigator in class EntityNavigation
      Mappings:
      Namespace Name Mixin selector
      official a Lazl;a(I)Ldcv;
      intermediary method_6336 Lnet/minecraft/class_1408;method_6336(I)Lnet/minecraft/class_13;
      named createPathNodeNavigator Lnet/minecraft/entity/ai/pathing/EntityNavigation;createPathNodeNavigator(I)Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;
    • isAtValidPosition

      protected boolean isAtValidPosition()
      Specified by:
      isAtValidPosition in class EntityNavigation
      Mappings:
      Namespace Name Mixin selector
      official a Lazl;a()Z
      intermediary method_6358 Lnet/minecraft/class_1408;method_6358()Z
      named isAtValidPosition Lnet/minecraft/entity/ai/pathing/EntityNavigation;isAtValidPosition()Z
    • getPos

      protected Vec3d getPos()
      The position to act as if the entity is at for pathfinding purposes
      Specified by:
      getPos in class EntityNavigation
      Mappings:
      Namespace Name Mixin selector
      official b Lazl;b()Ldiu;
      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

      public Path findPathTo​(Entity entity, int distance)
      Overrides:
      findPathTo in class EntityNavigation
      Mappings:
      Namespace Name Mixin selector
      official a Lazl;a(Laqv;I)Ldct;
      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;
    • tick

      public void tick()
      Overrides:
      tick in class EntityNavigation
      Mappings:
      Namespace Name Mixin selector
      official c Lazl;c()V
      intermediary method_6360 Lnet/minecraft/class_1408;method_6360()V
      named tick Lnet/minecraft/entity/ai/pathing/EntityNavigation;tick()V
    • canPathDirectlyThrough

      protected boolean canPathDirectlyThrough​(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)
      Specified by:
      canPathDirectlyThrough in class EntityNavigation
      Mappings:
      Namespace Name Mixin selector
      official a Lazl;a(Ldiu;Ldiu;III)Z
      intermediary method_6341 Lnet/minecraft/class_1408;method_6341(Lnet/minecraft/class_243;Lnet/minecraft/class_243;III)Z
      named canPathDirectlyThrough Lnet/minecraft/entity/ai/pathing/EntityNavigation;canPathDirectlyThrough(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;III)Z
    • setCanPathThroughDoors

      public void setCanPathThroughDoors​(boolean canPathThroughDoors)
      Mappings:
      Namespace Name Mixin selector
      official a Lazj;a(Z)V
      intermediary method_6332 Lnet/minecraft/class_1407;method_6332(Z)V
      named setCanPathThroughDoors Lnet/minecraft/entity/ai/pathing/BirdNavigation;setCanPathThroughDoors(Z)V
    • setCanEnterOpenDoors

      public void setCanEnterOpenDoors​(boolean canEnterOpenDoors)
      Mappings:
      Namespace Name Mixin selector
      official b Lazj;b(Z)V
      intermediary method_6331 Lnet/minecraft/class_1407;method_6331(Z)V
      named setCanEnterOpenDoors Lnet/minecraft/entity/ai/pathing/BirdNavigation;setCanEnterOpenDoors(Z)V
    • isValidPosition

      public boolean isValidPosition​(BlockPos pos)
      Overrides:
      isValidPosition in class EntityNavigation
      Mappings:
      Namespace Name Mixin selector
      official a Lazl;a(Lfx;)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