class IllusionerEntity.GiveInvisibilityGoal extends SpellcastingIllagerEntity.CastSpellGoal
Goal.ControlspellCooldown, startTime| Modifier | Constructor and Description |
|---|---|
private |
GiveInvisibilityGoal() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
protected void |
castSpell() |
protected SoundEvent |
getSoundPrepare() |
protected SpellcastingIllagerEntity.Spell |
getSpell() |
protected int |
getSpellTicks() |
protected int |
startTimeDelay() |
getInitialCooldown, shouldContinue, start, tickcanStop, getControls, setControls, stop, toStringpublic boolean canStart()
canStart in class SpellcastingIllagerEntity.CastSpellGoalprotected int getSpellTicks()
getSpellTicks in class SpellcastingIllagerEntity.CastSpellGoalprotected int startTimeDelay()
startTimeDelay in class SpellcastingIllagerEntity.CastSpellGoalprotected void castSpell()
castSpell in class SpellcastingIllagerEntity.CastSpellGoal@Nullable protected SoundEvent getSoundPrepare()
getSoundPrepare in class SpellcastingIllagerEntity.CastSpellGoalprotected SpellcastingIllagerEntity.Spell getSpell()
getSpell in class SpellcastingIllagerEntity.CastSpellGoal