net.minecraft.world.entity.ai.behavior

public class LocateHidingPlace

extends Behavior<LivingEntity>

azr
net.minecraft.world.entity.ai.behavior.LocateHidingPlace
net.minecraft.class_4246
net.minecraft.unmapped.C_xggcofzf
net.minecraft.entity.ai.brain.task.HideInHomeTask
net.minecraft.src.C_600_
net.minecraft.world.entity.ai.behavior.BehaviorHome

Field summary

Modifier and TypeField
private final float
a
speedModifier
field_18993
f_yhjklgyw
walkSpeed
f_23403_
private final int
c
radius
field_18994
f_xdcjyvym
maxDistance
f_23404_
private final int
d
closeEnoughDist
field_18995
f_rlziczro
preferredDistance
f_23405_
private Optional<BlockPos>
e
currentPos
field_18998
f_nzmdttbg
homePosition
f_23406_

Constructor summary

ModifierConstructor
public (int maxDistance, float walkSpeed, int preferredDistance)

Method summary

Modifier and TypeMethod
protected boolean
a(adi arg0, axh arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
m_pwowjghk(C_bdwnwhiu arg0, C_usxaxydn arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_23413_, C_524_ arg1)
protected void
a(adi arg0, axh arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
m_thxoqxcz(C_bdwnwhiu arg0, C_usxaxydn arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6735_(C_12_ p_23416_, C_524_ p_23417_, long arg2)