net.minecraft.world.entity.ai.behavior

public class MoveToTargetSink

extends Behavior<Mob>

amw
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_15_R1.BehavorMove

Field summary

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

Constructor summary

ModifierConstructor
public (int runTime)

Method summary

Modifier and TypeMethod
protected boolean
a(xd arg0, ala 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(xd arg0, ala 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(xd arg0, ala 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(xd arg0, ala 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(xd arg0, ala 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(ala arg0, arn 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)
func_220487_a(MobEntity arg0, WalkTarget arg1, long arg2)
private boolean
a(ala arg0, arn 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)