net.minecraft.world.entity.ai.behavior

public class AnimalPanic

extends Behavior<PathfinderMob>

avb
net.minecraft.world.entity.ai.behavior.AnimalPanic
net.minecraft.class_6028
net.minecraft.entity.ai.brain.task.WalkTask
net.minecraft.src.C_141078_
net.minecraft.world.entity.ai.behavior.AnimalPanic

Field summary

Modifier and TypeField
private static final int
a
PANIC_MIN_DURATION
field_30107
MIN_RUN_TIME
f_147379_
private static final int
c
PANIC_MAX_DURATION
field_30108
MAX_RUN_TIME
f_147380_
private static final int
d
PANIC_DISTANCE_HORIZANTAL
field_30109
HORIZONTAL_RANGE
f_147381_
private static final int
e
PANIC_DISTANCE_VERTICAL
field_30110
VERTICAL_RANGE
f_147382_
private final float
f
speedMultiplier
field_30111
speed
f_147383_

Constructor summary

ModifierConstructor
public (float speed)

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, auc arg1, long arg2)
canStillUse(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_35063(class_3218 arg0, class_1314 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6737_(C_12_ p_147392_, C_533_ p_147393_, long arg2)
protected void
b(abr arg0, auc arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_35064(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_147400_, C_533_ p_147401_, long arg2)
protected void
c(abr arg0, auc arg1, long arg2)
tick(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_35065(class_3218 arg0, class_1314 arg1, long arg2)
keepRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6725_(C_12_ p_147404_, C_533_ p_147405_, long arg2)