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
- Mappings:
Namespace Name named net/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal
intermediary net/minecraft/class_1617$class_1620
official cko$c
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canStart()
protected abstract void
protected int
protected abstract @Nullable SoundEvent
protected abstract SpellcastingIllagerEntity.Spell
getSpell()
protected abstract int
boolean
void
start()
protected abstract int
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, stop, toGoalTicks, toString
-
Field Details
-
spellCooldown
protected int spellCooldown- Mappings:
Namespace Name Mixin selector named spellCooldown
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;spellCooldown:I
intermediary field_7385
Lnet/minecraft/class_1617$class_1620;field_7385:I
official b
Lcko$c;b:I
-
startTime
protected int startTime- Mappings:
Namespace Name Mixin selector named startTime
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;startTime:I
intermediary field_7384
Lnet/minecraft/class_1617$class_1620;field_7384:I
official c
Lcko$c;c: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 named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
official b
Lcao;b()Z
-
start
public void start() -
tick
public void tick() -
castSpell
protected abstract void castSpell()- Mappings:
Namespace Name Mixin selector named castSpell
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;castSpell()V
intermediary method_7148
Lnet/minecraft/class_1617$class_1620;method_7148()V
official k
Lcko$c;k()V
-
getInitialCooldown
protected int getInitialCooldown()- Mappings:
Namespace Name Mixin selector named getInitialCooldown
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getInitialCooldown()I
intermediary method_7146
Lnet/minecraft/class_1617$class_1620;method_7146()I
official n
Lcko$c;n()I
-
getSpellTicks
protected abstract int getSpellTicks()- Mappings:
Namespace Name Mixin selector named getSpellTicks
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSpellTicks()I
intermediary method_7149
Lnet/minecraft/class_1617$class_1620;method_7149()I
official h
Lcko$c;h()I
-
startTimeDelay
protected abstract int startTimeDelay()- Mappings:
Namespace Name Mixin selector named startTimeDelay
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;startTimeDelay()I
intermediary method_7151
Lnet/minecraft/class_1617$class_1620;method_7151()I
official i
Lcko$c;i()I
-
getSoundPrepare
- Mappings:
Namespace Name Mixin selector named getSoundPrepare
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSoundPrepare()Lnet/minecraft/sound/SoundEvent;
intermediary method_7150
Lnet/minecraft/class_1617$class_1620;method_7150()Lnet/minecraft/class_3414;
official l
Lcko$c;l()Lavz;
-
getSpell
- Mappings:
Namespace Name Mixin selector named getSpell
Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSpell()Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
intermediary method_7147
Lnet/minecraft/class_1617$class_1620;method_7147()Lnet/minecraft/class_1617$class_1618;
official m
Lcko$c;m()Lcko$a;
-