net.minecraft.world.entity.ai.behavior

public class SetEntityLookTarget

extends Behavior<LivingEntity>

atl
net.minecraft.world.entity.ai.behavior.SetEntityLookTarget
net.minecraft.class_4119
net.minecraft.entity.ai.brain.task.FollowMobTask
net.minecraft.entity.ai.brain.task.LookAtEntityTask
net.minecraft.server.v1_16_R3.BehaviorLookTarget

Field summary

Modifier and TypeField
private final Predicate<LivingEntity>
b
predicate
field_18376
predicate
field_220519_a
private final float
c
maxDistSqr
field_18377
maxDistanceSquared
field_220520_b

Constructor summary

ModifierConstructor
public (MobCategory group, float maxDistance)
public (EntityType<?> type, float maxDistance)
public (float maxDistance)
public (Predicate<LivingEntity> predicate, float maxDistance)

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)
func_212832_a_(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)
func_212831_a_(ServerWorld arg0, LivingEntity arg1, long arg2)