Package net.minecraft.entity.mob
Class EvokerEntity.SummonVexGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
net.minecraft.entity.mob.EvokerEntity.SummonVexGoal
- Enclosing class:
- EvokerEntity
class EvokerEntity.SummonVexGoal extends SpellcastingIllagerEntity.CastSpellGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields Modifier and Type Field Description private TargetPredicatecloseVexPredicateFields inherited from class net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
spellCooldown, startTime -
Constructor Summary
Constructors Modifier Constructor Description privateSummonVexGoal() -
Method Summary
Modifier and Type Method Description booleancanStart()protected voidcastSpell()protected SoundEventgetSoundPrepare()protected SpellcastingIllagerEntity.SpellgetSpell()protected intgetSpellTicks()protected intstartTimeDelay()Methods inherited from class net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
getInitialCooldown, shouldContinue, start, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
Field Details
-
closeVexPredicate
-
-
Constructor Details
-
SummonVexGoal
private SummonVexGoal()
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classSpellcastingIllagerEntity.CastSpellGoal
-
getSpellTicks
protected int getSpellTicks()- Specified by:
getSpellTicksin classSpellcastingIllagerEntity.CastSpellGoal
-
startTimeDelay
protected int startTimeDelay()- Specified by:
startTimeDelayin classSpellcastingIllagerEntity.CastSpellGoal
-
castSpell
protected void castSpell()- Specified by:
castSpellin classSpellcastingIllagerEntity.CastSpellGoal
-
getSoundPrepare
- Specified by:
getSoundPreparein classSpellcastingIllagerEntity.CastSpellGoal
-
getSpell
- Specified by:
getSpellin classSpellcastingIllagerEntity.CastSpellGoal
-