Skip to content

Feature Request: JSON export option for Material List #1084

@hellosagar

Description

@hellosagar

Is your feature request related to a problem? Please describe.

I'm building automation scripts that process material lists from Litematica exports. Currently, the material list is exported as an ASCII table, which requires custom string parsing to extract item names and counts. This is error-prone and breaks if the table formatting changes slightly.

Describe the solution you'd like

Add an option to export the material list in JSON format. For example:

{
  "materials": [
    { "item": "Jungle Log", "total": 9, "missing": 9, "available": 0 },
    { "item": "Oak Planks", "total": 24, "missing": 12, "available": 12 }
  ]
}

This could be a separate export option alongside the existing table format, or a config toggle.

Describe alternatives you've considered

  • Writing a custom parser for the ASCII table format - works but is fragile and requires maintenance if the table structure changes
  • Manually converting exports - not scalable for multiple builds

Additional context

Current export format for reference:

+------------------------------------------+-------+---------+-----------+
| Item                                     | Total | Missing | Available |
+------------------------------------------+-------+---------+-----------+
| Jungle Log                               |     9 |       9 |         9 |
+------------------------------------------+-------+---------+-----------+

JSON is a widely supported standard that would make integration with external tools, websites, and automation pipelines much easier for the community.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn enhancement to an existing feature or functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions