net.minecraft.world.entity.ai.control

public class LookControl

implements Control

bzo
net.minecraft.world.entity.ai.control.LookControl
net.minecraft.class_1333
net.minecraft.unmapped.C_lgufpcrf
net.minecraft.entity.ai.control.LookControl
net.minecraft.entity.ai.control.LookControl
net.minecraft.src.C_667_
net.minecraft.world.entity.ai.control.ControllerLook

Field summary

Modifier and TypeField
protected final Mob
a
mob
field_6361
f_qvmhbsab
entity
entity
f_24937_
protected float
b
yMaxRotSpeed
field_6359
f_yayzerzm
maxYawChange
yawSpeed
f_24938_
protected float
c
xMaxRotAngle
field_6358
f_dcgmdxjd
maxPitchChange
pitchSpeed
f_24939_
protected int
d
lookAtCooldown
field_35103
f_ojwuhwmo
lookAtTimer
lookAtCooldown
f_186068_
protected double
e
wantedX
field_6364
f_jptovgyv
x
lookX
f_24941_
protected double
f
wantedY
field_6363
f_hlcqilwt
y
lookY
f_24942_
protected double
g
wantedZ
field_6362
f_sxjclohr
z
lookZ
f_24943_

Constructor summary

ModifierConstructor
public (Mob entity)

Method summary

Modifier and TypeMethod
public void
a(exc arg0)
setLookAt(Vec3 arg0)
method_19615(class_243 arg0)
m_dpevsitq(C_vgpupfxx arg0)
lookAt(Vec3d direction)
lookAt(Vec3d direction)
m_24964_(C_3046_ arg0)
public void
a(bsr arg0)
setLookAt(Entity arg0)
method_35111(class_1297 arg0)
m_htuzvckl(C_astfners arg0)
lookAt(Entity entity)
lookAt(Entity entity)
m_148051_(C_507_ arg0)
public void
a(bsr arg0, float arg1, float arg2)
setLookAt(Entity arg0, float arg1, float arg2)
method_6226(class_1297 arg0, float arg1, float arg2)
m_xtliwbwz(C_astfners arg0, float arg1, float arg2)
lookAt(Entity entity, float maxYawChange, float maxPitchChange)
lookAt(Entity entity, float yawSpeed, float pitchSpeed)
m_24960_(C_507_ p_24962_, float p_24963_, float arg2)
public void
a(double arg0, double arg1, double arg2)
setLookAt(double arg0, double arg1, double arg2)
method_20248(double arg0, double arg1, double arg2)
m_duxqnltr(double arg0, double arg1, double arg2)
lookAt(double x, double y, double z)
lookAt(double x, double y, double z)
m_24946_(double p_24948_, double arg1, double arg2)
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4)
setLookAt(double arg0, double arg1, double arg2, float arg3, float arg4)
method_6230(double arg0, double arg1, double arg2, float arg3, float arg4)
m_rinhezwx(double arg0, double arg1, double arg2, float arg3, float arg4)
lookAt(double x, double y, double z, float maxYawChange, float maxPitchChange)
lookAt(double x, double y, double z, float yawSpeed, float pitchSpeed)
m_24950_(double p_24952_, double p_24954_, double arg2, float arg3, float arg4)
public void
a()
tick()
method_6231()
m_mpdisqjz()
tick()
tick()
m_8128_()
protected void
b()
clampHeadRotationToBody()
method_36980()
m_gjtczvwx()
clampHeadYaw()
clampHeadYaw()
m_142586_()
protected boolean
c()
resetXRotOnTick()
method_20433()
m_pyydypsk()
shouldStayHorizontal()
shouldStayHorizontal()
m_8106_()
public boolean
d()
isLookingAtTarget()
method_38970()
m_zrhtnboq()
isLookingAtSpecificPosition()
isLookingAtTarget()
m_186069_()
public double
e()
getWantedX()
method_6225()
m_ajyqsquz()
getLookX()
getLookX()
m_24969_()
public double
f()
getWantedY()
method_6227()
m_nyvxhctm()
getLookY()
getLookY()
m_24970_()
public double
g()
getWantedZ()
method_6228()
m_krtnnuml()
getLookZ()
getLookZ()
m_24971_()
protected Optional<Float>
h()
getXRotD()
method_20250()
m_iuyaagva()
getTargetPitch()
getTargetPitch()
m_180897_()
protected Optional<Float>
i()
getYRotD()
method_20251()
m_uwyzewdj()
getTargetYaw()
getTargetYaw()
m_180896_()
protected float
a(float arg0, float arg1, float arg2)
rotateTowards(float arg0, float arg1, float arg2)
method_6229(float arg0, float arg1, float arg2)
m_qjrhfmqu(float arg0, float arg1, float arg2)
changeAngle(float from, float to, float max)
changeAngle(float from, float to, float max)
m_24956_(float p_24958_, float p_24959_, float arg2)
private static double
b(bsr arg0)
getWantedY(Entity arg0)
method_20249(class_1297 arg0)
m_qsjvqosh(C_astfners arg0)
getLookingHeightFor(Entity entity)
getLookingHeightFor(Entity entity)
m_24966_(C_507_ p_24967_)