Class PolarBearEntity.AttackGoal

Enclosing class:
PolarBearEntity

private class PolarBearEntity.AttackGoal extends MeleeAttackGoal
Mappings:
Namespace Name
official bhu$c
intermediary net/minecraft/class_1456$class_1460
named net/minecraft/entity/passive/PolarBearEntity$AttackGoal
  • Constructor Details

    • AttackGoal

      public AttackGoal()
  • Method Details

    • attack

      protected void attack(LivingEntity target, double squaredDistance)
      Overrides:
      attack in class MeleeAttackGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lbde;a(Laxa;D)V
      intermediary method_6288 Lnet/minecraft/class_1366;method_6288(Lnet/minecraft/class_1309;D)V
      named attack Lnet/minecraft/entity/ai/goal/MeleeAttackGoal;attack(Lnet/minecraft/entity/LivingEntity;D)V
    • stop

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