Class GhastEntity.ShootFireballGoal

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

private static class GhastEntity.ShootFireballGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/mob/GhastEntity$ShootFireballGoal
intermediary net/minecraft/class_1571$class_1574
official cjx$c
  • Field Details

    • ghast

      private final GhastEntity ghast
      Mappings:
      Namespace Name Mixin selector
      named ghast Lnet/minecraft/entity/mob/GhastEntity$ShootFireballGoal;ghast:Lnet/minecraft/entity/mob/GhastEntity;
      intermediary field_7277 Lnet/minecraft/class_1571$class_1574;field_7277:Lnet/minecraft/class_1571;
      official b Lcjx$c;b:Lcjx;
    • cooldown

      public int cooldown
      Mappings:
      Namespace Name Mixin selector
      named cooldown Lnet/minecraft/entity/mob/GhastEntity$ShootFireballGoal;cooldown:I
      intermediary field_7278 Lnet/minecraft/class_1571$class_1574;field_7278:I
      official a Lcjx$c;a:I
  • Constructor Details

    • ShootFireballGoal

      public ShootFireballGoal(GhastEntity ghast)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/GhastEntity$ShootFireballGoal;<init>(Lnet/minecraft/entity/mob/GhastEntity;)V
      intermediary <init> Lnet/minecraft/class_1571$class_1574;<init>(Lnet/minecraft/class_1571;)V
      official <init> Lcjx$c;<init>(Lcjx;)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 Lcam;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 Lcam;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 Lcam;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_ Lcam;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 Lcam;a()V