类 VillagerPanicTrigger
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.VillagerPanicTrigger
- 所有已实现的接口:
BehaviorControl<Villager>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
字段概要
从类继承的字段 net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected boolean
canStillUse
(ServerLevel pLevel, Villager pEntity, long pGameTime) static boolean
hasHostile
(LivingEntity pEntity) static boolean
isHurt
(LivingEntity pEntity) protected void
start
(ServerLevel pLevel, Villager pEntity, long pGameTime) protected void
tick
(ServerLevel pLevel, Villager pOwner, long pGameTime) 从类继承的方法 net.minecraft.world.entity.ai.behavior.Behavior
checkExtraStartConditions, debugString, doStop, getStatus, hasRequiredMemories, stop, tickOrStop, timedOut, tryStart