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
named net/minecraft/entity/mob/BlazeEntity$ShootFireballGoal
intermediary net/minecraft/class_1545$class_1546
official cmf$a
  • Field Details

    • blaze

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

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

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

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

    • ShootFireballGoal

      public ShootFireballGoal(BlazeEntity blaze)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/BlazeEntity$ShootFireballGoal;<init>(Lnet/minecraft/entity/mob/BlazeEntity;)V
      intermediary <init> Lnet/minecraft/class_1545$class_1546;<init>(Lnet/minecraft/class_1545;)V
      official <init> Lcmf$a;<init>(Lcmf;)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 b Lcdd;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 d Lcdd;d()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 e Lcdd;e()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 V_ Lcdd;V_()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 a Lcdd;a()V
    • getFollowRange

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