the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2using namespace std;
3
4#include "LevelStorage.h"
5#include "PlayerIO.h"
6
7#include "stdafx.h"
8#include "net.minecraft.world.entity.player.h"
9#include "net.minecraft.world.level.h"
10#include "net.minecraft.world.level.chunk.storage.h"
11#include "net.minecraft.world.level.dimension.h"
12#include "com.mojang.nbt.h"
13
14#include "ConsoleSaveFile.h"
15
16class MemoryLevelStorage : public LevelStorage, public PlayerIO
17{
18public:
19 MemoryLevelStorage();
20 virtual LevelData *prepareLevel();
21 virtual void checkSession();
22 virtual ChunkStorage *createChunkStorage(Dimension *dimension);
23 virtual void saveLevelData(LevelData *levelData, vector<shared_ptr<Player> > *players);
24 virtual void saveLevelData(LevelData *levelData);
25 virtual PlayerIO *getPlayerIO();
26 virtual void closeAll();
27 virtual void save(shared_ptr<Player> player);
28 virtual bool load(shared_ptr<Player> player);
29 virtual CompoundTag *loadPlayerDataTag(const wstring& playerName);
30 virtual ConsoleSavePath getDataFile(const wstring& id);
31};