net.minecraft.world.entity.ai.behavior

public class MoveToTargetSink

extends Behavior<Mob>

ark
net.minecraft.world.entity.ai.behavior.MoveToTargetSink
net.minecraft.class_4112
net.minecraft.entity.ai.brain.task.WanderAroundTask
net.minecraft.entity.ai.brain.task.WalkToTargetTask
net.minecraft.server.v1_16_R1.BehavorMove

Field summary

Modifier and TypeField
private Path
b
path
field_18369
path
field_220488_a
private BlockPos
c
lastTargetPos
field_18370
lookTargetPos
field_220489_b
private float
d
speedModifier
field_18371
speed
field_220490_c
private int
e
remainingDelay
field_18964
pathUpdateCountdownTicks
field_220491_d

Constructor summary

ModifierConstructor
public (int runTime)

Method summary

Modifier and TypeMethod
protected boolean
a(zd arg0, aoz arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_18978(class_3218 arg0, class_1308 arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
func_212832_a_(ServerWorld arg0, MobEntity arg1)
protected boolean
a(zd arg0, aoz 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)
func_212834_g_(ServerWorld arg0, MobEntity arg1, long arg2)
protected void
b(zd arg0, aoz 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)
func_212835_f_(ServerWorld arg0, MobEntity arg1, long arg2)
protected void
c(zd arg0, aoz 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)
func_212831_a_(ServerWorld arg0, MobEntity arg1, long arg2)
protected void
d(zd arg0, aoz 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)
func_212833_d_(ServerWorld arg0, MobEntity arg1, long arg2)
private boolean
a(aoz arg0, awr arg1, long arg2)
tryComputePath(Mob arg0, WalkTarget arg1, long arg2)
method_18977(class_1308 arg0, class_4142 arg1, long arg2)
hasFinishedPath(MobEntity arg0, WalkTarget arg1, long time)
func_220487_a(MobEntity arg0, WalkTarget arg1, long arg2)
private boolean
a(aoz arg0, awr arg1)
reachedTarget(Mob arg0, WalkTarget arg1)
method_18980(class_1308 arg0, class_4142 arg1)
hasReached(MobEntity entity, WalkTarget walkTarget)
func_220486_b(MobEntity arg0, WalkTarget arg1)