net.minecraft.entity.ai.brain.task

public class HideInHomeTask

extends Task<LivingEntity>

asr
net.minecraft.world.entity.ai.behavior.LocateHidingPlace
net.minecraft.class_4246
net.minecraft.entity.ai.brain.task.HideInHomeTask
net.minecraft.unmapped.C_xggcofzf
net.minecraft.entity.ai.brain.task.FindHidingPlaceTask
net.minecraft.entity.ai.brain.task.FindHidingPlaceTask

Field summary

Modifier and TypeField
private final float
b
speedModifier
field_18993
walkSpeed
f_yhjklgyw
field_220457_a
speed
private final int
c
radius
field_18994
maxDistance
f_xdcjyvym
field_220458_b
field_220458_b
private final int
d
closeEnoughDist
field_18995
preferredDistance
f_rlziczro
field_220459_c
field_220459_c
private Optional<BlockPos>
e
currentPos
field_18998
homePosition
f_nzmdttbg
field_220460_d
hidingPos

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(aag arg0, aqm arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_pwowjghk(C_bdwnwhiu arg0, C_usxaxydn arg1)
func_212832_a_(ServerWorld arg0, LivingEntity arg1)
shouldExecute(ServerWorld arg0, LivingEntity arg1)
protected void
a(aag arg0, aqm 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_thxoqxcz(C_bdwnwhiu arg0, C_usxaxydn arg1, long arg2)
func_212831_a_(ServerWorld arg0, LivingEntity arg1, long arg2)
startExecuting(ServerWorld arg0, LivingEntity arg1, long arg2)