class IllusionerEntity.MirrorSpellGoal extends SpellcastingIllagerEntity.UseSpellGoal
spellCooldown, spellWarmup| Modifier | Constructor and Description |
|---|---|
private |
MirrorSpellGoal() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
castSpell() |
protected int |
getCastingInterval() |
protected int |
getCastingTime() |
protected SoundEvent |
getSpellPrepareSound() |
protected SpellcastingIllagerEntity.SpellType |
getSpellType() |
boolean |
shouldExecute() |
getCastWarmupTime, shouldContinueExecuting, startExecuting, tickgetMutexFlags, isPreemptible, resetTask, setMutexFlags, toStringpublic boolean shouldExecute()
shouldExecute in class SpellcastingIllagerEntity.UseSpellGoalprotected int getCastingTime()
getCastingTime in class SpellcastingIllagerEntity.UseSpellGoalprotected int getCastingInterval()
getCastingInterval in class SpellcastingIllagerEntity.UseSpellGoalprotected void castSpell()
castSpell in class SpellcastingIllagerEntity.UseSpellGoal@Nullable protected SoundEvent getSpellPrepareSound()
getSpellPrepareSound in class SpellcastingIllagerEntity.UseSpellGoalprotected SpellcastingIllagerEntity.SpellType getSpellType()
getSpellType in class SpellcastingIllagerEntity.UseSpellGoal