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 p_32673_, double p_32674_, double p_32675_, double p_32676_, float p_32677_, int p_32678_) 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 p_32673_, double p_32674_, double p_32675_, double p_32676_, float p_32677_, int p_32678_) -
getSpellPrepareSound
- Specified by:
getSpellPrepareSoundin classSpellcasterIllager.SpellcasterUseSpellGoal
-
getSpell
- Specified by:
getSpellin classSpellcasterIllager.SpellcasterUseSpellGoal
-