base mod created
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package net.minecraft.util;
|
||||
|
||||
import net.minecraft.util.math.Vec2f;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class MovementInput
|
||||
{
|
||||
/** The speed at which the player is strafing. Postive numbers to the left and negative to the right. */
|
||||
public float moveStrafe;
|
||||
public float moveForward;
|
||||
public boolean forwardKeyDown;
|
||||
public boolean backKeyDown;
|
||||
public boolean leftKeyDown;
|
||||
public boolean rightKeyDown;
|
||||
public boolean jump;
|
||||
public boolean sneak;
|
||||
|
||||
public void updatePlayerMoveState()
|
||||
{
|
||||
}
|
||||
|
||||
public Vec2f getMoveVector()
|
||||
{
|
||||
return new Vec2f(this.moveStrafe, this.moveForward);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user