Class Illusioner.IllusionerBlindnessSpellGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
net.minecraft.world.entity.monster.Illusioner.IllusionerBlindnessSpellGoal
- Enclosing class:
- Illusioner
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
attackWarmupDelay, nextAttackTickCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse()
protected int
protected int
protected SpellcasterIllager.IllagerSpell
getSpell()
protected SoundEvent
protected void
void
start()
Methods inherited from class net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
canContinueToUse, getCastWarmupTime, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, toString
-
Field Details
-
lastTargetId
private int lastTargetId
-
-
Constructor Details
-
IllusionerBlindnessSpellGoal
IllusionerBlindnessSpellGoal()
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
start
public void start()- Overrides:
start
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
getCastingTime
protected int getCastingTime()- Specified by:
getCastingTime
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
getCastingInterval
protected int getCastingInterval()- Specified by:
getCastingInterval
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
performSpellCasting
protected void performSpellCasting()- Specified by:
performSpellCasting
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
getSpellPrepareSound
- Specified by:
getSpellPrepareSound
in classSpellcasterIllager.SpellcasterUseSpellGoal
-
getSpell
- Specified by:
getSpell
in classSpellcasterIllager.SpellcasterUseSpellGoal
-