类 SpellcastingIllagerEntity.CastSpellGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.mob.SpellcastingIllagerEntity.CastSpellGoal
-
- 直接已知子类:
EvokerEntity.ConjureFangsGoal,EvokerEntity.SummonVexGoal,EvokerEntity.WololoGoal,IllusionerEntity.BlindTargetGoal,IllusionerEntity.GiveInvisibilityGoal
public abstract class SpellcastingIllagerEntity.CastSpellGoal extends Goal
- Mappings:
Namespace Name official bhj$cintermediary net/minecraft/class_1617$class_1620named net/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 protected intspellCooldownprotected intstartTime
-
构造器概要
构造器 限定符 构造器 说明 protectedCastSpellGoal()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 booleancanStart()protected abstract voidcastSpell()protected intgetInitialCooldown()protected abstract @Nullable SoundEventgetSoundPrepare()protected abstract SpellcastingIllagerEntity.SpellgetSpell()protected abstract intgetSpellTicks()booleanshouldContinue()voidstart()protected abstract intstartTimeDelay()voidtick()-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
-
-
-
字段详细资料
-
spellCooldown
protected int spellCooldown
- Mappings:
Namespace Name Mixin selector official bLbhj$c;b:Iintermediary field_7385Lnet/minecraft/class_1617$class_1620;field_7385:Inamed spellCooldownLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;spellCooldown:I
-
startTime
protected int startTime
- Mappings:
Namespace Name Mixin selector official cLbhj$c;c:Iintermediary field_7384Lnet/minecraft/class_1617$class_1620;field_7384:Inamed startTimeLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;startTime:I
-
-
方法详细资料
-
canStart
public boolean canStart()
-
shouldContinue
public boolean shouldContinue()
- 覆盖:
shouldContinue在类中Goal- Mappings:
Namespace Name Mixin selector official bLayq;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/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 jLbhj$c;j()Vintermediary method_7148Lnet/minecraft/class_1617$class_1620;method_7148()Vnamed castSpellLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;castSpell()V
-
getInitialCooldown
protected int getInitialCooldown()
- Mappings:
Namespace Name Mixin selector official mLbhj$c;m()Iintermediary method_7146Lnet/minecraft/class_1617$class_1620;method_7146()Inamed getInitialCooldownLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getInitialCooldown()I
-
getSpellTicks
protected abstract int getSpellTicks()
- Mappings:
Namespace Name Mixin selector official gLbhj$c;g()Iintermediary method_7149Lnet/minecraft/class_1617$class_1620;method_7149()Inamed getSpellTicksLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSpellTicks()I
-
startTimeDelay
protected abstract int startTimeDelay()
- Mappings:
Namespace Name Mixin selector official hLbhj$c;h()Iintermediary method_7151Lnet/minecraft/class_1617$class_1620;method_7151()Inamed startTimeDelayLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;startTimeDelay()I
-
getSoundPrepare
@Nullable protected abstract @Nullable SoundEvent getSoundPrepare()
- Mappings:
Namespace Name Mixin selector official kLbhj$c;k()Laev;intermediary method_7150Lnet/minecraft/class_1617$class_1620;method_7150()Lnet/minecraft/class_3414;named getSoundPrepareLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSoundPrepare()Lnet/minecraft/sound/SoundEvent;
-
getSpell
protected abstract SpellcastingIllagerEntity.Spell getSpell()
- Mappings:
Namespace Name Mixin selector official lLbhj$c;l()Lbhj$a;intermediary method_7147Lnet/minecraft/class_1617$class_1620;method_7147()Lnet/minecraft/class_1617$class_1618;named getSpellLnet/minecraft/entity/mob/SpellcastingIllagerEntity$CastSpellGoal;getSpell()Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
-
-