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, tick
getMutexFlags, isPreemptible, resetTask, setMutexFlags, toString
public boolean shouldExecute()
shouldExecute
in class SpellcastingIllagerEntity.UseSpellGoal
public void startExecuting()
startExecuting
in class SpellcastingIllagerEntity.UseSpellGoal
protected int getCastingTime()
getCastingTime
in class SpellcastingIllagerEntity.UseSpellGoal
protected int getCastingInterval()
getCastingInterval
in class SpellcastingIllagerEntity.UseSpellGoal
protected void castSpell()
castSpell
in class SpellcastingIllagerEntity.UseSpellGoal
protected SoundEvent getSpellPrepareSound()
getSpellPrepareSound
in class SpellcastingIllagerEntity.UseSpellGoal
protected SpellcastingIllagerEntity.SpellType getSpellType()
getSpellType
in class SpellcastingIllagerEntity.UseSpellGoal