Class Illusioner.IllusionerBlindnessSpellGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.illager.SpellcasterIllager.SpellcasterUseSpellGoal
net.minecraft.world.entity.monster.illager.Illusioner.IllusionerBlindnessSpellGoal
- Enclosing class:
Illusioner
private class Illusioner.IllusionerBlindnessSpellGoal
extends SpellcasterIllager.SpellcasterUseSpellGoal
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class SpellcasterIllager.SpellcasterUseSpellGoal
attackWarmupDelay, nextAttackTickCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse()protected intprotected intprotected SpellcasterIllager.IllagerSpellgetSpell()protected SoundEventprotected voidvoidstart()Methods inherited from class SpellcasterIllager.SpellcasterUseSpellGoal
canContinueToUse, getCastWarmupTime, tickMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, toString
-
Field Details
-
lastTargetId
private int lastTargetId
-
-
Constructor Details
-
IllusionerBlindnessSpellGoal
private IllusionerBlindnessSpellGoal()
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUsein classSpellcasterIllager.SpellcasterUseSpellGoal
-
start
public void start()- Overrides:
startin classSpellcasterIllager.SpellcasterUseSpellGoal
-
getCastingTime
protected int getCastingTime()- Specified by:
getCastingTimein classSpellcasterIllager.SpellcasterUseSpellGoal
-
getCastingInterval
protected int getCastingInterval()- Specified by:
getCastingIntervalin classSpellcasterIllager.SpellcasterUseSpellGoal
-
performSpellCasting
protected void performSpellCasting()- Specified by:
performSpellCastingin classSpellcasterIllager.SpellcasterUseSpellGoal
-
getSpellPrepareSound
- Specified by:
getSpellPrepareSoundin classSpellcasterIllager.SpellcasterUseSpellGoal
-
getSpell
- Specified by:
getSpellin classSpellcasterIllager.SpellcasterUseSpellGoal
-