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
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
attackWarmupDelay, nextAttackTickCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse()
protected int
protected int
protected SpellcastingIllagerEntity.SpellType
getSpell()
protected SoundEvent
protected void
void
start()
Methods inherited from class net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
canContinueToUse, getCastWarmupTime, tick
-
Field Details
-
lastTargetId
private int lastTargetId
-
-
Constructor Details
-
BlindnessSpellGoal
private BlindnessSpellGoal()
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classSpellcastingIllagerEntity.UseSpellGoal
-
start
public void start()- Overrides:
start
in classSpellcastingIllagerEntity.UseSpellGoal
-
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
-
getSpellPrepareSound
- Specified by:
getSpellPrepareSound
in classSpellcastingIllagerEntity.UseSpellGoal
-
getSpell
- Specified by:
getSpell
in classSpellcastingIllagerEntity.UseSpellGoal
-