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 voidcreateSpellEntity(double x, double z, double minY, double maxY, float yRot, int warmupDelay) protected intprotected intprotected SpellcasterIllager.IllagerSpellgetSpell()protected SoundEventprotected voidMethods inherited from class net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
canContinueToUse, canUse, getCastWarmupTime, start, tickMethods 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:
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 yRot, int warmupDelay) -
getSpellPrepareSound
- Specified by:
getSpellPrepareSoundin classSpellcasterIllager.SpellcasterUseSpellGoal
-
getSpell
- Specified by:
getSpellin classSpellcasterIllager.SpellcasterUseSpellGoal
-