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
FieldsFields inherited from class net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
attackWarmupDelay, nextAttackTickCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse()protected intprotected intprotected SpellcasterIllager.IllagerSpellgetSpell()protected SoundEventprotected voidvoidstart()Methods inherited from class net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
canContinueToUse, getCastWarmupTime, tickMethods 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:
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
-