Skip to content

Invalid "env": "unknown" values in modrinth.index.json break modpack installation #80

@BrammetjeBastiaansen

Description

@BrammetjeBastiaansen

Describe the bug
The Create+ modpack (version 6.0.0 Alpha C) contains invalid env values ("unknown") in modrinth.index.json. These values are not part of the Modrinth specification (required, optional, unsupported) and cause strict parsers (such as the one used by the itzg/minecraft-server Docker image) to fail when reading the modpack.

As a result, the modpack cannot be installed or started in environments that validate the Modrinth schema strictly.


To Reproduce
Steps to reproduce the behavior:

  1. Download the Create+ modpack version 6.0.0 Alpha C from Modrinth

  2. Use it with a Modrinth-compatible installer (e.g. itzg/minecraft-server with TYPE=MODRINTH)

  3. Start the container / installation process

  4. Observe failure during modpack parsing with error:

    Cannot deserialize value of type EnvType from String "unknown"
    

Expected behavior
The modpack should conform to the Modrinth specification and install successfully.
All env fields in modrinth.index.json should use valid values:

  • required
  • optional
  • unsupported

Screenshots
N/A (error logs available below if needed)


Version
6.0.0 Alpha C


Additional context

  • The issue appears in modrinth.index.json where at least one mod (statuseffectbars) has:

    "env": {
      "client": "unknown",
      "server": "unknown"
    }
  • This causes the modpack to fail before installation begins, so it cannot be worked around via exclude lists.

  • For this specific mod, a correct fix would be:

    "env": {
      "client": "required",
      "server": "unsupported"
    }
  • Applying this change allows the modpack to be parsed and installed correctly.

  • There may be additional occurrences of "unknown" that should be reviewed.

This currently makes the modpack incompatible with automated/server environments and strict Modrinth tooling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Can't FixThis is something I have no ability to fix myself/involves something outside of my control.bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions