public class EntityEvoker.AIWololoSpell extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
protected int |
nextCastTime
When the evoker is this many ticks old cast the next spell
|
protected int |
spellWarmup |
Constructor and Description |
---|
AIWololoSpell() |
Modifier and Type | Method and Description |
---|---|
protected void |
castSpell() |
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing
|
protected int |
getCastingInterval() |
protected int |
getCastingTime() |
protected int |
getCastWarmupTime() |
protected int |
getSpellId() |
protected SoundEvent |
getSpellPrepareSound() |
void |
resetTask()
Resets the task
|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
void |
updateTask()
Updates the task
|
getMutexBits, isInterruptible, setMutexBits
protected int spellWarmup
protected int nextCastTime
public boolean shouldExecute()
public boolean continueExecuting()
public void resetTask()
resetTask
in class EntityAIBase
protected void castSpell()
protected int getCastWarmupTime()
protected int getCastingTime()
protected int getCastingInterval()
protected SoundEvent getSpellPrepareSound()
protected int getSpellId()
public void startExecuting()
startExecuting
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase