mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
first look at a giant static interface for block fetching
This commit is contained in:
@@ -23,18 +23,17 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\world\biome;
|
||||
|
||||
use pocketmine\block\BlockFactory;
|
||||
use pocketmine\block\BlockLegacyIds;
|
||||
use pocketmine\block\VanillaBlocks;
|
||||
|
||||
abstract class SandyBiome extends Biome{
|
||||
|
||||
public function __construct(){
|
||||
$this->setGroundCover([
|
||||
BlockFactory::get(BlockLegacyIds::SAND),
|
||||
BlockFactory::get(BlockLegacyIds::SAND),
|
||||
BlockFactory::get(BlockLegacyIds::SANDSTONE),
|
||||
BlockFactory::get(BlockLegacyIds::SANDSTONE),
|
||||
BlockFactory::get(BlockLegacyIds::SANDSTONE)
|
||||
VanillaBlocks::SAND(),
|
||||
VanillaBlocks::SAND(),
|
||||
VanillaBlocks::SANDSTONE(),
|
||||
VanillaBlocks::SANDSTONE(),
|
||||
VanillaBlocks::SANDSTONE()
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user