Class SpellcastingIllagerEntity.UseSpellGoal

    • Field Detail

      • attackWarmupDelay

        protected int attackWarmupDelay
      • nextAttackTickCount

        protected int nextAttackTickCount
    • Constructor Detail

      • UseSpellGoal

        protected UseSpellGoal()
    • Method Detail

      • canUse

        public boolean canUse()
        Specified by:
        canUse in class Goal
      • start

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

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

        protected abstract void performSpellCasting()
      • getCastWarmupTime

        protected int getCastWarmupTime()
      • getCastingTime

        protected abstract int getCastingTime()
      • getCastingInterval

        protected abstract int getCastingInterval()
      • getSpellPrepareSound

        @Nullable
        protected abstract SoundEvent getSpellPrepareSound()