Package net.minecraft.entity.mob
Class SpellcastingIllagerEntity.CastSpellGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
- Direct Known Subclasses:
EvokerEntity.ConjureFangsGoal
,EvokerEntity.SummonVexGoal
,EvokerEntity.WololoGoal
,IllusionerEntity.BlindTargetGoal
,IllusionerEntity.GiveInvisibilityGoal
- Enclosing class:
- SpellcastingIllagerEntity
public abstract class SpellcastingIllagerEntity.CastSpellGoal extends Goal
- Mappings:
Namespace Name official bfp$c
intermediary net/minecraft/class_1617$class_1620
named net/minecraft/entity/mob/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 protected int
spellCooldown
protected int
startTime
-
Constructor Summary
Constructors Modifier Constructor Description protected
CastSpellGoal()
-
Method Summary
Modifier and Type Method Description boolean
canStart()
protected abstract void
castSpell()
protected int
getInitialCooldown()
protected abstract SoundEvent
getSoundPrepare()
protected abstract SpellcastingIllagerEntity.Spell
getSpell()
protected abstract int
getSpellTicks()
boolean
shouldContinue()
void
start()
protected abstract int
startTimeDelay()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
Field Details
-
spellCooldown
protected int spellCooldown- Mappings:
Namespace Name Mixin selector official b
Lbfp$c;b:I
intermediary field_7385
Lnet/minecraft/class_1617$class_1620;field_7385:I
named spellCooldown
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;spellCooldown:I
-
startTime
protected int startTime- Mappings:
Namespace Name Mixin selector official c
Lbfp$c;c:I
intermediary field_7384
Lnet/minecraft/class_1617$class_1620;field_7384:I
named startTime
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;startTime:I
-
-
Constructor Details
-
CastSpellGoal
protected CastSpellGoal()
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start() -
tick
public void tick() -
castSpell
protected abstract void castSpell()- Mappings:
Namespace Name Mixin selector official j
Lbfp$c;j()V
intermediary method_7148
Lnet/minecraft/class_1617$class_1620;method_7148()V
named castSpell
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;castSpell()V
-
getInitialCooldown
protected int getInitialCooldown()- Mappings:
Namespace Name Mixin selector official m
Lbfp$c;m()I
intermediary method_7146
Lnet/minecraft/class_1617$class_1620;method_7146()I
named getInitialCooldown
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getInitialCooldown()I
-
getSpellTicks
protected abstract int getSpellTicks()- Mappings:
Namespace Name Mixin selector official g
Lbfp$c;g()I
intermediary method_7149
Lnet/minecraft/class_1617$class_1620;method_7149()I
named getSpellTicks
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSpellTicks()I
-
startTimeDelay
protected abstract int startTimeDelay()- Mappings:
Namespace Name Mixin selector official h
Lbfp$c;h()I
intermediary method_7151
Lnet/minecraft/class_1617$class_1620;method_7151()I
named startTimeDelay
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;startTimeDelay()I
-
getSoundPrepare
- Mappings:
Namespace Name Mixin selector official k
Lbfp$c;k()Laef;
intermediary method_7150
Lnet/minecraft/class_1617$class_1620;method_7150()Lnet/minecraft/class_3414;
named getSoundPrepare
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSoundPrepare()Lnet/minecraft/sound/SoundEvent;
-
getSpell
- Mappings:
Namespace Name Mixin selector official l
Lbfp$c;l()Lbfp$a;
intermediary method_7147
Lnet/minecraft/class_1617$class_1620;method_7147()Lnet/minecraft/class_1617$class_1618;
named getSpell
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSpell()Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
-