Class VillagerPanicTrigger
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.VillagerPanicTrigger
-
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_24684_, Villager p_24685_, long p_24686_)
static boolean
hasHostile(LivingEntity p_24688_)
static boolean
isHurt(LivingEntity p_24698_)
protected void
start(ServerLevel p_24694_, Villager p_24695_, long p_24696_)
protected void
tick(ServerLevel p_24700_, Villager p_24701_, long p_24702_)
Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
checkExtraStartConditions, doStop, getStatus, stop, tickOrStop, timedOut, toString, tryStart