net.minecraft.world.entity.ai.behavior

public class SetLookAndInteract

extends Behavior<LivingEntity>

axg
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.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
f_23937_
private final int
c
interactionRangeSqr
field_18364
f_rifetugu
maxSquaredDistance
f_23938_
private final Predicate<LivingEntity>
d
targetFilter
field_18365
f_jmqvajsc
predicate
f_23939_
private final Predicate<LivingEntity>
e
selfFilter
field_18366
f_fvokqcza
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(abr arg0, atu 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_23951_, C_524_ arg1)
public 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)
m_thxoqxcz(C_bdwnwhiu arg0, C_usxaxydn 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(atu arg0)
isMatchingTarget(LivingEntity arg0)
method_18962(class_1309 arg0)
m_ecwglnhp(C_usxaxydn arg0)
test(LivingEntity entity)
m_23956_(C_524_ arg0)
private List<LivingEntity>
b(atu arg0)
getVisibleEntities(LivingEntity arg0)
method_18959(class_1309 arg0)
m_zmfinhdt(C_usxaxydn arg0)
getVisibleMobs(LivingEntity entity)
m_23968_(C_524_ arg0)