net.minecraft.world.entity.ai.behavior

public class VillagerPanicTrigger

extends Behavior<Villager>

All mapped superinterfaces:

BehaviorControl

byp
net.minecraft.world.entity.ai.behavior.VillagerPanicTrigger
net.minecraft.class_4113
net.minecraft.entity.ai.brain.task.PanicTask
net.minecraft.src.C_652_
net.minecraft.world.entity.ai.behavior.BehaviorPanic

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(aqu arg0, cmk arg1, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_20646(class_3218 arg0, class_1646 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6737_(C_12_ p_24685_, C_1118_ p_24686_, long arg2)
protected void
b(aqu arg0, cmk arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_20647(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6735_(C_12_ p_24695_, C_1118_ p_24696_, long arg2)
protected void
c(aqu arg0, cmk arg1, long arg2)
tick(ServerLevel arg0, Villager arg1, long arg2)
method_20648(class_3218 arg0, class_1646 arg1, long arg2)
keepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6725_(C_12_ p_24701_, C_1118_ p_24702_, long arg2)
public static boolean
b(btn arg0)
hasHostile(LivingEntity arg0)
method_19574(class_1309 arg0)
isHostileNearby(LivingEntity entity)
m_24687_(C_524_ p_24688_)
public static boolean
c(btn arg0)
isHurt(LivingEntity arg0)
method_19575(class_1309 arg0)
wasHurt(LivingEntity entity)
m_24697_(C_524_ p_24698_)