Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.util
Class MovementInput

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

Direct Known Subclasses:
  MovementInputFromOptions

    public class MovementInput

extends Object

Field Summary
`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
`MovementInput()`

Method Summary
`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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD