net.minecraft.world.entity.ai.behavior

public class MoveToTargetSink

extends Behavior<Mob>

All mapped superinterfaces:

BehaviorControl

bzj
net.minecraft.world.entity.ai.behavior.MoveToTargetSink
net.minecraft.class_4112
net.minecraft.entity.ai.brain.task.MoveToTargetTask
net.minecraft.world.entity.ai.behavior.BehavorMove

Field summary

Modifier and TypeField
private static final int
c
MAX_COOLDOWN_BEFORE_RETRYING
field_30150
MAX_UPDATE_COUNTDOWN
private int
d
remainingCooldown
field_18964
pathUpdateCountdownTicks
private Path
e
path
field_18369
path
private BlockPos
f
lastTargetPos
field_18370
lookTargetPos
private float
g
speedModifier
field_18371
speed

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(ash arg0, bwi arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_18978(class_3218 arg0, class_1308 arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
protected boolean
a(ash arg0, bwi 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)
protected void
b(ash arg0, bwi 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)
protected void
c(ash arg0, bwi 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)
protected void
d(ash arg0, bwi 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)
private boolean
a(bwi arg0, cfn 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)
private boolean
a(bwi arg0, cfn arg1)
reachedTarget(Mob arg0, WalkTarget arg1)
method_18980(class_1308 arg0, class_4142 arg1)
hasReached(MobEntity entity, WalkTarget walkTarget)
private static boolean
a(cfn arg0)
isWalkTargetSpectator(WalkTarget arg0)
method_49793(class_4142 arg0)
isTargetSpectator(WalkTarget target)