Package net.minecraft.entity.monster
Class EvokerEntity.WololoSpellGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
-
- net.minecraft.entity.monster.EvokerEntity.WololoSpellGoal
-
- Enclosing class:
- EvokerEntity
public class EvokerEntity.WololoSpellGoal extends SpellcastingIllagerEntity.UseSpellGoal
-
-
Field Summary
Fields Modifier and Type Field Description private EntityPredicate
wololoTargeting
-
Fields inherited from class net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
attackWarmupDelay, nextAttackTickCount
-
-
Constructor Summary
Constructors Constructor Description WololoSpellGoal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
protected int
getCastingInterval()
protected int
getCastingTime()
protected int
getCastWarmupTime()
protected SpellcastingIllagerEntity.SpellType
getSpell()
protected SoundEvent
getSpellPrepareSound()
protected void
performSpellCasting()
void
stop()
-
Methods inherited from class net.minecraft.entity.monster.SpellcastingIllagerEntity.UseSpellGoal
start, tick
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
wololoTargeting
private final EntityPredicate wololoTargeting
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classSpellcastingIllagerEntity.UseSpellGoal
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classSpellcastingIllagerEntity.UseSpellGoal
-
performSpellCasting
protected void performSpellCasting()
- Specified by:
performSpellCasting
in classSpellcastingIllagerEntity.UseSpellGoal
-
getCastWarmupTime
protected int getCastWarmupTime()
- Overrides:
getCastWarmupTime
in classSpellcastingIllagerEntity.UseSpellGoal
-
getCastingTime
protected int getCastingTime()
- Specified by:
getCastingTime
in classSpellcastingIllagerEntity.UseSpellGoal
-
getCastingInterval
protected int getCastingInterval()
- Specified by:
getCastingInterval
in classSpellcastingIllagerEntity.UseSpellGoal
-
getSpellPrepareSound
protected SoundEvent getSpellPrepareSound()
- Specified by:
getSpellPrepareSound
in classSpellcastingIllagerEntity.UseSpellGoal
-
getSpell
protected SpellcastingIllagerEntity.SpellType getSpell()
- Specified by:
getSpell
in classSpellcastingIllagerEntity.UseSpellGoal
-
-