Package net.minecraft.entity.monster
Class IllusionerEntity.BlindnessSpellGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
-
- net.minecraft.entity.monster.IllusionerEntity.BlindnessSpellGoal
-
- Enclosing class:
- IllusionerEntity
class IllusionerEntity.BlindnessSpellGoal extends SpellcastingIllagerEntity.UseSpellGoal
-
-
Field Summary
Fields Modifier and Type Field Description private intlastTargetId-
Fields inherited from class net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
attackWarmupDelay, nextAttackTickCount
-
-
Constructor Summary
Constructors Modifier Constructor Description privateBlindnessSpellGoal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanUse()protected intgetCastingInterval()protected intgetCastingTime()protected SpellcastingIllagerEntity.SpellTypegetSpell()protected SoundEventgetSpellPrepareSound()protected voidperformSpellCasting()voidstart()-
Methods inherited from class net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
canContinueToUse, getCastWarmupTime, tick
-
-
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUsein classSpellcastingIllagerEntity.UseSpellGoal
-
start
public void start()
- Overrides:
startin classSpellcastingIllagerEntity.UseSpellGoal
-
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
-
getSpellPrepareSound
protected SoundEvent getSpellPrepareSound()
- Specified by:
getSpellPrepareSoundin classSpellcastingIllagerEntity.UseSpellGoal
-
getSpell
protected SpellcastingIllagerEntity.SpellType getSpell()
- Specified by:
getSpellin classSpellcastingIllagerEntity.UseSpellGoal
-
-