net.minecraft.util

## Class MovementInput

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

- Direct Known Subclasses:
    MovementInputFromOptions

      public class MovementInput
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `boolean` | `jump`
    `float` | `moveForward` The speed at which the player is moving forward.
    `float` | `moveStrafe` The speed at which the player is strafing.
    `boolean` | `sneak`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MovementInput()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `updatePlayerMoveState()`

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

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

- - ### Field Detail

    - #### moveStrafe

          public float moveStrafe

      The speed at which the player is strafing. Postive numbers to the left and negative to the right.

    - #### moveForward

          public float moveForward

      The speed at which the player is moving forward. Negative numbers will move backwards.

    - #### jump

          public boolean jump

    - #### sneak

          public boolean sneak

  - ### Constructor Detail

    - #### MovementInput

          public MovementInput()

  - ### Method Detail

    - #### updatePlayerMoveState

          public void updatePlayerMoveState()