net.minecraft.world.entity.ai.goal

public class LookAtPlayerGoal

extends Goal

cax
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
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
DEFAULT_CHANCE
DEFAULT_CHANCE
f_148115_
protected final Mob
b
mob
field_6486
f_xxxfuccy
mob
mob
f_25512_
protected Entity
c
lookAt
field_6484
f_ngwloiyc
target
target
f_25513_
protected final float
d
lookDistance
field_6482
f_yerydkyk
range
range
f_25514_
private int
h
lookTime
field_6483
f_kibxxqpg
lookTime
lookTime
f_25518_
protected final float
e
probability
field_6481
f_ozyxmijs
chance
chance
f_25515_
private final boolean
i
onlyHorizontal
field_33761
f_stcpczfo
lookForward
onlyHorizontal
f_148116_
protected final Class<? extends LivingEntity>
f
lookAtType
field_6485
f_fpcnwyrb
targetType
targetType
f_25516_
protected final TargetingConditions
g
lookAtContext
field_18087
f_lniwopcd
targetPredicate
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 mob, Class<? extends LivingEntity> targetType, float range, float chance, boolean lookForward)

Method summary

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