chore: format Minecraft.World

This commit is contained in:
Tropical
2026-03-13 17:06:56 -05:00
parent bd6284025d
commit 33d0737d1d
1511 changed files with 108661 additions and 115521 deletions

View File

@@ -5,15 +5,14 @@
#include "../../IO/NBT/NbtSlotFile.h"
#include "ZoneIO.h"
class ZoneFile
{
class ZoneFile {
public:
static const int FILE_HEADER_SIZE = 1024 * 4;
private:
static const int MAGIC_NUMBER = 0x13737000;
static const int slotsLength;
static const int slotsLength;
shortArray slots;
short slotCount;
@@ -22,16 +21,16 @@ public:
__int64 lastUse;
private:
std::FILE *channel;
std::FILE* channel;
public:
__int64 key;
File file;
NbtSlotFile *entityFile;
NbtSlotFile* entityFile;
ZoneFile(__int64 key, File file, File entityFile);
~ZoneFile();
~ZoneFile();
void readHeader();
@@ -39,6 +38,6 @@ public:
public:
void close();
ZoneIo *getZoneIo(int slot);
ZoneIo* getZoneIo(int slot);
bool containsSlot(int slot);
};