public class EvokerEntity.WololoGoal extends SpellcastingIllagerEntity.CastSpellGoal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private TargetPredicate |
convertibleSheepPredicate |
spellCooldown, startTime| Constructor and Description |
|---|
WololoGoal() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
protected void |
castSpell() |
protected int |
getInitialCooldown() |
protected SoundEvent |
getSoundPrepare() |
protected SpellcastingIllagerEntity.Spell |
getSpell() |
protected int |
getSpellTicks() |
boolean |
shouldContinue() |
protected int |
startTimeDelay() |
void |
stop() |
start, tickcanStop, getControls, setControls, toStringprivate final TargetPredicate convertibleSheepPredicate
public boolean canStart()
canStart in class SpellcastingIllagerEntity.CastSpellGoalpublic boolean shouldContinue()
shouldContinue in class SpellcastingIllagerEntity.CastSpellGoalprotected void castSpell()
castSpell in class SpellcastingIllagerEntity.CastSpellGoalprotected int getInitialCooldown()
getInitialCooldown in class SpellcastingIllagerEntity.CastSpellGoalprotected int getSpellTicks()
getSpellTicks in class SpellcastingIllagerEntity.CastSpellGoalprotected int startTimeDelay()
startTimeDelay in class SpellcastingIllagerEntity.CastSpellGoalprotected SoundEvent getSoundPrepare()
getSoundPrepare in class SpellcastingIllagerEntity.CastSpellGoalprotected SpellcastingIllagerEntity.Spell getSpell()
getSpell in class SpellcastingIllagerEntity.CastSpellGoal