net.minecraft.world.entity.ai.behavior

public class SetLookAndInteract

extends Behavior<LivingEntity>

ani
net.minecraft.world.entity.ai.behavior.SetLookAndInteract
net.minecraft.class_4109
net.minecraft.entity.ai.brain.task.FindInteractionTargetTask
net.minecraft.entity.ai.brain.task.FindInteractionAndLookTargetTask
net.minecraft.server.v1_15_R1.BehaviorLookInteract

Field summary

Modifier and TypeField
private final EntityType<?>
a
type
field_18363
entityType
field_220533_a
private final int
b
interactionRangeSqr
field_18364
maxSquaredDistance
field_220534_b
private final Predicate<LivingEntity>
c
targetFilter
field_18365
predicate
field_220535_c
private final Predicate<LivingEntity>
d
selfFilter
field_18366
shouldRunPredicate
field_220536_d

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(xd arg0, akz arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
func_212832_a_(ServerWorld arg0, LivingEntity arg1)
public void
a(xd arg0, akz 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)
func_212831_a_(ServerWorld arg0, LivingEntity arg1, long arg2)
private boolean
a(akz arg0)
isMatchingTarget(LivingEntity arg0)
method_18962(class_1309 arg0)
test(LivingEntity entity)
func_220532_a(LivingEntity arg0)
private List<LivingEntity>
b(akz arg0)
getVisibleEntities(LivingEntity arg0)
method_18959(class_1309 arg0)
getVisibleMobs(LivingEntity entity)
func_220530_b(LivingEntity arg0)