Class GuardianEntity.FireBeamGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.GuardianEntity.FireBeamGoal
Enclosing class:
GuardianEntity

private static class GuardianEntity.FireBeamGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/mob/GuardianEntity$FireBeamGoal
intermediary net/minecraft/class_1577$class_1578
official cka$a
  • Field Details

    • guardian

      private final GuardianEntity guardian
      Mappings:
      Namespace Name Mixin selector
      named guardian Lnet/minecraft/entity/mob/GuardianEntity$FireBeamGoal;guardian:Lnet/minecraft/entity/mob/GuardianEntity;
      intermediary field_7293 Lnet/minecraft/class_1577$class_1578;field_7293:Lnet/minecraft/class_1577;
      official a Lcka$a;a:Lcka;
    • beamTicks

      private int beamTicks
      Mappings:
      Namespace Name Mixin selector
      named beamTicks Lnet/minecraft/entity/mob/GuardianEntity$FireBeamGoal;beamTicks:I
      intermediary field_7291 Lnet/minecraft/class_1577$class_1578;field_7291:I
      official b Lcka$a;b:I
    • elder

      private final boolean elder
      Mappings:
      Namespace Name Mixin selector
      named elder Lnet/minecraft/entity/mob/GuardianEntity$FireBeamGoal;elder:Z
      intermediary field_7292 Lnet/minecraft/class_1577$class_1578;field_7292:Z
      official c Lcka$a;c:Z
  • Constructor Details

    • FireBeamGoal

      public FireBeamGoal(GuardianEntity guardian)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/GuardianEntity$FireBeamGoal;<init>(Lnet/minecraft/entity/mob/GuardianEntity;)V
      intermediary <init> Lnet/minecraft/class_1577$class_1578;<init>(Lnet/minecraft/class_1577;)V
      official <init> Lcka$a;<init>(Lcka;)V
  • Method Details

    • canStart

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

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      official b Lcao;b()Z
    • start

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

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

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