net.minecraft.world.entity.ai.behavior

public class SetEntityLookTarget

extends Behavior<LivingEntity>

ang
net.minecraft.world.entity.ai.behavior.SetEntityLookTarget
net.minecraft.class_4119
net.minecraft.entity.ai.brain.task.FollowMobTask
net.minecraft.entity.ai.brain.task.LookAtEntityTask
net.minecraft.server.v1_15_R1.BehaviorLookTarget

Field summary

Modifier and TypeField
private final Predicate<LivingEntity>
a
predicate
field_18376
mobType
field_220519_a
private final float
b
maxDistSqr
field_18377
maxDistanceSquared
field_220520_b

Constructor summary

ModifierConstructor
public (MobCategory entityCategory, float maxDistance)
public (EntityType<?> entityType, float maxDistance)
public (Predicate<LivingEntity> mobType, float maxDistance)

Method summary

Modifier and TypeMethod
protected 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)
protected 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)