Class Evoker.EvokerAttackSpellGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
net.minecraft.world.entity.monster.Evoker.EvokerAttackSpellGoal
- Enclosing class:
- Evoker
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
attackWarmupDelay, nextAttackTickCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
createSpellEntity
(double p_32673_, double p_32674_, double p_32675_, double p_32676_, float p_32677_, int p_32678_) protected int
protected int
protected SpellcasterIllager.IllagerSpell
getSpell()
protected SoundEvent
protected void
Methods inherited from class net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
canContinueToUse, canUse, getCastWarmupTime, start, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, toString
-
Constructor Details
-
EvokerAttackSpellGoal
EvokerAttackSpellGoal()
-
-
Method Details
-
getCastingTime
protected int getCastingTime()- Specified by:
getCastingTime
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
getCastingInterval
protected int getCastingInterval()- Specified by:
getCastingInterval
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
performSpellCasting
protected void performSpellCasting()- Specified by:
performSpellCasting
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
createSpellEntity
private void createSpellEntity(double p_32673_, double p_32674_, double p_32675_, double p_32676_, float p_32677_, int p_32678_) -
getSpellPrepareSound
- Specified by:
getSpellPrepareSound
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
getSpell
- Specified by:
getSpell
in classSpellcasterIllager.SpellcasterUseSpellGoal
-