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