net.minecraft.world.entity.ai.behavior

public class LocateHidingPlace

extends Behavior<LivingEntity>

bep
net.minecraft.world.entity.ai.behavior.LocateHidingPlace
net.minecraft.class_4246
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
walkSpeed
f_23403_
private final int
d
radius
field_18994
maxDistance
f_23404_
private final int
e
closeEnoughDist
field_18995
preferredDistance
f_23405_
private Optional<BlockPos>
f
currentPos
field_18998
homePosition
f_23406_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(agg arg0, bcc arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_23413_, C_524_ arg1)
protected void
a(agg arg0, bcc 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_23416_, C_524_ p_23417_, long arg2)