Class Evoker.EvokerAttackSpellGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.illager.SpellcasterIllager.SpellcasterUseSpellGoal
net.minecraft.world.entity.monster.illager.Evoker.EvokerAttackSpellGoal
- Enclosing class:
Evoker
-
Nested Class Summary
-
Field Summary
Fields inherited from class SpellcasterIllager.SpellcasterUseSpellGoal
attackWarmupDelay, nextAttackTickCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcreateSpellEntity(double x, double z, double minY, double maxY, float angle, int delayTicks) protected intprotected intprotected SpellcasterIllager.IllagerSpellgetSpell()protected SoundEventprotected voidMethods inherited from class SpellcasterIllager.SpellcasterUseSpellGoal
canContinueToUse, canUse, getCastWarmupTime, start, tickMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, toString
-
Constructor Details
-
EvokerAttackSpellGoal
private EvokerAttackSpellGoal()
-
-
Method Details
-
getCastingTime
protected int getCastingTime()- Specified by:
getCastingTimein classSpellcasterIllager.SpellcasterUseSpellGoal
-
getCastingInterval
protected int getCastingInterval()- Specified by:
getCastingIntervalin classSpellcasterIllager.SpellcasterUseSpellGoal
-
performSpellCasting
protected void performSpellCasting()- Specified by:
performSpellCastingin classSpellcasterIllager.SpellcasterUseSpellGoal
-
createSpellEntity
private void createSpellEntity(double x, double z, double minY, double maxY, float angle, int delayTicks) -
getSpellPrepareSound
- Specified by:
getSpellPrepareSoundin classSpellcasterIllager.SpellcasterUseSpellGoal
-
getSpell
- Specified by:
getSpellin classSpellcasterIllager.SpellcasterUseSpellGoal
-