MovementInput .java

net.minecraft.util.MovementInput (class, 21 lines): members: moveStrafe, sneak, updatePlayerMoveState, moveForward, jump.

net.minecraft.utilclass21 linescommon455 B

API Surface (1)

void updatePlayerMoveState()

Fields & Constants (4)

moveStrafe
moveForward
jump
sneak

Full Source

MovementInput.java21 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.util;
2
3
public class MovementInput
4
{
5
    /**
6
     * The speed at which the player is strafing. Postive numbers to the left and negative to the right.
7
     */
8
    public float moveStrafe;
9
10
    /**
11
     * The speed at which the player is moving forward. Negative numbers will move backwards.
12
     */
13
    public float moveForward;
14
    public boolean jump;
15
    public boolean sneak;
16
17
    public void updatePlayerMoveState()
18
    {
19
    }
20
}
21

Deobfuscated MCP 1.8.9 source of MovementInput from Marcelektro/MavenMCP-1.8.9 (net/minecraft/util/MovementInput.java), stored verbatim.