Class SpiderEntity.AttackGoal

Enclosing class:
SpiderEntity

private static class SpiderEntity.AttackGoal extends MeleeAttackGoal
Mappings:
Namespace Name
official blp$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> Lblp$a;<init>(Lblp;)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 Lbcu;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 Lbcu;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 Lbde;a(Laxa;)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