net.minecraft.world.entity.ai.behavior

public class SetClosestHomeAsWalkTarget

extends Behavior<LivingEntity>

axc
net.minecraft.world.entity.ai.behavior.SetClosestHomeAsWalkTarget
net.minecraft.class_4290
net.minecraft.entity.ai.brain.task.WalkHomeTask
net.minecraft.src.C_621_
net.minecraft.world.entity.ai.behavior.BehaviorWalkHome

Field summary

Modifier and TypeField
private static final int
a
CACHE_TIMEOUT
field_30161
POI_EXPIRY
f_147880_
private static final int
c
BATCH_SIZE
field_30162
MAX_TRIES
f_147881_
private static final int
d
RATE
field_30163
RUN_TIME
f_147882_
private static final int
e
OK_DISTANCE_SQR
field_30164
MAX_DISTANCE
f_147883_
private final float
f
speedModifier
field_20290
speed
f_23872_
private final it.unimi.dsi.fastutil.longs.Long2LongMap
g
batchCache
field_20291
positionToExpiry
f_23873_
private int
h
triedCount
field_20292
tries
f_23874_
private long
i
lastUpdate
field_19260
expiryTimeLimit
f_23875_

Constructor summary

ModifierConstructor
public (float speed)

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, att arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_23880_, C_524_ arg1)
protected void
a(abr arg0, att arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6735_(C_12_ p_23883_, C_524_ p_23884_, long arg2)