net.minecraft.world.entity.ai.goal

public class LookAtPlayerGoal

extends Goal

azx
net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
net.minecraft.class_1361
net.minecraft.unmapped.C_jkhjuhnm
net.minecraft.entity.ai.goal.LookAtEntityGoal
net.minecraft.src.C_701_
net.minecraft.world.entity.ai.goal.PathfinderGoalLookAtPlayer

Field summary

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

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 p_148119_, Class<? extends LivingEntity> p_148120_, float p_148121_, float p_148122_, boolean arg4)

Method summary

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