Class BlazeEntity.ShootFireballGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.BlazeEntity.ShootFireballGoal
Enclosing class:
BlazeEntity

private static class BlazeEntity.ShootFireballGoal extends Goal
Mappings:
Namespace Name
official btn$a
intermediary net/minecraft/class_1545$class_1546
named net/minecraft/entity/mob/BlazeEntity$ShootFireballGoal
  • Field Details

    • blaze

      private final BlazeEntity blaze
      Mappings:
      Namespace Name Mixin selector
      official a Lbtn$a;a:Lbtn;
      intermediary field_7219 Lnet/minecraft/class_1545$class_1546;field_7219:Lnet/minecraft/class_1545;
      named blaze Lnet/minecraft/entity/mob/BlazeEntity$ShootFireballGoal;blaze:Lnet/minecraft/entity/mob/BlazeEntity;
    • fireballsFired

      private int fireballsFired
      Mappings:
      Namespace Name Mixin selector
      official b Lbtn$a;b:I
      intermediary field_7218 Lnet/minecraft/class_1545$class_1546;field_7218:I
      named fireballsFired Lnet/minecraft/entity/mob/BlazeEntity$ShootFireballGoal;fireballsFired:I
    • fireballCooldown

      private int fireballCooldown
      Mappings:
      Namespace Name Mixin selector
      official c Lbtn$a;c:I
      intermediary field_7217 Lnet/minecraft/class_1545$class_1546;field_7217:I
      named fireballCooldown Lnet/minecraft/entity/mob/BlazeEntity$ShootFireballGoal;fireballCooldown:I
    • targetNotVisibleTicks

      private int targetNotVisibleTicks
      Mappings:
      Namespace Name Mixin selector
      official d Lbtn$a;d:I
      intermediary field_19420 Lnet/minecraft/class_1545$class_1546;field_19420:I
      named targetNotVisibleTicks Lnet/minecraft/entity/mob/BlazeEntity$ShootFireballGoal;targetNotVisibleTicks:I
  • Constructor Details

    • ShootFireballGoal

      public ShootFireballGoal(BlazeEntity blaze)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbtn$a;<init>(Lbtn;)V
      intermediary <init> Lnet/minecraft/class_1545$class_1546;<init>(Lnet/minecraft/class_1545;)V
      named <init> Lnet/minecraft/entity/mob/BlazeEntity$ShootFireballGoal;<init>(Lnet/minecraft/entity/mob/BlazeEntity;)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      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
    • start

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

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      official d Lbky;d()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()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_ Lbky;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 Lbky;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • getFollowRange

      private double getFollowRange()
      Mappings:
      Namespace Name Mixin selector
      official h Lbtn$a;h()D
      intermediary method_6995 Lnet/minecraft/class_1545$class_1546;method_6995()D
      named getFollowRange Lnet/minecraft/entity/mob/BlazeEntity$ShootFireballGoal;getFollowRange()D