net.minecraft.world.entity.ai.behavior

public class SpearRetreat

extends Behavior<PathfinderMob>

All mapped superinterfaces:

BehaviorControl

cls
net.minecraft.world.entity.ai.behavior.SpearRetreat
net.minecraft.class_12361
net.minecraft.entity.ai.brain.task.SpearFleeTask
net.minecraft.src.C_432232_
net.minecraft.world.entity.ai.behavior.SpearRetreat

字段概要

修饰符与类型字段
public static final int
c
MIN_COOLDOWN_DISTANCE
field_64633
field_64633
f_437364_
public static final int
d
MAX_COOLDOWN_DISTANCE
field_64634
field_64634
f_436049_
public static final int
e
MAX_FLEEING_TIME
field_64635
RUN_TIME
f_435914_
double
f
speedModifierWhenRepositioning
field_64636
speed
f_436582_

构造函数概要

修饰符构造函数
public (double speedFactor)

方法概要

修饰符与类型方法
private LivingEntity
a(cht arg0)
getTarget(PathfinderMob arg0)
method_76716(class_1314 arg0)
getAttackTarget(PathAwareEntity entity)
m_444731_(C_533_ arg0)
private boolean
b(cht arg0)
ableToAttack(PathfinderMob arg0)
method_76719(class_1314 arg0)
shouldAttack(PathAwareEntity entity)
m_439317_(C_533_ arg0)
protected boolean
a(axf arg0, cht arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_76714(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
m_6114_(C_12_ p_456725_, C_533_ arg1)
protected void
a(axf arg0, cht arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_76715(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6735_(C_12_ p_456368_, C_533_ p_452415_, long arg2)
protected boolean
b(axf arg0, cht arg1, long arg2)
canStillUse(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_76718(class_3218 arg0, class_1314 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6737_(C_12_ p_451628_, C_533_ p_460888_, long arg2)
protected void
c(axf arg0, cht arg1, long arg2)
tick(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_76720(class_3218 arg0, class_1314 arg1, long arg2)
keepRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6725_(C_12_ p_450496_, C_533_ p_453244_, long arg2)
protected void
d(axf arg0, cht arg1, long arg2)
stop(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_76721(class_3218 arg0, class_1314 arg1, long arg2)
finishRunning(ServerWorld arg0, PathAwareEntity arg1, long arg2)
m_6732_(C_12_ p_454564_, C_533_ p_460007_, long arg2)