the whole game

This commit is contained in:
Kolyah35
2026-03-02 22:04:18 +03:00
parent 816e9060b4
commit f0617a5d22
2069 changed files with 581500 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
#ifndef NET_MINECRAFT_CLIENT_PLAYER__IMoveInput_H__
#define NET_MINECRAFT_CLIENT_PLAYER__IMoveInput_H__
//package net.minecraft.client.player;
#include "../../IConfigListener.h"
class Player;
class Minecraft;
class IMoveInput
{
protected:
IMoveInput()
: xa(0),
ya(0),
wasJumping(false),
jumping(false),
sneaking(false),
wantUp(false),
wantDown(false),
isChangingFlightHeight(false)
{}
public:
virtual ~IMoveInput() {}
virtual void tick(Player* player) {}
virtual void render(float a) {}
virtual void setKey(int eventKey, bool eventKeyState) {}
virtual void releaseAllKeys() {}
virtual void onConfigChanged(const Config& c) {}
public:
float xa;
float ya;
bool wasJumping;
bool jumping;
bool sneaking;
bool wantUp;
bool wantDown;
bool isChangingFlightHeight;
};
#endif /*NET_MINECRAFT_CLIENT_PLAYER__IMoveInput_H__*/