Class VillagerCalmDown
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.VillagerCalmDown
-
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
DEFAULT_DURATION, entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
isCloseToEntityThatHurtMe
(Villager p_24578_) protected void
start
(ServerLevel p_24574_, Villager p_24575_, long p_24576_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, checkExtraStartConditions, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
SAFE_DISTANCE_FROM_DANGER
private static final int SAFE_DISTANCE_FROM_DANGER- See Also:
-
-
Constructor Details
-
VillagerCalmDown
public VillagerCalmDown()
-
-
Method Details