Class CountDownCooldownTicks
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.CountDownCooldownTicks
- All Implemented Interfaces:
 BehaviorControl<LivingEntity>
- 
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status - 
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanStillUse(ServerLevel p_147468_, LivingEntity p_147469_, long p_147470_) getCooldownTickMemory(LivingEntity p_147466_) protected voidstop(ServerLevel p_147472_, LivingEntity p_147473_, long p_147474_) protected voidtick(ServerLevel p_147476_, LivingEntity p_147477_, long p_147478_) protected booleantimedOut(long p_147464_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
checkExtraStartConditions, debugString, doStop, getStatus, hasRequiredMemories, start, tickOrStop, tryStart 
- 
Field Details
- 
cooldownTicks
 
 - 
 - 
Constructor Details
- 
CountDownCooldownTicks
 
 - 
 - 
Method Details
- 
getCooldownTickMemory
 - 
timedOut
protected boolean timedOut(long p_147464_) - Overrides:
 timedOutin classBehavior<LivingEntity>
 - 
canStillUse
- Overrides:
 canStillUsein classBehavior<LivingEntity>
 - 
tick
- Overrides:
 tickin classBehavior<LivingEntity>
 - 
stop
- Overrides:
 stopin classBehavior<LivingEntity>
 
 -