类 MoveToTargetPosGoal

    • 字段详细资料

      • field_30221

        private static final int field_30221
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official g Lazd;g:I
        intermediary field_30221 Lnet/minecraft/class_1367;field_30221:I
        named field_30221 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;field_30221:I
      • field_30222

        private static final int field_30222
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official h Lazd;h:I
        intermediary field_30222 Lnet/minecraft/class_1367;field_30222:I
        named field_30222 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;field_30222:I
      • field_30223

        private static final int field_30223
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official i Lazd;i:I
        intermediary field_30223 Lnet/minecraft/class_1367;field_30223:I
        named field_30223 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;field_30223:I
      • mob

        protected final PathAwareEntity mob
        Mappings:
        Namespace Name Mixin selector
        official a Lazd;a:Latg;
        intermediary field_6516 Lnet/minecraft/class_1367;field_6516:Lnet/minecraft/class_1314;
        named mob Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
      • speed

        public final double speed
        Mappings:
        Namespace Name Mixin selector
        official b Lazd;b:D
        intermediary field_6514 Lnet/minecraft/class_1367;field_6514:D
        named speed Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;speed:D
      • cooldown

        protected int cooldown
        Mappings:
        Namespace Name Mixin selector
        official c Lazd;c:I
        intermediary field_6518 Lnet/minecraft/class_1367;field_6518:I
        named cooldown Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;cooldown:I
      • tryingTime

        protected int tryingTime
        Mappings:
        Namespace Name Mixin selector
        official d Lazd;d:I
        intermediary field_6517 Lnet/minecraft/class_1367;field_6517:I
        named tryingTime Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;tryingTime:I
      • safeWaitingTime

        private int safeWaitingTime
        Mappings:
        Namespace Name Mixin selector
        official j Lazd;j:I
        intermediary field_6511 Lnet/minecraft/class_1367;field_6511:I
        named safeWaitingTime Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;safeWaitingTime:I
      • targetPos

        protected BlockPos targetPos
        Mappings:
        Namespace Name Mixin selector
        official e Lazd;e:Lgb;
        intermediary field_6512 Lnet/minecraft/class_1367;field_6512:Lnet/minecraft/class_2338;
        named targetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;targetPos:Lnet/minecraft/util/math/BlockPos;
      • reached

        private boolean reached
        Mappings:
        Namespace Name Mixin selector
        official k Lazd;k:Z
        intermediary field_6513 Lnet/minecraft/class_1367;field_6513:Z
        named reached Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;reached:Z
      • range

        private final int range
        Mappings:
        Namespace Name Mixin selector
        official l Lazd;l:I
        intermediary field_6510 Lnet/minecraft/class_1367;field_6510:I
        named range Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;range:I
      • maxYDifference

        private final int maxYDifference
        Mappings:
        Namespace Name Mixin selector
        official m Lazd;m:I
        intermediary field_6519 Lnet/minecraft/class_1367;field_6519:I
        named maxYDifference Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;maxYDifference:I
      • lowestY

        protected int lowestY
        Mappings:
        Namespace Name Mixin selector
        official f Lazd;f:I
        intermediary field_6515 Lnet/minecraft/class_1367;field_6515:I
        named lowestY Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;lowestY:I
    • 构造器详细资料

      • MoveToTargetPosGoal

        public MoveToTargetPosGoal​(PathAwareEntity mob,
                                   double speed,
                                   int range)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazd;<init>(Latg;DI)V
        intermediary <init> Lnet/minecraft/class_1367;<init>(Lnet/minecraft/class_1314;DI)V
        named <init> Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DI)V
      • MoveToTargetPosGoal

        public MoveToTargetPosGoal​(PathAwareEntity mob,
                                   double speed,
                                   int range,
                                   int maxYDifference)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazd;<init>(Latg;DII)V
        intermediary <init> Lnet/minecraft/class_1367;<init>(Lnet/minecraft/class_1314;DII)V
        named <init> Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DII)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
      • getInterval

        protected int getInterval​(PathAwareEntity mob)
        Mappings:
        Namespace Name Mixin selector
        official a Lazd;a(Latg;)I
        intermediary method_6293 Lnet/minecraft/class_1367;method_6293(Lnet/minecraft/class_1314;)I
        named getInterval Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getInterval(Lnet/minecraft/entity/mob/PathAwareEntity;)I
      • 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
      • startMovingToTarget

        protected void startMovingToTarget()
        Mappings:
        Namespace Name Mixin selector
        official g Lazd;g()V
        intermediary method_6290 Lnet/minecraft/class_1367;method_6290()V
        named startMovingToTarget Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;startMovingToTarget()V
      • getDesiredSquaredDistanceToTarget

        public double getDesiredSquaredDistanceToTarget()
        Mappings:
        Namespace Name Mixin selector
        official h Lazd;h()D
        intermediary method_6291 Lnet/minecraft/class_1367;method_6291()D
        named getDesiredSquaredDistanceToTarget Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getDesiredSquaredDistanceToTarget()D
      • getTargetPos

        protected BlockPos getTargetPos()
        Mappings:
        Namespace Name Mixin selector
        official j Lazd;j()Lgb;
        intermediary method_30953 Lnet/minecraft/class_1367;method_30953()Lnet/minecraft/class_2338;
        named getTargetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getTargetPos()Lnet/minecraft/util/math/BlockPos;
      • 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
      • shouldResetPath

        public boolean shouldResetPath()
        Mappings:
        Namespace Name Mixin selector
        official k Lazd;k()Z
        intermediary method_6294 Lnet/minecraft/class_1367;method_6294()Z
        named shouldResetPath Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;shouldResetPath()Z
      • hasReached

        protected boolean hasReached()
        Mappings:
        Namespace Name Mixin selector
        official l Lazd;l()Z
        intermediary method_6295 Lnet/minecraft/class_1367;method_6295()Z
        named hasReached Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;hasReached()Z
      • findTargetPos

        protected boolean findTargetPos()
        Mappings:
        Namespace Name Mixin selector
        official m Lazd;m()Z
        intermediary method_6292 Lnet/minecraft/class_1367;method_6292()Z
        named findTargetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;findTargetPos()Z
      • isTargetPos

        protected abstract boolean isTargetPos​(WorldView world,
                                               BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lazd;a(Lbvu;Lgb;)Z
        intermediary method_6296 Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
        named isTargetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z