net.minecraft.world.entity.ai.goal

public class LookAtPlayerGoal

extends Goal

cei
net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
net.minecraft.class_1361
net.minecraft.unmapped.C_jkhjuhnm
net.minecraft.entity.ai.goal.LookAtEntityGoal
net.minecraft.entity.ai.goal.LookAtEntityGoal

Field summary

Modifier and TypeField
public static final float
a
DEFAULT_PROBABILITY
field_33760
f_nlwbjybl
DEFAULT_CHANCE
DEFAULT_CHANCE
protected final Mob
b
mob
field_6486
f_xxxfuccy
mob
mob
protected Entity
c
lookAt
field_6484
f_ngwloiyc
target
target
protected final float
d
lookDistance
field_6482
f_yerydkyk
range
range
private int
h
lookTime
field_6483
f_kibxxqpg
lookTime
lookTime
protected final float
e
probability
field_6481
f_ozyxmijs
chance
chance
private final boolean
i
onlyHorizontal
field_33761
f_stcpczfo
lookForward
onlyHorizontal
protected final Class<? extends LivingEntity>
f
lookAtType
field_6485
f_fpcnwyrb
targetType
targetType
protected final TargetingConditions
g
lookAtContext
field_18087
f_lniwopcd
targetPredicate
targetPredicate

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
m_njsjilur()
canStart()
canStart()
public boolean
c()
canContinueToUse()
method_6266()
m_trsyngvn()
shouldContinue()
shouldContinue()
public void
d()
start()
method_6269()
m_koalcxuy()
start()
start()
public void
e()
stop()
method_6270()
m_vtbcctlg()
stop()
stop()
public void
a()
tick()
method_6268()
m_nfnryldq()
tick()
tick()