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, tick
getMutexFlags, isPreemptible, resetTask, setMutexFlags, toString
public boolean shouldExecute()
shouldExecute
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
@Nullable protected SoundEvent getSpellPrepareSound()
getSpellPrepareSound
in class SpellcastingIllagerEntity.UseSpellGoal
protected SpellcastingIllagerEntity.SpellType getSpellType()
getSpellType
in class SpellcastingIllagerEntity.UseSpellGoal