Class CrossbowAttackGoal<T extends HostileEntity & RangedAttackMob & CrossbowUser>

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.CrossbowAttackGoal<T>

public class CrossbowAttackGoal<T extends HostileEntity & RangedAttackMob & CrossbowUser>
extends Goal
Mappings:
Namespace Name
official axz
intermediary net/minecraft/class_1383
named net/minecraft/entity/ai/goal/CrossbowAttackGoal
  • Field Details

    • field_25696

      public static final IntRange field_25696
      Mappings:
      Namespace Name Mixin selector
      official a Laxz;a:Lafy;
      intermediary field_25696 Lnet/minecraft/class_1383;field_25696:Lnet/minecraft/class_4801;
      named field_25696 Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;field_25696:Lnet/minecraft/util/math/IntRange;
    • actor

      private final T extends HostileEntity & RangedAttackMob & CrossbowUser actor
      Mappings:
      Namespace Name Mixin selector
      official b Laxz;b:Lbff;
      intermediary field_6593 Lnet/minecraft/class_1383;field_6593:Lnet/minecraft/class_1588;
      named actor Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;actor:Lnet/minecraft/entity/mob/HostileEntity;
    • stage

      private CrossbowAttackGoal.Stage stage
      Mappings:
      Namespace Name Mixin selector
      official c Laxz;c:Laxz$a;
      intermediary field_16528 Lnet/minecraft/class_1383;field_16528:Lnet/minecraft/class_1383$class_3744;
      named stage Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;stage:Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal$Stage;
    • speed

      private final double speed
      Mappings:
      Namespace Name Mixin selector
      official d Laxz;d:D
      intermediary field_6590 Lnet/minecraft/class_1383;field_6590:D
      named speed Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;speed:D
    • squaredRange

      private final float squaredRange
      Mappings:
      Namespace Name Mixin selector
      official e Laxz;e:F
      intermediary field_6591 Lnet/minecraft/class_1383;field_6591:F
      named squaredRange Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;squaredRange:F
    • seeingTargetTicker

      private int seeingTargetTicker
      Mappings:
      Namespace Name Mixin selector
      official f Laxz;f:I
      intermediary field_6592 Lnet/minecraft/class_1383;field_6592:I
      named seeingTargetTicker Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;seeingTargetTicker:I
    • chargedTicksLeft

      private int chargedTicksLeft
      Mappings:
      Namespace Name Mixin selector
      official g Laxz;g:I
      intermediary field_16529 Lnet/minecraft/class_1383;field_16529:I
      named chargedTicksLeft Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;chargedTicksLeft:I
    • field_25697

      private int field_25697
      Mappings:
      Namespace Name Mixin selector
      official h Laxz;h:I
      intermediary field_25697 Lnet/minecraft/class_1383;field_25697:I
      named field_25697 Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;field_25697:I
  • Constructor Details

    • CrossbowAttackGoal

      public CrossbowAttackGoal​(T actor, double speed, float range)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laxz;<init>(Lbff;DF)V
      intermediary <init> Lnet/minecraft/class_1383;<init>(Lnet/minecraft/class_1588;DF)V
      named <init> Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;<init>(Lnet/minecraft/entity/mob/HostileEntity;DF)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lawx;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • isEntityHoldingCrossbow

      private boolean isEntityHoldingCrossbow()
      Mappings:
      Namespace Name Mixin selector
      official g Laxz;g()Z
      intermediary method_6310 Lnet/minecraft/class_1383;method_6310()Z
      named isEntityHoldingCrossbow Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;isEntityHoldingCrossbow()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      official b Lawx;b()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • hasAliveTarget

      private boolean hasAliveTarget()
      Mappings:
      Namespace Name Mixin selector
      official h Laxz;h()Z
      intermediary method_19996 Lnet/minecraft/class_1383;method_19996()Z
      named hasAliveTarget Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;hasAliveTarget()Z
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      official d Lawx;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()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lawx;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • isUncharged

      private boolean isUncharged()
      Mappings:
      Namespace Name Mixin selector
      official j Laxz;j()Z
      intermediary method_16352 Lnet/minecraft/class_1383;method_16352()Z
      named isUncharged Lnet/minecraft/entity/ai/goal/CrossbowAttackGoal;isUncharged()Z