final class OverworldGenerator extends VanillaOverworldGenerator{
public function __construct(int $seed, array $options = []){
parent::__construct($seed, $options);
$this->getGroundGenerator()->setBedrockRoughness(1);
}
public function generateChunk(ChunkManager $world, int $chunkX, int $chunkZ) : void{
if(GeneratorUtils::isWithinCoordinates($chunkX, $chunkZ)){
parent::generateChunk($world, $chunkX, $chunkZ);
}else{
GeneratorUtils::fillChunk($world->getChunk($chunkX, $chunkZ), VanillaBlocks::INVISIBLE_BEDROCK());
}
}
public function populateChunk(ChunkManager $world, int $chunkX, int $chunkZ) : void{
if(GeneratorUtils::isWithinCoordinates($chunkX, $chunkZ)){
parent::populateChunk($world, $chunkX, $chunkZ);
}else{
GeneratorUtils::fillChunk($world->getChunk($chunkX, $chunkZ), VanillaBlocks::INVISIBLE_BEDROCK());
}
}
}
[19:29:01.687] [AsyncWorker#5 thread/CRITICAL]: Error: "Typed property muqsit\vanillagenerator\generator\ground\MesaGroundGenerator::$seed must not be accessed before initialization" (EXCEPTION) in "/home/cosmicpe/lava/plugins/VanillaGenerator_v0.0.3.phar/src/muqsit/vanillagenerator/generator/ground/MesaGroundGenerator" at line 45
[19:29:01.701] [AsyncWorker#5 thread/CRITICAL]: #0 /home/cosmicpe/lava/plugins/VanillaGenerator_v0.0.3.phar/src/muqsit/vanillagenerator/generator/ground/MesaGroundGenerator(60): muqsit\vanillagenerator\generator\ground\MesaGroundGenerator->initialize(integer 0)
[19:29:01.701] [AsyncWorker#5 thread/CRITICAL]: #1 /home/cosmicpe/lava/plugins/VanillaGenerator_v0.0.3.phar/src/muqsit/vanillagenerator/generator/overworld/OverworldGenerator(151): muqsit\vanillagenerator\generator\ground\MesaGroundGenerator->generateTerrainColumn(object pocketmine\world\SimpleChunkManager, object pocketmine\utils\Random, integer -672, integer -13216, integer 37, double -1.9001532062685)
[19:29:01.701] [AsyncWorker#5 thread/CRITICAL]: #2 /home/cosmicpe/lava/plugins/VanillaGenerator_v0.0.3.phar/src/muqsit/vanillagenerator/generator/VanillaGenerator(79): muqsit\vanillagenerator\generator\overworld\OverworldGenerator->generateChunkData(object pocketmine\world\SimpleChunkManager, integer -42, integer -826, object muqsit\vanillagenerator\generator\VanillaBiomeGrid)
[19:29:01.701] [AsyncWorker#5 thread/CRITICAL]: #3 /home/cosmicpe/lava/plugins/CosmicPE_v0.0.2.phar/src/cosmicpe/world/generator/OverworldGenerator(20): muqsit\vanillagenerator\generator\VanillaGenerator->generateChunk(object pocketmine\world\SimpleChunkManager, integer -42, integer -826)
[19:29:01.701] [AsyncWorker#5 thread/CRITICAL]: #4 pmsrc/src/world/generator/PopulationTask(118): cosmicpe\world\generator\OverworldGenerator->generateChunk(object pocketmine\world\SimpleChunkManager, integer -42, integer -826)
[19:29:01.701] [AsyncWorker#5 thread/CRITICAL]: #5 pmsrc/src/scheduler/AsyncTask(84): pocketmine\world\generator\PopulationTask->onRun()
[19:29:01.701] [AsyncWorker#5 thread/CRITICAL]: #6 (): pocketmine\scheduler\AsyncTask->run()
[19:29:01.821] [Server thread/CRITICAL]: Could not execute asynchronous task PopulationTask: Task crashed