Class FoxEntity.AttackGoal

Enclosing class:
FoxEntity

private class FoxEntity.AttackGoal extends MeleeAttackGoal
Mappings:
Namespace Name
official brt$l
intermediary net/minecraft/class_4019$class_4029
named net/minecraft/entity/passive/FoxEntity$AttackGoal
  • Constructor Details

    • AttackGoal

      public AttackGoal(double speed, boolean pauseWhenIdle)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbrt$l;<init>(Lbrt;DZ)V
      intermediary <init> Lnet/minecraft/class_4019$class_4029;<init>(Lnet/minecraft/class_4019;DZ)V
      named <init> Lnet/minecraft/entity/passive/FoxEntity$AttackGoal;<init>(Lnet/minecraft/entity/passive/FoxEntity;DZ)V
  • 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
    • start

      public void start()
      Overrides:
      start in class MeleeAttackGoal
      Mappings:
      Namespace Name Mixin selector
      official c Lbmt;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • canStart

      public boolean canStart()
      Overrides:
      canStart in class MeleeAttackGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lbmt;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z