net.minecraft.world.entity.ai.behavior

public class LocateHidingPlace

extends Behavior<LivingEntity>

awe
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
c
radius
field_18994
maxDistance
f_23404_
private final int
d
closeEnoughDist
field_18995
preferredDistance
f_23405_
private Optional<BlockPos>
e
currentPos
field_18998
homePosition
f_23406_

Constructor summary

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

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_23413_, 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_23416_, C_524_ p_23417_, long arg2)