net.minecraft.world.entity.ai.behavior

public class MoveToTargetSink

extends Behavior<Mob>

bec
net.minecraft.world.entity.ai.behavior.MoveToTargetSink
net.minecraft.class_4112
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
a
MAX_COOLDOWN_BEFORE_RETRYING
field_30150
MAX_UPDATE_COUNTDOWN
f_147699_
private int
d
remainingCooldown
field_18964
pathUpdateCountdownTicks
f_23567_
private Path
e
path
field_18369
path
f_23568_
private BlockPos
f
lastTargetPos
field_18370
lookTargetPos
f_23569_
private float
g
speedModifier
field_18371
speed
f_23570_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, bbh arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_18978(class_3218 arg0, class_1308 arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
m_6114_(C_12_ p_23584_, C_526_ arg1)
protected boolean
a(afo arg0, bbh arg1, long arg2)
canStillUse(ServerLevel arg0, Mob arg1, long arg2)
method_18979(class_3218 arg0, class_1308 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(afo arg0, bbh arg1, long arg2)
stop(ServerLevel arg0, Mob arg1, long arg2)
method_18981(class_3218 arg0, class_1308 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(afo arg0, bbh arg1, long arg2)
start(ServerLevel arg0, Mob arg1, long arg2)
method_18982(class_3218 arg0, class_1308 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(afo arg0, bbh arg1, long arg2)
tick(ServerLevel arg0, Mob arg1, long arg2)
method_18983(class_3218 arg0, class_1308 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(bbh arg0, bka arg1, long arg2)
tryComputePath(Mob arg0, WalkTarget arg1, long arg2)
method_18977(class_1308 arg0, class_4142 arg1, long arg2)
hasFinishedPath(MobEntity entity, WalkTarget walkTarget, long time)
m_23592_(C_526_ p_23594_, C_755_ p_23595_, long arg2)
private boolean
a(bbh arg0, bka arg1)
reachedTarget(Mob arg0, WalkTarget arg1)
method_18980(class_1308 arg0, class_4142 arg1)
hasReached(MobEntity entity, WalkTarget walkTarget)
m_23589_(C_526_ p_23591_, C_755_ arg1)