Class SpiderEntity.AttackGoal

Enclosing class:
SpiderEntity

private static class SpiderEntity.AttackGoal extends MeleeAttackGoal
Mappings:
Namespace Name
official bwh$a
intermediary net/minecraft/class_1628$class_1629
named net/minecraft/entity/mob/SpiderEntity$AttackGoal
  • Constructor Details

    • AttackGoal

      public AttackGoal(SpiderEntity spider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbwh$a;<init>(Lbwh;)V
      intermediary <init> Lnet/minecraft/class_1628$class_1629;<init>(Lnet/minecraft/class_1628;)V
      named <init> Lnet/minecraft/entity/mob/SpiderEntity$AttackGoal;<init>(Lnet/minecraft/entity/mob/SpiderEntity;)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class MeleeAttackGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lbmp;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()
      Overrides:
      shouldContinue in class MeleeAttackGoal
      Mappings:
      Namespace Name Mixin selector
      official b Lbmp;b()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • getSquaredMaxAttackDistance

      protected double getSquaredMaxAttackDistance(LivingEntity entity)
      Overrides:
      getSquaredMaxAttackDistance in class MeleeAttackGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lbmz;a(Lbft;)D
      intermediary method_6289 Lnet/minecraft/class_1366;method_6289(Lnet/minecraft/class_1309;)D
      named getSquaredMaxAttackDistance Lnet/minecraft/entity/ai/goal/MeleeAttackGoal;getSquaredMaxAttackDistance(Lnet/minecraft/entity/LivingEntity;)D