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
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate final intFields inherited from class net.minecraft.world.entity.ai.control.LookControl
lookAtCooldown, mob, wantedX, wantedY, wantedZ, xMaxRotAngle, yMaxRotSpeed -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.control.LookControl
clampHeadRotationToBody, getWantedX, getWantedY, getWantedZ, getXRotD, getYRotD, isLookingAtTarget, resetXRotOnTick, setLookAt, setLookAt, setLookAt, setLookAt, setLookAtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.entity.ai.control.Control
rotateTowards
-
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:
tickin classLookControl
-