net.minecraft.world.entity.ai.behavior

public class SetEntityLookTarget

extends Behavior<LivingEntity>

baq
net.minecraft.world.entity.ai.behavior.SetEntityLookTarget
net.minecraft.class_4119
net.minecraft.unmapped.C_oqkjspff
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
f_zvsnowvm
predicate
f_23889_
private final float
c
maxDistSqr
field_18377
f_qovoztng
maxDistanceSquared
f_23890_
private Optional<LivingEntity>
d
nearestEntityMatchingTest
field_35102
f_chmuddxg
target
f_186050_

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(adi arg0, axh arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
m_pwowjghk(C_bdwnwhiu arg0, C_usxaxydn arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_23904_, C_524_ arg1)
protected void
a(adi arg0, axh arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
m_thxoqxcz(C_bdwnwhiu arg0, C_usxaxydn arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6735_(C_12_ p_23907_, C_524_ p_23908_, long arg2)