类 MobNavigation

    • 字段详细资料

      • avoidSunlight

        private boolean avoidSunlight
        Mappings:
        Namespace Name Mixin selector
        official p Lbba;p:Z
        intermediary field_6686 Lnet/minecraft/class_1409;field_6686:Z
        named avoidSunlight Lnet/minecraft/entity/ai/pathing/MobNavigation;avoidSunlight:Z
    • 构造器详细资料

      • MobNavigation

        public MobNavigation​(MobEntity mob,
                             World world)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbbb;<init>(Lasz;Lbvr;)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
    • 方法详细资料

      • createPathNodeNavigator

        protected PathNodeNavigator createPathNodeNavigator​(int range)
        指定者:
        createPathNodeNavigator 在类中 EntityNavigation
        Mappings:
        Namespace Name Mixin selector
        official a Lbbb;a(I)Ldgc;
        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()
        指定者:
        isAtValidPosition 在类中 EntityNavigation
        Mappings:
        Namespace Name Mixin selector
        official a Lbbb;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
        指定者:
        getPos 在类中 EntityNavigation
        Mappings:
        Namespace Name Mixin selector
        official b Lbbb;b()Ldma;
        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​(BlockPos target,
                               int distance)
        覆盖:
        findPathTo 在类中 EntityNavigation
        Mappings:
        Namespace Name Mixin selector
        official a Lbbb;a(Lgb;I)Ldga;
        intermediary method_6348 Lnet/minecraft/class_1408;method_6348(Lnet/minecraft/class_2338;I)Lnet/minecraft/class_11;
        named findPathTo Lnet/minecraft/entity/ai/pathing/EntityNavigation;findPathTo(Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/entity/ai/pathing/Path;
      • findPathTo

        public Path findPathTo​(Entity entity,
                               int distance)
        覆盖:
        findPathTo 在类中 EntityNavigation
        Mappings:
        Namespace Name Mixin selector
        official a Lbbb;a(Lasl;I)Ldga;
        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;
      • getPathfindingY

        private int getPathfindingY()
        The y-position to act as if the entity is at for pathfinding purposes
        Mappings:
        Namespace Name Mixin selector
        official u Lbba;u()I
        intermediary method_6362 Lnet/minecraft/class_1409;method_6362()I
        named getPathfindingY Lnet/minecraft/entity/ai/pathing/MobNavigation;getPathfindingY()I
      • adjustPath

        protected void adjustPath()
        Adjusts the current path according to various special obstacles that may be in the way, for example sunlight
        覆盖:
        adjustPath 在类中 EntityNavigation
        Mappings:
        Namespace Name Mixin selector
        official F_ Lbbb;F_()V
        intermediary method_6359 Lnet/minecraft/class_1408;method_6359()V
        named adjustPath Lnet/minecraft/entity/ai/pathing/EntityNavigation;adjustPath()V
      • canPathDirectlyThrough

        protected boolean canPathDirectlyThrough​(Vec3d origin,
                                                 Vec3d target,
                                                 int sizeX,
                                                 int sizeY,
                                                 int sizeZ)
        指定者:
        canPathDirectlyThrough 在类中 EntityNavigation
        Mappings:
        Namespace Name Mixin selector
        official a Lbbb;a(Ldma;Ldma;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
      • allVisibleAreSafe

        private boolean allVisibleAreSafe​(int centerX,
                                          int centerY,
                                          int centerZ,
                                          int xSize,
                                          int ySize,
                                          int zSize,
                                          Vec3d entityPos,
                                          double lookVecX,
                                          double lookVecZ)
        Mappings:
        Namespace Name Mixin selector
        official a Lbba;a(IIIIIILdma;DD)Z
        intermediary method_6364 Lnet/minecraft/class_1409;method_6364(IIIIIILnet/minecraft/class_243;DD)Z
        named allVisibleAreSafe Lnet/minecraft/entity/ai/pathing/MobNavigation;allVisibleAreSafe(IIIIIILnet/minecraft/util/math/Vec3d;DD)Z
      • canWalkOnPath

        protected boolean canWalkOnPath​(PathNodeType pathType)
        Mappings:
        Namespace Name Mixin selector
        official a Lbba;a(Ldfw;)Z
        intermediary method_26338 Lnet/minecraft/class_1409;method_26338(Lnet/minecraft/class_7;)Z
        named canWalkOnPath Lnet/minecraft/entity/ai/pathing/MobNavigation;canWalkOnPath(Lnet/minecraft/entity/ai/pathing/PathNodeType;)Z
      • allVisibleArePassable

        private boolean allVisibleArePassable​(int x,
                                              int y,
                                              int z,
                                              int xSize,
                                              int ySize,
                                              int zSize,
                                              Vec3d entityPos,
                                              double lookVecX,
                                              double lookVecZ)
        Checks whether all blocks in the box which are visible (in front of) the mob can be pathed through
        Mappings:
        Namespace Name Mixin selector
        official b Lbba;b(IIIIIILdma;DD)Z
        intermediary method_6367 Lnet/minecraft/class_1409;method_6367(IIIIIILnet/minecraft/class_243;DD)Z
        named allVisibleArePassable Lnet/minecraft/entity/ai/pathing/MobNavigation;allVisibleArePassable(IIIIIILnet/minecraft/util/math/Vec3d;DD)Z
      • setCanPathThroughDoors

        public void setCanPathThroughDoors​(boolean canPathThroughDoors)
        Mappings:
        Namespace Name Mixin selector
        official a Lbba;a(Z)V
        intermediary method_6363 Lnet/minecraft/class_1409;method_6363(Z)V
        named setCanPathThroughDoors Lnet/minecraft/entity/ai/pathing/MobNavigation;setCanPathThroughDoors(Z)V
      • method_35140

        public boolean method_35140()
        Mappings:
        Namespace Name Mixin selector
        official e Lbba;e()Z
        intermediary method_35140 Lnet/minecraft/class_1409;method_35140()Z
        named method_35140 Lnet/minecraft/entity/ai/pathing/MobNavigation;method_35140()Z
      • setCanEnterOpenDoors

        public void setCanEnterOpenDoors​(boolean canEnterOpenDoors)
        Mappings:
        Namespace Name Mixin selector
        official b Lbba;b(Z)V
        intermediary method_35139 Lnet/minecraft/class_1409;method_35139(Z)V
        named setCanEnterOpenDoors Lnet/minecraft/entity/ai/pathing/MobNavigation;setCanEnterOpenDoors(Z)V
      • canEnterOpenDoors

        public boolean canEnterOpenDoors()
        Mappings:
        Namespace Name Mixin selector
        official f Lbba;f()Z
        intermediary method_6366 Lnet/minecraft/class_1409;method_6366()Z
        named canEnterOpenDoors Lnet/minecraft/entity/ai/pathing/MobNavigation;canEnterOpenDoors()Z
      • setAvoidSunlight

        public void setAvoidSunlight​(boolean avoidSunlight)
        Mappings:
        Namespace Name Mixin selector
        official c Lbba;c(Z)V
        intermediary method_6361 Lnet/minecraft/class_1409;method_6361(Z)V
        named setAvoidSunlight Lnet/minecraft/entity/ai/pathing/MobNavigation;setAvoidSunlight(Z)V