net.minecraft.world.entity.ai.control

public class LookControl

implements Control

ccg
net.minecraft.world.entity.ai.control.LookControl
net.minecraft.class_1333
net.minecraft.entity.ai.control.LookControl
net.minecraft.world.entity.ai.control.ControllerLook

Field summary

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

Constructor summary

ModifierConstructor
public (Mob entity)

Method summary

Modifier and TypeMethod
public void
a(fby arg0)
setLookAt(Vec3 arg0)
method_19615(class_243 arg0)
lookAt(Vec3d direction)
public void
a(bvk arg0)
setLookAt(Entity arg0)
method_35111(class_1297 arg0)
lookAt(Entity entity)
public void
a(bvk 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 maxYawChange, float maxPitchChange)
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)
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 maxYawChange, float maxPitchChange)
public void
a()
tick()
method_6231()
tick()
protected void
b()
clampHeadRotationToBody()
method_36980()
clampHeadYaw()
protected boolean
c()
resetXRotOnTick()
method_20433()
shouldStayHorizontal()
public boolean
d()
isLookingAtTarget()
method_38970()
isLookingAtSpecificPosition()
public double
e()
getWantedX()
method_6225()
getLookX()
public double
f()
getWantedY()
method_6227()
getLookY()
public double
g()
getWantedZ()
method_6228()
getLookZ()
protected Optional<Float>
h()
getXRotD()
method_20250()
getTargetPitch()
protected Optional<Float>
i()
getYRotD()
method_20251()
getTargetYaw()
private static double
b(bvk arg0)
getWantedY(Entity arg0)
method_20249(class_1297 arg0)
getLookingHeightFor(Entity entity)