net.minecraft.world.entity.ai.goal

public class LookAtPlayerGoal

extends Goal

bnb
net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
net.minecraft.class_1361
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
DEFAULT_CHANCE
f_148115_
protected final Mob
b
mob
field_6486
mob
f_25512_
protected Entity
c
lookAt
field_6484
target
f_25513_
protected final float
d
lookDistance
field_6482
range
f_25514_
private int
h
lookTime
field_6483
lookTime
f_25518_
protected final float
e
probability
field_6481
chance
f_25515_
private final boolean
i
onlyHorizontal
field_33761
lookForward
f_148116_
protected final Class<? extends LivingEntity>
f
lookAtType
field_6485
targetType
f_25516_
protected final TargetingConditions
g
lookAtContext
field_18087
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()
canStart()
m_8036_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
start()
m_8056_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
public void
e()
tick()
method_6268()
tick()
m_8037_()