Class SpellcastingIllagerEntity.CastSpellGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
Direct Known Subclasses:
EvokerEntity.ConjureFangsGoal, EvokerEntity.SummonVexGoal, EvokerEntity.WololoGoal, IllusionerEntity.BlindTargetGoal, IllusionerEntity.GiveInvisibilityGoal
Enclosing class:
SpellcastingIllagerEntity

protected abstract class SpellcastingIllagerEntity.CastSpellGoal extends Goal
Mappings:
Namespace Name
official bun$c
intermediary net/minecraft/class_1617$class_1620
named net/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal
  • Field Details

    • spellCooldown

      protected int spellCooldown
      Mappings:
      Namespace Name Mixin selector
      official b Lbun$c;b:I
      intermediary field_7385 Lnet/minecraft/class_1617$class_1620;field_7385:I
      named spellCooldown Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;spellCooldown:I
    • startTime

      protected int startTime
      Mappings:
      Namespace Name Mixin selector
      official c Lbun$c;c:I
      intermediary field_7384 Lnet/minecraft/class_1617$class_1620;field_7384:I
      named startTime Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;startTime:I
  • Constructor Details

    • CastSpellGoal

      protected CastSpellGoal()
  • 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
    • shouldContinue

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

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official method_6269 Lbun$c;method_6269()V
      intermediary method_6269 Lnet/minecraft/class_1617$class_1620;method_6269()V
      named start Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;start()V
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official method_6268 Lbun$c;method_6268()V
      intermediary method_6268 Lnet/minecraft/class_1617$class_1620;method_6268()V
      named tick Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;tick()V
    • castSpell

      protected abstract void castSpell()
      Mappings:
      Namespace Name Mixin selector
      official k Lbun$c;k()V
      intermediary method_7148 Lnet/minecraft/class_1617$class_1620;method_7148()V
      named castSpell Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;castSpell()V
    • getInitialCooldown

      protected int getInitialCooldown()
      Mappings:
      Namespace Name Mixin selector
      official n Lbun$c;n()I
      intermediary method_7146 Lnet/minecraft/class_1617$class_1620;method_7146()I
      named getInitialCooldown Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getInitialCooldown()I
    • getSpellTicks

      protected abstract int getSpellTicks()
      Mappings:
      Namespace Name Mixin selector
      official h Lbun$c;h()I
      intermediary method_7149 Lnet/minecraft/class_1617$class_1620;method_7149()I
      named getSpellTicks Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSpellTicks()I
    • startTimeDelay

      protected abstract int startTimeDelay()
      Mappings:
      Namespace Name Mixin selector
      official i Lbun$c;i()I
      intermediary method_7151 Lnet/minecraft/class_1617$class_1620;method_7151()I
      named startTimeDelay Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;startTimeDelay()I
    • getSoundPrepare

      @Nullable protected abstract @Nullable SoundEvent getSoundPrepare()
      Mappings:
      Namespace Name Mixin selector
      official l Lbun$c;l()Laln;
      intermediary method_7150 Lnet/minecraft/class_1617$class_1620;method_7150()Lnet/minecraft/class_3414;
      named getSoundPrepare Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSoundPrepare()Lnet/minecraft/sound/SoundEvent;
    • getSpell

      protected abstract SpellcastingIllagerEntity.Spell getSpell()
      Mappings:
      Namespace Name Mixin selector
      official m Lbun$c;m()Lbun$a;
      intermediary method_7147 Lnet/minecraft/class_1617$class_1620;method_7147()Lnet/minecraft/class_1617$class_1618;
      named getSpell Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSpell()Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;