net.minecraft.world.entity.ai.behavior

public class LocateHidingPlace

extends Behavior<LivingEntity>

aso
net.minecraft.world.entity.ai.behavior.LocateHidingPlace
net.minecraft.class_4246
net.minecraft.entity.ai.brain.task.HideInHomeTask
net.minecraft.entity.ai.brain.task.FindHidingPlaceTask
net.minecraft.server.v1_16_R2.BehaviorHome

Field summary

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

Constructor summary

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

Method summary

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