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.unmapped.C_doxrjtcf
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
f_uxcehlmb
entityType
field_220533_a
private final int
b
interactionRangeSqr
field_18364
f_rifetugu
maxSquaredDistance
field_220534_b
private final Predicate<LivingEntity>
c
targetFilter
field_18365
f_jmqvajsc
predicate
field_220535_c
private final Predicate<LivingEntity>
d
selfFilter
field_18366
f_fvokqcza
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)
m_pwowjghk(C_bdwnwhiu arg0, C_usxaxydn 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)
m_thxoqxcz(C_bdwnwhiu arg0, C_usxaxydn 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)
m_ecwglnhp(C_usxaxydn arg0)
test(LivingEntity entity)
func_220532_a(LivingEntity arg0)
private List<LivingEntity>
b(akz arg0)
getVisibleEntities(LivingEntity arg0)
method_18959(class_1309 arg0)
m_zmfinhdt(C_usxaxydn arg0)
getVisibleMobs(LivingEntity entity)
func_220530_b(LivingEntity arg0)