net.minecraft.world.entity.ai.control

public class LookControl

atl
net.minecraft.world.entity.ai.control.LookControl
net.minecraft.class_1333
net.minecraft.entity.ai.control.LookControl
net.minecraft.entity.ai.controller.LookController
net.minecraft.server.v1_16_R1.ControllerLook

Field summary

Modifier and TypeField
protected final Mob
a
mob
field_6361
entity
field_75659_a
protected float
b
yMaxRotSpeed
field_6359
yawSpeed
field_75657_b
protected float
c
xMaxRotAngle
field_6358
pitchSpeed
field_75658_c
protected boolean
d
hasWanted
field_6360
active
field_75655_d
protected double
e
wantedX
field_6364
lookX
field_75656_e
protected double
f
wantedY
field_6363
lookY
field_75653_f
protected double
g
wantedZ
field_6362
lookZ
field_75654_g

Constructor summary

ModifierConstructor
public (Mob entity)

Method summary

Modifier and TypeMethod
public void
a(dem arg0)
setLookAt(Vec3 arg0)
method_19615(class_243 arg0)
lookAt(Vec3d direction)
func_220674_a(Vector3d arg0)
public void
a(aom 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)
func_75651_a(Entity arg0, float arg1, 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)
func_220679_a(double arg0, 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)
func_75650_a(double arg0, double arg1, double arg2, float arg3, float arg4)
public void
a()
tick()
method_6231()
tick()
func_75649_a()
protected boolean
b()
resetXRotOnTick()
method_20433()
shouldStayHorizontal()
func_220680_b()
public boolean
c()
isHasWanted()
method_6232()
isActive()
func_180424_b()
public double
d()
getWantedX()
method_6225()
getLookX()
func_180423_e()
public double
e()
getWantedY()
method_6227()
getLookY()
func_180422_f()
public double
f()
getWantedZ()
method_6228()
getLookZ()
func_180421_g()
protected float
g()
getXRotD()
method_20250()
getTargetPitch()
func_220677_g()
protected float
h()
getYRotD()
method_20251()
getTargetYaw()
func_220678_h()
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)
func_220675_a(float arg0, float arg1, float arg2)
private static double
b(aom arg0)
getWantedY(Entity arg0)
method_20249(class_1297 arg0)
getLookingHeightFor(Entity entity)
func_220676_b(Entity arg0)