类 BowAttackGoal<T extends HostileEntity & RangedAttackMob>


  • public class BowAttackGoal<T extends HostileEntity & RangedAttackMob>
    extends Goal
    Mappings:
    Namespace Name
    official azp
    intermediary net/minecraft/class_1380
    named net/minecraft/entity/ai/goal/BowAttackGoal
    • 字段详细资料

      • actor

        private final T extends HostileEntity & RangedAttackMob actor
        Mappings:
        Namespace Name Mixin selector
        official a Lazp;a:Lbgz;
        intermediary field_6576 Lnet/minecraft/class_1380;field_6576:Lnet/minecraft/class_1588;
        named actor Lnet/minecraft/entity/ai/goal/BowAttackGoal;actor:Lnet/minecraft/entity/mob/HostileEntity;
      • speed

        private final double speed
        Mappings:
        Namespace Name Mixin selector
        official b Lazp;b:D
        intermediary field_6569 Lnet/minecraft/class_1380;field_6569:D
        named speed Lnet/minecraft/entity/ai/goal/BowAttackGoal;speed:D
      • attackInterval

        private int attackInterval
        Mappings:
        Namespace Name Mixin selector
        official c Lazp;c:I
        intermediary field_6575 Lnet/minecraft/class_1380;field_6575:I
        named attackInterval Lnet/minecraft/entity/ai/goal/BowAttackGoal;attackInterval:I
      • squaredRange

        private final float squaredRange
        Mappings:
        Namespace Name Mixin selector
        official d Lazp;d:F
        intermediary field_6570 Lnet/minecraft/class_1380;field_6570:F
        named squaredRange Lnet/minecraft/entity/ai/goal/BowAttackGoal;squaredRange:F
      • cooldown

        private int cooldown
        Mappings:
        Namespace Name Mixin selector
        official e Lazp;e:I
        intermediary field_6574 Lnet/minecraft/class_1380;field_6574:I
        named cooldown Lnet/minecraft/entity/ai/goal/BowAttackGoal;cooldown:I
      • targetSeeingTicker

        private int targetSeeingTicker
        Mappings:
        Namespace Name Mixin selector
        official f Lazp;f:I
        intermediary field_6572 Lnet/minecraft/class_1380;field_6572:I
        named targetSeeingTicker Lnet/minecraft/entity/ai/goal/BowAttackGoal;targetSeeingTicker:I
      • movingToLeft

        private boolean movingToLeft
        Mappings:
        Namespace Name Mixin selector
        official g Lazp;g:Z
        intermediary field_6573 Lnet/minecraft/class_1380;field_6573:Z
        named movingToLeft Lnet/minecraft/entity/ai/goal/BowAttackGoal;movingToLeft:Z
      • backward

        private boolean backward
        Mappings:
        Namespace Name Mixin selector
        official h Lazp;h:Z
        intermediary field_6571 Lnet/minecraft/class_1380;field_6571:Z
        named backward Lnet/minecraft/entity/ai/goal/BowAttackGoal;backward:Z
      • combatTicks

        private int combatTicks
        Mappings:
        Namespace Name Mixin selector
        official i Lazp;i:I
        intermediary field_6568 Lnet/minecraft/class_1380;field_6568:I
        named combatTicks Lnet/minecraft/entity/ai/goal/BowAttackGoal;combatTicks:I
    • 构造器详细资料

      • BowAttackGoal

        public BowAttackGoal​(T actor,
                             double speed,
                             int attackInterval,
                             float range)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazp;<init>(Lbgz;DIF)V
        intermediary <init> Lnet/minecraft/class_1380;<init>(Lnet/minecraft/class_1588;DIF)V
        named <init> Lnet/minecraft/entity/ai/goal/BowAttackGoal;<init>(Lnet/minecraft/entity/mob/HostileEntity;DIF)V
    • 方法详细资料

      • setAttackInterval

        public void setAttackInterval​(int attackInterval)
        Mappings:
        Namespace Name Mixin selector
        official a Lazp;a(I)V
        intermediary method_6305 Lnet/minecraft/class_1380;method_6305(I)V
        named setAttackInterval Lnet/minecraft/entity/ai/goal/BowAttackGoal;setAttackInterval(I)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
      • isHoldingBow

        protected boolean isHoldingBow()
        Mappings:
        Namespace Name Mixin selector
        official g Lazp;g()Z
        intermediary method_6306 Lnet/minecraft/class_1380;method_6306()Z
        named isHoldingBow Lnet/minecraft/entity/ai/goal/BowAttackGoal;isHoldingBow()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