Class BecomePassiveIfMemoryPresent
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.BecomePassiveIfMemoryPresent
-
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
entryCondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstart(ServerLevel p_22519_, LivingEntity p_22520_, long p_22521_)Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, checkExtraStartConditions, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
pacifyDuration
private final int pacifyDuration
-
-
Constructor Details
-
BecomePassiveIfMemoryPresent
-
-
Method Details
-
start
- Overrides:
startin classBehavior<LivingEntity>
-