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$CastSpellGoalintermediary net/minecraft/class_1617$class_1620official ckn$c
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStart()protected abstract voidprotected intprotected abstract @Nullable SoundEventprotected abstract SpellcastingIllagerEntity.SpellgetSpell()protected abstract intbooleanvoidstart()protected abstract intvoidtick()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 spellCooldownLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;spellCooldown:Iintermediary field_7385Lnet/minecraft/class_1617$class_1620;field_7385:Iofficial bLckn$c;b:I
-
startTime
protected int startTime- Mappings:
Namespace Name Mixin selector named startTimeLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;startTime:Iintermediary field_7384Lnet/minecraft/class_1617$class_1620;field_7384:Iofficial cLckn$c;c:I
-
-
Constructor Details
-
CastSpellGoal
protected CastSpellGoal()
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal- Mappings:
Namespace Name Mixin selector named shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Zofficial cLcam;c()Z
-
start
public void start() -
tick
public void tick() -
castSpell
protected abstract void castSpell()- Mappings:
Namespace Name Mixin selector named castSpellLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;castSpell()Vintermediary method_7148Lnet/minecraft/class_1617$class_1620;method_7148()Vofficial kLckn$c;k()V
-
getInitialCooldown
protected int getInitialCooldown()- Mappings:
Namespace Name Mixin selector named getInitialCooldownLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getInitialCooldown()Iintermediary method_7146Lnet/minecraft/class_1617$class_1620;method_7146()Iofficial nLckn$c;n()I
-
getSpellTicks
protected abstract int getSpellTicks()- Mappings:
Namespace Name Mixin selector named getSpellTicksLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSpellTicks()Iintermediary method_7149Lnet/minecraft/class_1617$class_1620;method_7149()Iofficial hLckn$c;h()I
-
startTimeDelay
protected abstract int startTimeDelay()- Mappings:
Namespace Name Mixin selector named startTimeDelayLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;startTimeDelay()Iintermediary method_7151Lnet/minecraft/class_1617$class_1620;method_7151()Iofficial iLckn$c;i()I
-
getSoundPrepare
- Mappings:
Namespace Name Mixin selector named getSoundPrepareLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSoundPrepare()Lnet/minecraft/sound/SoundEvent;intermediary method_7150Lnet/minecraft/class_1617$class_1620;method_7150()Lnet/minecraft/class_3414;official lLckn$c;l()Lavo;
-
getSpell
- Mappings:
Namespace Name Mixin selector named getSpellLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSpell()Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;intermediary method_7147Lnet/minecraft/class_1617$class_1620;method_7147()Lnet/minecraft/class_1617$class_1618;official mLckn$c;m()Lckn$a;
-