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 official bzs$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
-
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 official b
Lbzs$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
Lbzs$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
Lbqb;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 k
Lbzs$c;k()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 n
Lbzs$c;n()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 h
Lbzs$c;h()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 i
Lbzs$c;i()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 l
Lbzs$c;l()Lapc;
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 m
Lbzs$c;m()Lbzs$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;
-