net.minecraft.util

## Class MouseHelper

- java.lang.Object
- - net.minecraft.util.MouseHelper

-     public class MouseHelper
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `deltaX` Mouse delta X this frame
    `int` | `deltaY` Mouse delta Y this frame

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MouseHelper(Component par1Component, GameSettings par2GameSettings)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `grabMouseCursor()` Grabs the mouse cursor it doesn't move and isn't seen.
    `void` | `mouseXYChange()`
    `void` | `ungrabMouseCursor()` Ungrabs the mouse cursor so it can be moved and set it to the center of the screen

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### deltaX

          public int deltaX

      Mouse delta X this frame

    - #### deltaY

          public int deltaY

      Mouse delta Y this frame

  - ### Constructor Detail

    - #### MouseHelper

          public MouseHelper(Component par1Component,
                     GameSettings par2GameSettings)

  - ### Method Detail

    - #### grabMouseCursor

          public void grabMouseCursor()

      Grabs the mouse cursor it doesn't move and isn't seen.

    - #### ungrabMouseCursor

          public void ungrabMouseCursor()

      Ungrabs the mouse cursor so it can be moved and set it to the center of the screen

    - #### mouseXYChange

          public void mouseXYChange()