class IllusionerEntity.BlindTargetGoal extends SpellcastingIllagerEntity.CastSpellGoal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private int |
targetId |
spellCooldown, startTime
Modifier | Constructor and Description |
---|---|
private |
BlindTargetGoal() |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
protected void |
castSpell() |
protected SoundEvent |
getSoundPrepare() |
protected SpellcastingIllagerEntity.Spell |
getSpell() |
protected int |
getSpellTicks() |
void |
start() |
protected int |
startTimeDelay() |
getInitialCooldown, shouldContinue, tick
canStop, getControls, setControls, stop, toString
public boolean canStart()
canStart
in class SpellcastingIllagerEntity.CastSpellGoal
public void start()
start
in class SpellcastingIllagerEntity.CastSpellGoal
protected int getSpellTicks()
getSpellTicks
in class SpellcastingIllagerEntity.CastSpellGoal
protected int startTimeDelay()
startTimeDelay
in class SpellcastingIllagerEntity.CastSpellGoal
protected void castSpell()
castSpell
in class SpellcastingIllagerEntity.CastSpellGoal
protected SoundEvent getSoundPrepare()
getSoundPrepare
in class SpellcastingIllagerEntity.CastSpellGoal
protected SpellcastingIllagerEntity.Spell getSpell()
getSpell
in class SpellcastingIllagerEntity.CastSpellGoal