class EntityIllusionIllager.AIBlindnessSpell extends EntitySpellcasterIllager.AIUseSpell
| Modifier and Type | Field and Description |
|---|---|
private int |
lastTargetId |
spellCooldown, spellWarmup| Modifier | Constructor and Description |
|---|---|
private |
AIBlindnessSpell() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
castSpell() |
protected int |
getCastingInterval() |
protected int |
getCastingTime() |
protected SoundEvent |
getSpellPrepareSound() |
protected EntitySpellcasterIllager.SpellType |
getSpellType() |
boolean |
shouldExecute() |
void |
startExecuting() |
getCastWarmupTime, shouldContinueExecuting, updateTaskgetMutexBits, isInterruptible, resetTask, setMutexBitspublic boolean shouldExecute()
shouldExecute in class EntitySpellcasterIllager.AIUseSpellpublic void startExecuting()
startExecuting in class EntitySpellcasterIllager.AIUseSpellprotected int getCastingTime()
getCastingTime in class EntitySpellcasterIllager.AIUseSpellprotected int getCastingInterval()
getCastingInterval in class EntitySpellcasterIllager.AIUseSpellprotected void castSpell()
castSpell in class EntitySpellcasterIllager.AIUseSpellprotected SoundEvent getSpellPrepareSound()
getSpellPrepareSound in class EntitySpellcasterIllager.AIUseSpellprotected EntitySpellcasterIllager.SpellType getSpellType()
getSpellType in class EntitySpellcasterIllager.AIUseSpell