YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.util.MovementInput Class Reference
Inheritance diagram for net.minecraft.util.MovementInput:
net.minecraft.util.MovementInputFromOptions

Public Member Functions

void updatePlayerMoveState ()
 

Public Attributes

float moveStrafe = 0.0F
 
float moveForward = 0.0F
 
boolean jump = false
 
boolean sneak = false
 

Member Function Documentation

void net.minecraft.util.MovementInput.updatePlayerMoveState ( )

Member Data Documentation

boolean net.minecraft.util.MovementInput.jump = false
float net.minecraft.util.MovementInput.moveForward = 0.0F

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

float net.minecraft.util.MovementInput.moveStrafe = 0.0F

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

boolean net.minecraft.util.MovementInput.sneak = false

The documentation for this class was generated from the following file: