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 SummaryFieldsModifier and TypeFieldDescriptionprotected intprotected int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.GoaladjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, toString
- 
Field Details- 
attackWarmupDelayprotected int attackWarmupDelay
- 
nextAttackTickCountprotected int nextAttackTickCount
 
- 
- 
Constructor Details- 
SpellcasterUseSpellGoalprotected SpellcasterUseSpellGoal()
 
- 
- 
Method Details- 
canUsepublic boolean canUse()
- 
canContinueToUsepublic boolean canContinueToUse()- Overrides:
- canContinueToUsein class- Goal
 
- 
startpublic void start()
- 
tickpublic void tick()
- 
performSpellCastingprotected abstract void performSpellCasting()
- 
getCastWarmupTimeprotected int getCastWarmupTime()
- 
getCastingTimeprotected abstract int getCastingTime()
- 
getCastingIntervalprotected abstract int getCastingInterval()
- 
getSpellPrepareSound
- 
getSpell
 
-