Package net.minecraft.entity.monster
Class SpellcastingIllagerEntity.UseSpellGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
-
- Direct Known Subclasses:
EvokerEntity.AttackSpellGoal,EvokerEntity.SummonSpellGoal,EvokerEntity.WololoSpellGoal,IllusionerEntity.BlindnessSpellGoal,IllusionerEntity.MirrorSpellGoal
- Enclosing class:
- SpellcastingIllagerEntity
public abstract class SpellcastingIllagerEntity.UseSpellGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description protected intattackWarmupDelayprotected intnextAttackTickCount
-
Constructor Summary
Constructors Modifier Constructor Description protectedUseSpellGoal()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()booleancanUse()protected abstract intgetCastingInterval()protected abstract intgetCastingTime()protected intgetCastWarmupTime()protected abstract SpellcastingIllagerEntity.SpellTypegetSpell()protected abstract SoundEventgetSpellPrepareSound()protected abstract voidperformSpellCasting()voidstart()voidtick()
-
-
-
Method Detail
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUsein classGoal
-
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()
-
getSpell
protected abstract SpellcastingIllagerEntity.SpellType getSpell()
-
-