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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
createSpellEntity
(double pX, double pZ, double pMinY, double pMaxY, float pYRot, int pWarmupDelay) 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 pX, double pZ, double pMinY, double pMaxY, float pYRot, int pWarmupDelay) -
getSpellPrepareSound
- Specified by:
getSpellPrepareSound
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
getSpell
- Specified by:
getSpell
in classSpellcasterIllager.SpellcasterUseSpellGoal
-