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, updateTask
getMutexBits, isInterruptible, resetTask, setMutexBits
public boolean shouldExecute()
shouldExecute
in class EntitySpellcasterIllager.AIUseSpell
public void startExecuting()
startExecuting
in class EntitySpellcasterIllager.AIUseSpell
protected int getCastingTime()
getCastingTime
in class EntitySpellcasterIllager.AIUseSpell
protected int getCastingInterval()
getCastingInterval
in class EntitySpellcasterIllager.AIUseSpell
protected void castSpell()
castSpell
in class EntitySpellcasterIllager.AIUseSpell
protected SoundEvent getSpellPrepareSound()
getSpellPrepareSound
in class EntitySpellcasterIllager.AIUseSpell
protected EntitySpellcasterIllager.SpellType getSpellType()
getSpellType
in class EntitySpellcasterIllager.AIUseSpell