Class SpellcasterIllager.SpellcasterUseSpellGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
Direct Known Subclasses:
Evoker.EvokerAttackSpellGoal, Evoker.EvokerSummonSpellGoal, Evoker.EvokerWololoSpellGoal, Illusioner.IllusionerBlindnessSpellGoal, Illusioner.IllusionerMirrorSpellGoal
Enclosing class:
SpellcasterIllager

protected abstract class SpellcasterIllager.SpellcasterUseSpellGoal extends Goal
  • Field Details Link icon

    • attackWarmupDelay Link icon

      protected int attackWarmupDelay
    • nextAttackTickCount Link icon

      protected int nextAttackTickCount
  • Constructor Details Link icon

    • SpellcasterUseSpellGoal Link icon

      protected SpellcasterUseSpellGoal()
  • Method Details Link icon

    • canUse Link icon

      public boolean canUse()
      Specified by:
      canUse in class Goal
    • canContinueToUse Link icon

      public boolean canContinueToUse()
      Overrides:
      canContinueToUse in class Goal
    • start Link icon

      public void start()
      Overrides:
      start in class Goal
    • tick Link icon

      public void tick()
      Overrides:
      tick in class Goal
    • performSpellCasting Link icon

      protected abstract void performSpellCasting()
    • getCastWarmupTime Link icon

      protected int getCastWarmupTime()
    • getCastingTime Link icon

      protected abstract int getCastingTime()
    • getCastingInterval Link icon

      protected abstract int getCastingInterval()
    • getSpellPrepareSound Link icon

      @Nullable protected abstract SoundEvent getSpellPrepareSound()
    • getSpell Link icon

      protected abstract SpellcasterIllager.IllagerSpell getSpell()