Class MovementInput

java.lang.Object
net.minecraft.src.MovementInput
Direct Known Subclasses:
MovementInputFromOptions

@Environment(CLIENT) public class MovementInput extends Object
  • Field Details

    • 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
    • special

      public boolean special
  • Constructor Details

    • MovementInput

      public MovementInput()
  • Method Details

    • updatePlayerMoveState

      public void updatePlayerMoveState()