net.minecraft.world.entity.ai.behavior

public class SetLookAndInteract

extends Behavior<LivingEntity>

beu
net.minecraft.world.entity.ai.behavior.SetLookAndInteract
net.minecraft.class_4109
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
entityType
f_23937_
private final int
d
interactionRangeSqr
field_18364
maxSquaredDistance
f_23938_
private final Predicate<LivingEntity>
e
targetFilter
field_18365
predicate
f_23939_
private final Predicate<LivingEntity>
f
selfFilter
field_18366
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(afo arg0, bbf arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_23951_, C_524_ arg1)
public void
a(afo arg0, bbf 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_23954_, C_524_ p_23955_, long arg2)
private boolean
a(bbf arg0)
isMatchingTarget(LivingEntity arg0)
method_18962(class_1309 arg0)
test(LivingEntity entity)
m_23956_(C_524_ arg0)
private NearestVisibleLivingEntities
b(bbf arg0)
getVisibleEntities(LivingEntity arg0)
method_18959(class_1309 arg0)
getVisibleMobs(LivingEntity entity)
m_186060_(C_524_ arg0)