Class SquidEntity.EscapeAttackerGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.SquidEntity.EscapeAttackerGoal
Enclosing class:
SquidEntity

private class SquidEntity.EscapeAttackerGoal extends Goal
Mappings:
Namespace Name
official bng$a
intermediary net/minecraft/class_1477$class_1478
named net/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal
  • Field Details

    • field_30375

      private static final float field_30375
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbng$a;b:F
      intermediary field_30375 Lnet/minecraft/class_1477$class_1478;field_30375:F
      named field_30375 Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;field_30375:F
    • field_30376

      private static final float field_30376
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbng$a;c:F
      intermediary field_30376 Lnet/minecraft/class_1477$class_1478;field_30376:F
      named field_30376 Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;field_30376:F
    • field_30377

      private static final float field_30377
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbng$a;d:F
      intermediary field_30377 Lnet/minecraft/class_1477$class_1478;field_30377:F
      named field_30377 Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;field_30377:F
    • timer

      private int timer
      Mappings:
      Namespace Name Mixin selector
      official e Lbng$a;e:I
      intermediary field_6915 Lnet/minecraft/class_1477$class_1478;field_6915:I
      named timer Lnet/minecraft/entity/passive/SquidEntity$EscapeAttackerGoal;timer:I
  • Constructor Details

    • EscapeAttackerGoal

      EscapeAttackerGoal()
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lbhs;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • start

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

      public boolean shouldRunEveryTick()
      Returns if the goal should run every tick or not.

      This returns false by default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.

      Overrides:
      shouldRunEveryTick in class Goal
      Returns:
      if the goal should run every tick or not
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official E_ Lbhs;E_()Z
      intermediary method_38846 Lnet/minecraft/class_1352;method_38846()Z
      named shouldRunEveryTick Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lbhs;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V