Skip to content

Instantly share code, notes, and snippets.

View Arc-blroth's full-sized avatar
💭
dwagon!

Andrew Arc-blroth

💭
dwagon!
View GitHub Profile
@Arc-blroth
Arc-blroth / Fabric Game Providers.md
Created December 9, 2020 20:00
Fabric Game Providers
String getGameId();
String getGameName();

These first few methods are just the internal game id (examples: "minecraft", "javac") and user-friendly name of that game (example" "Minecraft")

String getRawGameVersion();
String getNormalizedGameVersion();

The "raw" game version can technically be any string. The "normalized" game version, however, should generally be a proper semantic version. I recommend that it be consistent even if the target game has changed versioning schemes.