Class SpellcasterIllager.SpellcasterUseSpellGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
- Direct Known Subclasses:
 Evoker.EvokerAttackSpellGoal,Evoker.EvokerSummonSpellGoal,Evoker.EvokerWololoSpellGoal,Illusioner.IllusionerBlindnessSpellGoal,Illusioner.IllusionerMirrorSpellGoal
- Enclosing class:
 - SpellcasterIllager
 
- 
Nested Class Summary
 - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected int - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanUse()protected abstract intprotected abstract intprotected intprotected abstract SpellcasterIllager.IllagerSpellgetSpell()protected abstract SoundEventprotected abstract voidvoidstart()voidtick()Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, toString 
- 
Field Details
- 
attackWarmupDelay
protected int attackWarmupDelay - 
nextAttackTickCount
protected int nextAttackTickCount 
 - 
 - 
Constructor Details
- 
SpellcasterUseSpellGoal
protected SpellcasterUseSpellGoal() 
 - 
 - 
Method Details
- 
canUse
public boolean canUse() - 
canContinueToUse
public boolean canContinueToUse()- Overrides:
 canContinueToUsein classGoal
 - 
start
public void start() - 
tick
public void tick() - 
performSpellCasting
protected abstract void performSpellCasting() - 
getCastWarmupTime
protected int getCastWarmupTime() - 
getCastingTime
protected abstract int getCastingTime() - 
getCastingInterval
protected abstract int getCastingInterval() - 
getSpellPrepareSound
 - 
getSpell
 
 -