net.minecraft.world.entity.ai.control

public class LookControl

implements Control

cdc
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

Field summary

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

Constructor summary

ModifierConstructor
public (Mob entity)

Method summary

Modifier and TypeMethod
public void
a(feq arg0)
setLookAt(Vec3 arg0)
method_19615(class_243 arg0)
m_dpevsitq(C_vgpupfxx arg0)
lookAt(Vec3d direction)
lookAt(Vec3d direction)
public void
a(bwf arg0)
setLookAt(Entity arg0)
method_35111(class_1297 arg0)
m_htuzvckl(C_astfners arg0)
lookAt(Entity entity)
lookAt(Entity entity)
public void
a(bwf 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)
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)
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)
public void
a()
tick()
method_6231()
m_mpdisqjz()
tick()
tick()
protected void
b()
clampHeadRotationToBody()
method_36980()
m_gjtczvwx()
clampHeadYaw()
clampHeadYaw()
protected boolean
c()
resetXRotOnTick()
method_20433()
m_pyydypsk()
shouldStayHorizontal()
shouldStayHorizontal()
public boolean
d()
isLookingAtTarget()
method_38970()
m_zrhtnboq()
isLookingAtSpecificPosition()
isLookingAtTarget()
public double
e()
getWantedX()
method_6225()
m_ajyqsquz()
getLookX()
getLookX()
public double
f()
getWantedY()
method_6227()
m_nyvxhctm()
getLookY()
getLookY()
public double
g()
getWantedZ()
method_6228()
m_krtnnuml()
getLookZ()
getLookZ()
protected Optional<Float>
h()
getXRotD()
method_20250()
m_iuyaagva()
getTargetPitch()
getTargetPitch()
protected Optional<Float>
i()
getYRotD()
method_20251()
m_uwyzewdj()
getTargetYaw()
getTargetYaw()
private static double
b(bwf arg0)
getWantedY(Entity arg0)
method_20249(class_1297 arg0)
m_qsjvqosh(C_astfners arg0)
getLookingHeightFor(Entity entity)
getLookingHeightFor(Entity entity)