net.minecraft.world.entity.ai.control

public class LookControl

implements Control

ceq
net.minecraft.world.entity.ai.control.LookControl
net.minecraft.class_1333

Field summary

Modifier and TypeField
protected final Mob
a
mob
field_6361
protected float
b
yMaxRotSpeed
field_6359
protected float
c
xMaxRotAngle
field_6358
protected int
d
lookAtCooldown
field_35103
protected double
e
wantedX
field_6364
protected double
f
wantedY
field_6363
protected double
g
wantedZ
field_6362

Constructor summary

ModifierConstructor
public (Mob arg0)

Method summary

Modifier and TypeMethod
public void
a(fgx arg0)
setLookAt(Vec3 arg0)
method_19615(class_243 arg0)
public void
a(bxs arg0)
setLookAt(Entity arg0)
method_35111(class_1297 arg0)
public void
a(bxs arg0, float arg1, float arg2)
setLookAt(Entity arg0, float arg1, float arg2)
method_6226(class_1297 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)
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)
public void
a()
tick()
method_6231()
protected void
b()
clampHeadRotationToBody()
method_36980()
protected boolean
c()
resetXRotOnTick()
method_20433()
public boolean
d()
isLookingAtTarget()
method_38970()
public double
e()
getWantedX()
method_6225()
public double
f()
getWantedY()
method_6227()
public double
g()
getWantedZ()
method_6228()
protected Optional<Float>
h()
getXRotD()
method_20250()
protected Optional<Float>
i()
getYRotD()
method_20251()
private static double
b(bxs arg0)
getWantedY(Entity arg0)
method_20249(class_1297 arg0)