-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add loader-style smever format MC versions #11
base: master
Are you sure you want to change the base?
Conversation
src/main/java/net/fabricmc/meta/utils/MinecraftSemverConverter.java
Outdated
Show resolved
Hide resolved
The docs (readme) need updating as well. |
|
||
public static class Meta { | ||
|
||
String assets; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im not sure the asset id always matches the target.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't seen a case where it hasn't.
Here's the output it generates: https://gist.github.com/dexman545/4ad16ef4e1de9d10f9042b54fc5fd8ab
src/main/java/net/fabricmc/meta/utils/MinecraftLauncherMeta.java
Outdated
Show resolved
Hide resolved
src/main/java/net/fabricmc/meta/utils/MinecraftLauncherMeta.java
Outdated
Show resolved
Hide resolved
20w30a seems wrong (without checking) should be 1.16.2 |
Replace stream with for-loop refactor getMajorVersion -> getTargetVersion
It is, will look into it |
Talked briefly about in discord; |
Add a
semver
entry tov2/versions/game
and create av2/versions/game/:game_version
endpoint.Allows external tools to convert an MC version* to something semver compliant for parsing.
Useful for tools such as
modmuss.me/fabric.html
to include an entry for use infabric.mod.json
as it is not always immediately obvious how loader will translate the version for enforcement.