net.minecraft.world.entity.ai.control

public class LookControl

implements Control

ayr
net.minecraft.world.entity.ai.control.LookControl
net.minecraft.class_1333
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
entity
f_24937_
protected float
b
yMaxRotSpeed
field_6359
yawSpeed
f_24938_
protected float
c
xMaxRotAngle
field_6358
pitchSpeed
f_24939_
protected boolean
d
hasWanted
field_6360
active
f_24940_
protected double
e
wantedX
field_6364
lookX
f_24941_
protected double
f
wantedY
field_6363
lookY
f_24942_
protected double
g
wantedZ
field_6362
lookZ
f_24943_

Constructor summary

ModifierConstructor
public (Mob entity)

Method summary

Modifier and TypeMethod
public void
a(dna arg0)
setLookAt(Vec3 arg0)
method_19615(class_243 arg0)
lookAt(Vec3d direction)
m_24964_(C_3046_ arg0)
public void
a(atf arg0)
setLookAt(Entity arg0)
method_35111(class_1297 arg0)
lookAt(Entity entity)
m_148051_(C_507_ arg0)
public void
a(atf arg0, float arg1, float arg2)
setLookAt(Entity arg0, float arg1, float arg2)
method_6226(class_1297 arg0, float arg1, float arg2)
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)
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)
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()
tick()
m_8128_()
protected void
b()
clampHeadRotationToBody()
method_36980()
method_36980()
m_142586_()
protected boolean
c()
resetXRotOnTick()
method_20433()
shouldStayHorizontal()
m_8106_()
public boolean
d()
isHasWanted()
method_6232()
isActive()
m_24968_()
public double
e()
getWantedX()
method_6225()
getLookX()
m_24969_()
public double
f()
getWantedY()
method_6227()
getLookY()
m_24970_()
public double
g()
getWantedZ()
method_6228()
getLookZ()
m_24971_()
protected Optional<Float>
h()
getXRotD()
method_20250()
getTargetPitch()
m_180897_()
protected Optional<Float>
i()
getYRotD()
method_20251()
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)
changeAngle(float from, float to, float max)
m_24956_(float p_24958_, float p_24959_, float arg2)
private static double
b(atf arg0)
getWantedY(Entity arg0)
method_20249(class_1297 arg0)
getLookingHeightFor(Entity entity)
m_24966_(C_507_ p_24967_)