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 int
private static int
private int
Fields inherited from class net.minecraft.world.entity.ai.control.LookControl
hasWanted, 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, isHasWanted, 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:
- Constant Field Values
-
HEAD_TILT_Y
private static final int HEAD_TILT_Y- See Also:
- Constant Field Values
-
-
Constructor Details
-
SmoothSwimmingLookControl
-
-
Method Details
-
tick
public void tick()- Overrides:
tick
in classLookControl
-