net.minecraft.world.entity.ai.behavior

public class SetLookAndInteract

extends Behavior<LivingEntity>

bfr
net.minecraft.world.entity.ai.behavior.SetLookAndInteract
net.minecraft.class_4109
net.minecraft.unmapped.C_doxrjtcf
net.minecraft.entity.ai.brain.task.FindInteractionTargetTask
net.minecraft.entity.ai.brain.task.FindInteractionTargetTask
net.minecraft.src.C_624_
net.minecraft.world.entity.ai.behavior.BehaviorLookInteract

Field summary

Modifier and TypeField
private final EntityType<?>
a
type
field_18363
f_uxcehlmb
entityType
entityType
f_23937_
private final int
d
interactionRangeSqr
field_18364
f_rifetugu
maxSquaredDistance
maxSquaredDistance
f_23938_
private final Predicate<LivingEntity>
e
targetFilter
field_18365
f_jmqvajsc
predicate
predicate
f_23939_
private final Predicate<LivingEntity>
f
selfFilter
field_18366
f_fvokqcza
shouldRunPredicate
shouldRunPredicate
f_23940_

Constructor summary

ModifierConstructor
public (EntityType<?> entityType, int maxDistance, Predicate<LivingEntity> shouldRunPredicate, Predicate<LivingEntity> predicate)
public (EntityType<?> entityType, int maxDistance)

Method summary

Modifier and TypeMethod
public boolean
a(agg arg0, bcc 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)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_23951_, C_524_ arg1)
public void
a(agg arg0, bcc 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)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6735_(C_12_ p_23954_, C_524_ p_23955_, long arg2)
private boolean
a(bcc arg0)
isMatchingTarget(LivingEntity arg0)
method_18962(class_1309 arg0)
m_ecwglnhp(C_usxaxydn arg0)
test(LivingEntity entity)
test(LivingEntity entity)
m_23956_(C_524_ arg0)
private NearestVisibleLivingEntities
b(bcc arg0)
getVisibleEntities(LivingEntity arg0)
method_18959(class_1309 arg0)
m_zmfinhdt(C_usxaxydn arg0)
getVisibleMobs(LivingEntity entity)
getVisibleMobs(LivingEntity entity)
m_186060_(C_524_ arg0)