Class CountDownCooldownTicks
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.CountDownCooldownTicks
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canStillUse(ServerLevel p_147468_, LivingEntity p_147469_, long p_147470_)
getCooldownTickMemory(LivingEntity p_147466_)
protected void
stop(ServerLevel p_147472_, LivingEntity p_147473_, long p_147474_)
protected void
tick(ServerLevel p_147476_, LivingEntity p_147477_, long p_147478_)
protected boolean
timedOut(long p_147464_)
Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
checkExtraStartConditions, doStop, getStatus, start, tickOrStop, toString, tryStart
-
Field Details
-
cooldownTicks
-
-
Constructor Details
-
CountDownCooldownTicks
-
-
Method Details
-
getCooldownTickMemory
-
timedOut
protected boolean timedOut(long p_147464_)- Overrides:
timedOut
in classBehavior<LivingEntity>
-
canStillUse
- Overrides:
canStillUse
in classBehavior<LivingEntity>
-
tick
- Overrides:
tick
in classBehavior<LivingEntity>
-
stop
- Overrides:
stop
in classBehavior<LivingEntity>
-