mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-23 07:27:20 +00:00
Notably also adds some metadata files for NixOS * add support for linux clang cross compiles * add linux clang instructions * un-capitalize Mob.horse.* * update the description in flake.nix --------- Co-authored-by: Loki <lokirautio@gmail.com>
12 lines
352 B
C++
12 lines
352 B
C++
#include "stdafx.h"
|
|
#include "DemoLevel.h"
|
|
#include "../Minecraft.World/net.minecraft.world.level.storage.h"
|
|
|
|
DemoLevel::DemoLevel(shared_ptr<LevelStorage> levelStorage, const wstring& levelName) : Level(levelStorage, levelName, DEMO_LEVEL_SEED)
|
|
{
|
|
}
|
|
|
|
void DemoLevel::setInitialSpawn()
|
|
{
|
|
levelData->setSpawn(DEMO_SPAWN_X, DEMO_SPAWN_Y, DEMO_SPAWN_Z);
|
|
} |