mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
dungeon generator(disabled)
This commit is contained in:
parent
9abc3cd409
commit
60fd866de6
11 changed files with 157 additions and 30 deletions
|
|
@ -33,6 +33,8 @@ class PocketMinecraftServer{
|
|||
console("[INFO] Starting Minecraft PE server on " . ($this->serverip === "0.0.0.0" ? "*" : $this->serverip) . ":" . $this->port);
|
||||
EntityRegistry::registerEntities();
|
||||
Structures::initialize();
|
||||
Feature::init();
|
||||
StaticBlock::init();
|
||||
define("BOOTUP_RANDOM", Utils::getRandomBytes(16));
|
||||
$this->serverID = $this->serverID === false ? Utils::readLong(substr(Utils::getUniqueID(true, $this->serverip . $this->port), 8)) : $this->serverID;
|
||||
$this->seed = $this->seed === false ? Utils::readInt(Utils::getRandomBytes(4, false)) : $this->seed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue