public abstract class SpellcastingIllagerEntity.UseSpellGoal extends Goal
| 修飾子とタイプ | フィールドと説明 | 
|---|---|
| protected int | spellCooldown | 
| protected int | spellWarmup | 
| コンストラクタと説明 | 
|---|
| UseSpellGoal() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| protected abstract void | castSpell() | 
| protected abstract int | getCastingInterval() | 
| protected abstract int | getCastingTime() | 
| protected int | getCastWarmupTime() | 
| protected abstract SoundEvent | getSpellPrepareSound() | 
| protected abstract SpellcastingIllagerEntity.SpellType | getSpellType() | 
| boolean | shouldContinueExecuting()Returns whether an in-progress EntityAIBase should continue executing | 
| boolean | shouldExecute()Returns whether execution should begin. | 
| void | startExecuting()Execute a one shot task or start executing a continuous task | 
| void | tick()Keep ticking a continuous task that has already been started | 
getMutexFlags, isPreemptible, resetTask, setMutexFlags, toStringpublic boolean shouldExecute()
shouldExecute クラス内 Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting クラス内 Goalpublic void startExecuting()
startExecuting クラス内 Goalpublic void tick()
protected abstract void castSpell()
protected int getCastWarmupTime()
protected abstract int getCastingTime()
protected abstract int getCastingInterval()
@Nullable protected abstract SoundEvent getSpellPrepareSound()
protected abstract SpellcastingIllagerEntity.SpellType getSpellType()