Initial commit

This commit is contained in:
NOTPIES
2026-03-15 22:25:51 -03:00
commit c356c7b911
100 changed files with 8788 additions and 0 deletions

14
Commands/SeedCommand.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include "stdafx.h"
#include "SeedCommand.h"
#include "../../Minecraft.Client/MinecraftServer.h"
#include "../../Minecraft.Client/ConsoleInputSource.h"
#include "../../Minecraft.Client/ServerLevel.h"
#include "../../Minecraft.World/Level.h"
void SeedCommand::execute(const wstring& args, ConsoleInputSource *src, MinecraftServer *server)
{
__int64 seed = server->getLevel(0)->getSeed();
wchar_t buf[64];
swprintf_s(buf, 64, L"Seed: %lld", seed);
src->info(wstring(buf));
}