类 CountDownCooldownTicks
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.CountDownCooldownTicks
- 所有已实现的接口:
BehaviorControl<LivingEntity>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected boolean
canStillUse
(ServerLevel pLevel, LivingEntity pEntity, long pGameTime) getCooldownTickMemory
(LivingEntity pEntity) protected void
stop
(ServerLevel pLevel, LivingEntity pEntity, long pGameTime) protected void
tick
(ServerLevel pLevel, LivingEntity pOwner, long pGameTime) protected boolean
timedOut
(long pGameTime) 从类继承的方法 net.minecraft.world.entity.ai.behavior.Behavior
checkExtraStartConditions, debugString, doStop, getStatus, hasRequiredMemories, start, tickOrStop, tryStart
-
字段详细资料
-
cooldownTicks
-
-
构造器详细资料
-
CountDownCooldownTicks
-
-
方法详细资料
-
getCooldownTickMemory
-
timedOut
protected boolean timedOut(long pGameTime) - 覆盖:
timedOut
在类中Behavior<LivingEntity>
-
canStillUse
- 覆盖:
canStillUse
在类中Behavior<LivingEntity>
-
tick
- 覆盖:
tick
在类中Behavior<LivingEntity>
-
stop
- 覆盖:
stop
在类中Behavior<LivingEntity>
-