Class DrownedEntity.DrownedAttackGoal

Enclosing class:
DrownedEntity

private static class DrownedEntity.DrownedAttackGoal extends ZombieAttackGoal
Mappings:
Namespace Name
official btr$a
intermediary net/minecraft/class_1551$class_1552
named net/minecraft/entity/mob/DrownedEntity$DrownedAttackGoal
  • Field Details

    • drowned

      private final DrownedEntity drowned
      Mappings:
      Namespace Name Mixin selector
      official b Lbtr$a;b:Lbtr;
      intermediary field_7235 Lnet/minecraft/class_1551$class_1552;field_7235:Lnet/minecraft/class_1551;
      named drowned Lnet/minecraft/entity/mob/DrownedEntity$DrownedAttackGoal;drowned:Lnet/minecraft/entity/mob/DrownedEntity;
  • Constructor Details

    • DrownedAttackGoal

      public DrownedAttackGoal(DrownedEntity drowned, double speed, boolean pauseWhenMobIdle)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbtr$a;<init>(Lbtr;DZ)V
      intermediary <init> Lnet/minecraft/class_1551$class_1552;<init>(Lnet/minecraft/class_1551;DZ)V
      named <init> Lnet/minecraft/entity/mob/DrownedEntity$DrownedAttackGoal;<init>(Lnet/minecraft/entity/mob/DrownedEntity;DZ)V
  • Method Details

    • canStart

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