Package net.minecraft.entity.monster
Class EvokerEntity.AttackSpellGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
net.minecraft.entity.monster.EvokerEntity.AttackSpellGoal
- Enclosing class:
- EvokerEntity
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
attackWarmupDelay, nextAttackTickCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
createSpellEntity
(double p_190876_1_, double p_190876_3_, double p_190876_5_, double p_190876_7_, float p_190876_9_, int p_190876_10_) protected int
protected int
protected SpellcastingIllagerEntity.SpellType
getSpell()
protected SoundEvent
protected void
Methods inherited from class net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
canContinueToUse, canUse, getCastWarmupTime, start, tick
-
Constructor Details
-
AttackSpellGoal
private AttackSpellGoal()
-
-
Method Details
-
getCastingTime
protected int getCastingTime()- Specified by:
getCastingTime
in classSpellcastingIllagerEntity.UseSpellGoal
-
getCastingInterval
protected int getCastingInterval()- Specified by:
getCastingInterval
in classSpellcastingIllagerEntity.UseSpellGoal
-
performSpellCasting
protected void performSpellCasting()- Specified by:
performSpellCasting
in classSpellcastingIllagerEntity.UseSpellGoal
-
createSpellEntity
private void createSpellEntity(double p_190876_1_, double p_190876_3_, double p_190876_5_, double p_190876_7_, float p_190876_9_, int p_190876_10_) -
getSpellPrepareSound
- Specified by:
getSpellPrepareSound
in classSpellcastingIllagerEntity.UseSpellGoal
-
getSpell
- Specified by:
getSpell
in classSpellcastingIllagerEntity.UseSpellGoal
-