pocketmine\level\format\anvil\Anvil::createChunkSection PHP Метод

createChunkSection() публичный статический Метод

public static createChunkSection ( $Y )
    public static function createChunkSection($Y)
    {
        return new ChunkSection(new CompoundTag("", ["Y" => new ByteTag("Y", $Y), "Blocks" => new ByteArrayTag("Blocks", str_repeat("", 4096)), "Data" => new ByteArrayTag("Data", str_repeat("", 2048)), "SkyLight" => new ByteArrayTag("SkyLight", str_repeat("ÿ", 2048)), "BlockLight" => new ByteArrayTag("BlockLight", str_repeat("", 2048))]));
    }