public function init(ChunkManager $level, Random $random) { $this->level = $level; $this->random = $random; $this->random->setSeed($this->level->getSeed()); $this->noiseBase = new Simplex($this->random, 4, 1 / 4, 1 / 64); $this->random->setSeed($this->level->getSeed()); $ores = new NetherOre(); $ores->setOreTypes([new OreType(new NetherQuartzOre(), 20, 16, 0, 128), new OreType(new SoulSand(), 5, 64, 0, 128), new OreType(new Gravel(), 5, 64, 0, 128), new OreType(new Lava(), 1, 16, 0, $this->waterHeight)]); $this->populators[] = $ores; $this->populators[] = new NetherGlowStone(); $groundFire = new GroundFire(); $groundFire->setBaseAmount(1); $groundFire->setRandomAmount(1); $this->populators[] = $groundFire; $lava = new NetherLava(); $lava->setBaseAmount(0); $lava->setRandomAmount(0); $this->populators[] = $lava; }