Package net.minecraft.entity.mob
Class EvokerEntity.ConjureFangsGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
net.minecraft.entity.mob.EvokerEntity.ConjureFangsGoal
- Enclosing class:
- EvokerEntity
class EvokerEntity.ConjureFangsGoal extends SpellcastingIllagerEntity.CastSpellGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
spellCooldown, startTime
-
Constructor Summary
Constructors Modifier Constructor Description private
ConjureFangsGoal()
-
Method Summary
Modifier and Type Method Description protected void
castSpell()
private void
conjureFangs(double x, double z, double maxY, double y, float yaw, int warmup)
protected SoundEvent
getSoundPrepare()
protected SpellcastingIllagerEntity.Spell
getSpell()
protected int
getSpellTicks()
protected int
startTimeDelay()
Methods inherited from class net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
canStart, getInitialCooldown, shouldContinue, start, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
Constructor Details
-
ConjureFangsGoal
private ConjureFangsGoal()
-
-
Method Details
-
getSpellTicks
protected int getSpellTicks()- Specified by:
getSpellTicks
in classSpellcastingIllagerEntity.CastSpellGoal
-
startTimeDelay
protected int startTimeDelay()- Specified by:
startTimeDelay
in classSpellcastingIllagerEntity.CastSpellGoal
-
castSpell
protected void castSpell()- Specified by:
castSpell
in classSpellcastingIllagerEntity.CastSpellGoal
-
conjureFangs
private void conjureFangs(double x, double z, double maxY, double y, float yaw, int warmup) -
getSoundPrepare
- Specified by:
getSoundPrepare
in classSpellcastingIllagerEntity.CastSpellGoal
-
getSpell
- Specified by:
getSpell
in classSpellcastingIllagerEntity.CastSpellGoal
-