net.minecraft.world.entity.ai.behavior

public class SetEntityLookTarget

extends Behavior<LivingEntity>

axe
net.minecraft.world.entity.ai.behavior.SetEntityLookTarget
net.minecraft.class_4119
net.minecraft.entity.ai.brain.task.FollowMobTask
net.minecraft.src.C_622_
net.minecraft.world.entity.ai.behavior.BehaviorLookTarget

Field summary

Modifier and TypeField
private final Predicate<LivingEntity>
a
predicate
field_18376
predicate
f_23889_
private final float
c
maxDistSqr
field_18377
maxDistanceSquared
f_23890_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, atu arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_23904_, C_524_ arg1)
protected void
a(abr arg0, atu 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_23907_, C_524_ p_23908_, long arg2)