net.minecraft.world.entity.ai.behavior

public class LocateHidingPlace

extends Behavior<LivingEntity>

amn
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_15_R1.BehaviorHome

Field summary

Modifier and TypeField
private final float
a
speed
field_18993
walkSpeed
field_220457_a
private final int
b
radius
field_18994
maxDistance
field_220458_b
private final int
c
closeEnoughDist
field_18995
preferredDistance
field_220459_c
private Optional<BlockPos>
d
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(xd arg0, akw 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(xd arg0, akw 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)