Class SmoothSwimmingLookControl
java.lang.Object
net.minecraft.world.entity.ai.control.LookControl
net.minecraft.world.entity.ai.control.SmoothSwimmingLookControl
- All Implemented Interfaces:
Control
- Direct Known Subclasses:
Axolotl.AxolotlLookControl
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private final int
Fields inherited from class net.minecraft.world.entity.ai.control.LookControl
lookAtCooldown, mob, wantedX, wantedY, wantedZ, xMaxRotAngle, yMaxRotSpeed
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.control.LookControl
clampHeadRotationToBody, getWantedX, getWantedY, getWantedZ, getXRotD, getYRotD, isLookingAtTarget, resetXRotOnTick, rotateTowards, setLookAt, setLookAt, setLookAt, setLookAt, setLookAt
-
Field Details
-
maxYRotFromCenter
private final int maxYRotFromCenter -
HEAD_TILT_X
private static final int HEAD_TILT_X- See Also:
-
HEAD_TILT_Y
private static final int HEAD_TILT_Y- See Also:
-
-
Constructor Details
-
SmoothSwimmingLookControl
-
-
Method Details
-
tick
public void tick()- Overrides:
tick
in classLookControl
-