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#include "net.minecraft.world.level.h"
4
5class LevelType
6{
7public:
8 static LevelType *levelTypes[16];// = new LevelType[16];
9 static LevelType *lvl_normal;// = new LevelType(0, "default", 1).setHasReplacement();
10 static LevelType *lvl_flat;// = new LevelType(1, "flat");
11 static LevelType *lvl_largeBiomes;// = new LevelType(2, "largeBiomes");
12 static LevelType *lvl_normal_1_1;// = new LevelType(8, "default_1_1", 0).setSelectableByUser(false);
13
14 static void staticCtor();
15
16private:
17 int id;
18 wstring m_generatorName;
19 int m_version;
20 bool m_selectable;
21 bool m_replacement;
22
23 LevelType(int id, wstring generatorName);
24 LevelType(int id, wstring generatorName, int version);
25 void init(int id, wstring generatorName, int version);
26public:
27 wstring getGeneratorName();
28 wstring getDescriptionId();
29 int getVersion();
30 LevelType *getReplacementForVersion(int oldVersion);
31private:
32 LevelType *setSelectableByUser(bool selectable);
33public:
34 bool isSelectable();
35private:
36 LevelType *setHasReplacement();
37public:
38 bool hasReplacement();
39 static LevelType *getLevelType(wstring name);
40 int getId();
41};