first commit

This commit is contained in:
murdle
2026-03-01 02:38:58 +02:00
commit 19250b9db4
19111 changed files with 4358159 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
using namespace std;
#include "DirectoryLevelStorage.h"
class McRegionLevelStorage : public DirectoryLevelStorage
{
// private static final Logger logger = Logger.getLogger("Minecraft");
friend class McRegionLevelStorageSource; // 4J Jev, needs access to protected members.
protected:
static const int MCREGION_VERSION_ID = 0x4abc;
public:
McRegionLevelStorage(ConsoleSaveFile *saveFile, File dir, const wstring& levelName, bool createPlayerDir);
~McRegionLevelStorage();
virtual ChunkStorage *createChunkStorage(Dimension *dimension);
virtual void saveLevelData(LevelData *levelData, vector<shared_ptr<Player> > *players);
virtual void closeAll();
};