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
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
start(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:
start
in classBehavior<LivingEntity>
-