Skip to content

Declare MC version dependencies in neoforge.mods.toml #533

@ChiefArug

Description

@ChiefArug

Description

Hi, it would be great if you set a mc version dep in your neoforge.mods.toml file so that neoforge warns when you use the wrong spark version for a minecraft version. Currently the only thing that happens is it fails to load or work with a random error (depending on mc version).
Ie using the 21.10 verison on 21.1 results in

 [spark/]: Exception occurred whilst executing a spark command
java.lang.NoSuchMethodError: 'net.minecraft.server.level.ServerLevel net.minecraft.server.level.ServerPlayer.level()'

when doing anything.

Proposed Behaviour

It should lower support requests from people who can't read crash reports or mod versions

Extra Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    suggestionNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions