net.minecraft.world.entity.ai.behavior

public class MoveToTargetSink

extends Behavior<Mob>

All mapped superinterfaces:

BehaviorControl

bmg
net.minecraft.world.entity.ai.behavior.MoveToTargetSink
net.minecraft.class_4112
net.minecraft.unmapped.C_xvveygvq
net.minecraft.entity.ai.brain.task.WanderAroundTask
net.minecraft.entity.ai.brain.task.WanderAroundTask
net.minecraft.src.C_607_
net.minecraft.world.entity.ai.behavior.BehavorMove

Field summary

Modifier and TypeField
private static final int
c
MAX_COOLDOWN_BEFORE_RETRYING
field_30150
f_typqznuu
MAX_UPDATE_COUNTDOWN
MAX_UPDATE_COUNTDOWN
f_147699_
private int
d
remainingCooldown
field_18964
f_umpwcdmp
pathUpdateCountdownTicks
pathUpdateCountdownTicks
f_23567_
private Path
e
path
field_18369
f_ryvwkpgt
path
path
f_23568_
private BlockPos
f
lastTargetPos
field_18370
f_iqunjvli
lookTargetPos
lookTargetPos
f_23569_
private float
g
speedModifier
field_18371
f_yizittpb
speed
speed
f_23570_

Constructor summary

ModifierConstructor
public ()
public (int minRunTime, int maxRunTime)

Method summary

Modifier and TypeMethod
protected boolean
a(akq arg0, bji arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_18978(class_3218 arg0, class_1308 arg1)
m_eyjphbrq(C_bdwnwhiu arg0, C_dxkfswlz arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
m_6114_(C_12_ p_23584_, C_526_ arg1)
protected boolean
a(akq arg0, bji arg1, long arg2)
canStillUse(ServerLevel arg0, Mob arg1, long arg2)
method_18979(class_3218 arg0, class_1308 arg1, long arg2)
m_wcmhhjyp(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
m_6737_(C_12_ p_23587_, C_526_ p_23588_, long arg2)
protected void
b(akq arg0, bji arg1, long arg2)
stop(ServerLevel arg0, Mob arg1, long arg2)
method_18981(class_3218 arg0, class_1308 arg1, long arg2)
m_kpcftxlu(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
finishRunning(ServerWorld arg0, MobEntity arg1, long arg2)
finishRunning(ServerWorld arg0, MobEntity arg1, long arg2)
m_6732_(C_12_ p_23602_, C_526_ p_23603_, long arg2)
protected void
c(akq arg0, bji arg1, long arg2)
start(ServerLevel arg0, Mob arg1, long arg2)
method_18982(class_3218 arg0, class_1308 arg1, long arg2)
m_qvlwndti(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
m_6735_(C_12_ p_23610_, C_526_ p_23611_, long arg2)
protected void
d(akq arg0, bji arg1, long arg2)
tick(ServerLevel arg0, Mob arg1, long arg2)
method_18983(class_3218 arg0, class_1308 arg1, long arg2)
m_bvqzdspp(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
keepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
keepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
m_6725_(C_12_ p_23618_, C_526_ p_23619_, long arg2)
private boolean
a(bji arg0, bsk arg1, long arg2)
tryComputePath(Mob arg0, WalkTarget arg1, long arg2)
method_18977(class_1308 arg0, class_4142 arg1, long arg2)
m_pzxtrncb(C_dxkfswlz arg0, C_ajnxjhqd arg1, long arg2)
hasFinishedPath(MobEntity entity, WalkTarget walkTarget, long time)
hasFinishedPath(MobEntity entity, WalkTarget arg1, long time)
m_23592_(C_526_ p_23594_, C_755_ p_23595_, long arg2)
private boolean
a(bji arg0, bsk arg1)
reachedTarget(Mob arg0, WalkTarget arg1)
method_18980(class_1308 arg0, class_4142 arg1)
m_mzbkbufr(C_dxkfswlz arg0, C_ajnxjhqd arg1)
hasReached(MobEntity entity, WalkTarget walkTarget)
hasReached(MobEntity entity, WalkTarget walkTarget)
m_23589_(C_526_ p_23591_, C_755_ arg1)
private static boolean
a(bsk arg0)
isWalkTargetSpectator(WalkTarget arg0)
method_49793(class_4142 arg0)
m_vcuwbvbe(C_ajnxjhqd arg0)
isTargetSpectator(WalkTarget target)
m_277150_(C_755_ p_277420_)