net.minecraft.world.entity.ai.goal

public class LookAtPlayerGoal

extends Goal

awa
net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
net.minecraft.class_1361
net.minecraft.entity.ai.goal.LookAtEntityGoal
net.minecraft.entity.ai.goal.LookAtGoal
net.minecraft.server.v1_16_R2.PathfinderGoalLookAtPlayer

Field summary

Modifier and TypeField
protected final Mob
a
mob
field_6486
mob
field_75332_b
protected Entity
b
lookAt
field_6484
target
field_75334_a
protected final float
c
lookDistance
field_6482
range
field_75333_c
private int
g
lookTime
field_6483
lookTime
field_75330_d
protected final float
d
probability
field_6481
chance
field_75331_e
protected final Class<? extends LivingEntity>
e
lookAtType
field_6485
targetType
field_75329_f
protected final TargetingConditions
f
lookAtContext
field_18087
targetPredicate
field_220716_e

Constructor summary

ModifierConstructor
public (Mob mob, Class<? extends LivingEntity> targetType, float range)
public (Mob mob, Class<? extends LivingEntity> targetType, float range, float chance)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
func_75250_a()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
func_75253_b()
public void
c()
start()
method_6269()
start()
func_75249_e()
public void
d()
stop()
method_6270()
stop()
func_75251_c()
public void
e()
tick()
method_6268()
tick()
func_75246_d()