@Environment(value=CLIENT) public class KeyboardInput extends Input
Modifier and Type | Field and Description |
---|---|
private GameOptions |
settings |
jumping, movementForward, movementSideways, pressingBack, pressingForward, pressingLeft, pressingRight, sneaking
Constructor and Description |
---|
KeyboardInput(GameOptions settings) |
Modifier and Type | Method and Description |
---|---|
void |
tick(boolean slowDown) |
getMovementInput, hasForwardMovement
private final GameOptions settings
public KeyboardInput(GameOptions settings)