类 SpellcasterIllager.SpellcasterUseSpellGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.SpellcasterIllager.SpellcasterUseSpellGoal
- 直接已知子类:
Evoker.EvokerAttackSpellGoal
,Evoker.EvokerSummonSpellGoal
,Evoker.EvokerWololoSpellGoal
,Illusioner.IllusionerBlindnessSpellGoal
,Illusioner.IllusionerMirrorSpellGoal
- 封闭类:
SpellcasterIllager
-
嵌套类概要
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
boolean
canUse()
protected abstract int
protected abstract int
protected int
protected abstract SpellcasterIllager.IllagerSpell
getSpell()
protected abstract SoundEvent
protected abstract void
void
start()
void
tick()
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, toString
-
字段详细资料
-
attackWarmupDelay
protected int attackWarmupDelay -
nextAttackTickCount
protected int nextAttackTickCount
-
-
构造器详细资料
-
SpellcasterUseSpellGoal
protected SpellcasterUseSpellGoal()
-
-
方法详细资料
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- 覆盖:
canContinueToUse
在类中Goal
-
start
public void start() -
tick
public void tick() -
performSpellCasting
protected abstract void performSpellCasting() -
getCastWarmupTime
protected int getCastWarmupTime() -
getCastingTime
protected abstract int getCastingTime() -
getCastingInterval
protected abstract int getCastingInterval() -
getSpellPrepareSound
-
getSpell
-