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
class EvokerEntity.AttackSpellGoal extends SpellcastingIllagerEntity.UseSpellGoal
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
attackWarmupDelay, nextAttackTickCount
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAttackSpellGoal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcreateSpellEntity(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 intgetCastingInterval()protected intgetCastingTime()protected SpellcastingIllagerEntity.SpellTypegetSpell()protected SoundEventgetSpellPrepareSound()protected voidperformSpellCasting()-
Methods inherited from class net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
canContinueToUse, canUse, getCastWarmupTime, start, tick
-
-
-
-
Method Detail
-
getCastingTime
protected int getCastingTime()
- Specified by:
getCastingTimein classSpellcastingIllagerEntity.UseSpellGoal
-
getCastingInterval
protected int getCastingInterval()
- Specified by:
getCastingIntervalin classSpellcastingIllagerEntity.UseSpellGoal
-
performSpellCasting
protected void performSpellCasting()
- Specified by:
performSpellCastingin 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
protected SoundEvent getSpellPrepareSound()
- Specified by:
getSpellPrepareSoundin classSpellcastingIllagerEntity.UseSpellGoal
-
getSpell
protected SpellcastingIllagerEntity.SpellType getSpell()
- Specified by:
getSpellin classSpellcastingIllagerEntity.UseSpellGoal
-
-