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(IllusionerEntity illusionerEntity) |
| 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, tickcanStop, getControls, setControls, stop, toStringprivate BlindTargetGoal(IllusionerEntity illusionerEntity)
public boolean canStart()
canStart in class SpellcastingIllagerEntity.CastSpellGoalpublic void start()
start in class SpellcastingIllagerEntity.CastSpellGoalprotected int getSpellTicks()
getSpellTicks in class SpellcastingIllagerEntity.CastSpellGoalprotected int startTimeDelay()
startTimeDelay in class SpellcastingIllagerEntity.CastSpellGoalprotected void castSpell()
castSpell in class SpellcastingIllagerEntity.CastSpellGoalprotected SoundEvent getSoundPrepare()
getSoundPrepare in class SpellcastingIllagerEntity.CastSpellGoalprotected SpellcastingIllagerEntity.Spell getSpell()
getSpell in class SpellcastingIllagerEntity.CastSpellGoal