Class PolarBearEntity.AttackGoal

Enclosing class:
PolarBearEntity

private class PolarBearEntity.AttackGoal extends MeleeAttackGoal
Mappings:
Namespace Name
official bsb$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 Lbnd;a(Lbfx;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 Lbmt;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 Lbnd;a(Lbfx;)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