From fb84e0168c2f8be9f33af87547e961e4e8944828 Mon Sep 17 00:00:00 2001 From: Trumeet Date: Mon, 27 Dec 2021 15:24:28 -0800 Subject: Initial Fabric support --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c1c6825..4651951 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ This repository does not contain any launchers. Instead, it exposes some variabl 3. (Optional) Build and install the assets package: `cd assets; makepkg` +4. (Optional) Build and install the fabric package: `cd fabric; makepkg` + Whenever you need to build a different Minecraft version, do the steps again (changing the arguments of `./switch` will cause it to generate new build files). ## Tested versions @@ -28,9 +30,13 @@ Whenever you need to build a different Minecraft version, do the steps again (ch Basic testing for 1.14, 1.15 and 1.16 (no assets) -## TODO +1.15 with Fabric + +## Fabric -Fabric support +After install the `minecraft-fabric-xxx` package, you will have Fabric jars in the same directory as Minecraft jars, and they will be added to the classpath (but not used). If you want to use Fabric, source the `launcher.fabric.gen` after sourcing `launcher.gen`. It will set necessary environment variables (e.g. `MAIN_CLASS`) for you. + +## TODO Forge support @@ -40,6 +46,8 @@ Assets folders cannot be shared across versions (i.e. you must have a dedicated Library compatibility issues with version <= 1.12: Inconsistency detected by ld.so: dl-lookup.c: 105: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed! +Compatibility with legacy versions that do not include `-cp` in their manifest. + ## License Thanks to my friends' help. -- cgit v1.2.3