Package net.minecraft.entity.mob
Class EvokerEntity.WololoGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
net.minecraft.entity.mob.EvokerEntity.WololoGoal
- Enclosing class:
- EvokerEntity
public class EvokerEntity.WololoGoal 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 TargetPredicate
convertibleSheepPredicate
Fields inherited from class net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
spellCooldown, startTime
-
Constructor Summary
Constructors Constructor Description WololoGoal()
-
Method Summary
Modifier and Type Method Description boolean
canStart()
protected void
castSpell()
protected int
getInitialCooldown()
protected SoundEvent
getSoundPrepare()
protected SpellcastingIllagerEntity.Spell
getSpell()
protected int
getSpellTicks()
boolean
shouldContinue()
protected int
startTimeDelay()
void
stop()
Methods inherited from class net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
start, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
convertibleSheepPredicate
-
-
Constructor Details
-
WololoGoal
public WololoGoal()
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classSpellcastingIllagerEntity.CastSpellGoal
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classSpellcastingIllagerEntity.CastSpellGoal
-
stop
public void stop() -
castSpell
protected void castSpell()- Specified by:
castSpell
in classSpellcastingIllagerEntity.CastSpellGoal
-
getInitialCooldown
protected int getInitialCooldown()- Overrides:
getInitialCooldown
in classSpellcastingIllagerEntity.CastSpellGoal
-
getSpellTicks
protected int getSpellTicks()- Specified by:
getSpellTicks
in classSpellcastingIllagerEntity.CastSpellGoal
-
startTimeDelay
protected int startTimeDelay()- Specified by:
startTimeDelay
in classSpellcastingIllagerEntity.CastSpellGoal
-
getSoundPrepare
- Specified by:
getSoundPrepare
in classSpellcastingIllagerEntity.CastSpellGoal
-
getSpell
- Specified by:
getSpell
in classSpellcastingIllagerEntity.CastSpellGoal
-