类 FollowOwnerGoal


  • public class FollowOwnerGoal
    extends Goal
    Mappings:
    Namespace Name
    official ayo
    intermediary net/minecraft/class_1350
    named net/minecraft/entity/ai/goal/FollowOwnerGoal
    • 字段详细资料

      • field_30205

        public static final int field_30205
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Layo;a:I
        intermediary field_30205 Lnet/minecraft/class_1350;field_30205:I
        named field_30205 Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_30205:I
      • field_30206

        private static final int field_30206
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Layo;b:I
        intermediary field_30206 Lnet/minecraft/class_1350;field_30206:I
        named field_30206 Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_30206:I
      • field_30207

        private static final int field_30207
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Layo;c:I
        intermediary field_30207 Lnet/minecraft/class_1350;field_30207:I
        named field_30207 Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_30207:I
      • field_30208

        private static final int field_30208
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official d Layo;d:I
        intermediary field_30208 Lnet/minecraft/class_1350;field_30208:I
        named field_30208 Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_30208:I
      • tameable

        private final TameableEntity tameable
        Mappings:
        Namespace Name Mixin selector
        official e Layo;e:Latr;
        intermediary field_6448 Lnet/minecraft/class_1350;field_6448:Lnet/minecraft/class_1321;
        named tameable Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
      • owner

        private LivingEntity owner
        Mappings:
        Namespace Name Mixin selector
        official f Layo;f:Lasy;
        intermediary field_6444 Lnet/minecraft/class_1350;field_6444:Lnet/minecraft/class_1309;
        named owner Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;owner:Lnet/minecraft/entity/LivingEntity;
      • world

        private final WorldView world
        Mappings:
        Namespace Name Mixin selector
        official g Layo;g:Lbvu;
        intermediary field_6445 Lnet/minecraft/class_1350;field_6445:Lnet/minecraft/class_4538;
        named world Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;world:Lnet/minecraft/world/WorldView;
      • speed

        private final double speed
        Mappings:
        Namespace Name Mixin selector
        official h Layo;h:D
        intermediary field_6442 Lnet/minecraft/class_1350;field_6442:D
        named speed Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;speed:D
      • navigation

        private final EntityNavigation navigation
        Mappings:
        Namespace Name Mixin selector
        official i Layo;i:Lbbb;
        intermediary field_6446 Lnet/minecraft/class_1350;field_6446:Lnet/minecraft/class_1408;
        named navigation Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;navigation:Lnet/minecraft/entity/ai/pathing/EntityNavigation;
      • updateCountdownTicks

        private int updateCountdownTicks
        Mappings:
        Namespace Name Mixin selector
        official j Layo;j:I
        intermediary field_6443 Lnet/minecraft/class_1350;field_6443:I
        named updateCountdownTicks Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;updateCountdownTicks:I
      • maxDistance

        private final float maxDistance
        Mappings:
        Namespace Name Mixin selector
        official k Layo;k:F
        intermediary field_6450 Lnet/minecraft/class_1350;field_6450:F
        named maxDistance Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;maxDistance:F
      • minDistance

        private final float minDistance
        Mappings:
        Namespace Name Mixin selector
        official l Layo;l:F
        intermediary field_6449 Lnet/minecraft/class_1350;field_6449:F
        named minDistance Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;minDistance:F
      • oldWaterPathfindingPenalty

        private float oldWaterPathfindingPenalty
        Mappings:
        Namespace Name Mixin selector
        official m Layo;m:F
        intermediary field_6447 Lnet/minecraft/class_1350;field_6447:F
        named oldWaterPathfindingPenalty Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;oldWaterPathfindingPenalty:F
      • leavesAllowed

        private final boolean leavesAllowed
        Mappings:
        Namespace Name Mixin selector
        official n Layo;n:Z
        intermediary field_21078 Lnet/minecraft/class_1350;field_21078:Z
        named leavesAllowed Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;leavesAllowed:Z
    • 构造器详细资料

      • FollowOwnerGoal

        public FollowOwnerGoal​(TameableEntity tameable,
                               double speed,
                               float minDistance,
                               float maxDistance,
                               boolean leavesAllowed)
        Mappings:
        Namespace Name Mixin selector
        official <init> Layo;<init>(Latr;DFFZ)V
        intermediary <init> Lnet/minecraft/class_1350;<init>(Lnet/minecraft/class_1321;DFFZ)V
        named <init> Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;DFFZ)V
    • 方法详细资料

      • canStart

        public boolean canStart()
        指定者:
        canStart 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official a Layq;a()Z
        intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
        named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      • shouldContinue

        public boolean shouldContinue()
        覆盖:
        shouldContinue 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official b Layq;b()Z
        intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
        named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      • start

        public void start()
        覆盖:
        start 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official c Layq;c()V
        intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
        named start Lnet/minecraft/entity/ai/goal/Goal;start()V
      • stop

        public void stop()
        覆盖:
        stop 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official d Layq;d()V
        intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
        named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      • tick

        public void tick()
        覆盖:
        tick 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official e Layq;e()V
        intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
        named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      • tryTeleport

        private void tryTeleport()
        Mappings:
        Namespace Name Mixin selector
        official g Layo;g()V
        intermediary method_23345 Lnet/minecraft/class_1350;method_23345()V
        named tryTeleport Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;tryTeleport()V
      • tryTeleportTo

        private boolean tryTeleportTo​(int x,
                                      int y,
                                      int z)
        Mappings:
        Namespace Name Mixin selector
        official a Layo;a(III)Z
        intermediary method_23343 Lnet/minecraft/class_1350;method_23343(III)Z
        named tryTeleportTo Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;tryTeleportTo(III)Z
      • canTeleportTo

        private boolean canTeleportTo​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Layo;a(Lgb;)Z
        intermediary method_23344 Lnet/minecraft/class_1350;method_23344(Lnet/minecraft/class_2338;)Z
        named canTeleportTo Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;canTeleportTo(Lnet/minecraft/util/math/BlockPos;)Z
      • getRandomInt

        private int getRandomInt​(int min,
                                 int max)
        Mappings:
        Namespace Name Mixin selector
        official a Layo;a(II)I
        intermediary method_23342 Lnet/minecraft/class_1350;method_23342(II)I
        named getRandomInt Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;getRandomInt(II)I