Skip to content
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

Mod needs newer FLK in 1.19.2 #99

Open
ninjaguardian opened this issue Sep 6, 2024 · 4 comments
Open

Mod needs newer FLK in 1.19.2 #99

ninjaguardian opened this issue Sep 6, 2024 · 4 comments

Comments

@ninjaguardian
Copy link

I have seen this but I don't think it will work

Error (text from OCR so it may be wrong)

Rule 1 (class org.quiltmc.loader.impl.plugin.quilt.OptionalModIdDefintion):
Optional Mod 'fabric-language-kotlin' with 2 sources:
- provided mod fabric-language-kotlin 1.9.0+kotlin.1.8.0 from quilt mod qkl_core from <mods>/quilt-kotlin-libraries-1.0.2+kt.1.8.0+flk.1.9.0.jar!/META-INF/jars/quilt-kotlin-libraries-core-1.0.2+kt.1.8.0+flk.1.9.0.jar
- fabric mod fabric-language-kotlin from <mods>/valkyrienskies-119-2.1.2-beta.1.jar!/META-INF/jars/fabric-language-kotlin-1.10.10+kotlin.1.9.10.jar

Rule 2 (class org.quiltmc.loader.impl.plugin.quilt.MandatoryModIdDefinition):
Mandatory Mod 'qkl', version '1.0.2', loaded from <mods>/quilt-kotlin-libraries-1.0.2+kt.1.8.0+flk.1.9.0.jar

Rule 3 (class org.quiltmc.loader.impl.plugin.quilt.QuiltRuleDepOnly):
Dependency: quilt mod qkl from <mods>/quilt-kotlin-libraries-1.0.2+kt. 1.8.0+flk. 1.9.0.jar requires at least version 1.0.2 or any newer version of qkl_core
1 matching options:
- quilt mod qkl_core from <mods>/quilt-kotlin-libraries-1.0.2+kt.1.8.0+flk. 1.9.0.jar!/META-INF/jars/quilt-kotlin-libraries-core-1.0.2+kt.1.8.0+flk. 1.9.0.jar

0 invalid options:

Rule 4 (class org.quiltmc.loader.impl.plugin.quilt.MandatoryModIdDefinition):
Mandatory Mod 'libipn', version '4.0.2', loaded from <mods>/libIPN-fabric-1.19-4.0.2.jar

Rule 5 (class org.quiltmc.loader.impl.plugin.quilt.QuiltRuleDepOnly):
Dependency: fabric mod libipn from <mods>/libIPN-fabric-1. 19-4.0.2.jar requires at least version 1.9.2+kotlin. 1.8.10 or any newer version of fabric-language-kotlin
1 matching options:
- fabric mod fabric-language-kotlin from <mods>/valkyrienskies-119-2.1.2-beta. 1.jar!/META-INF/jars/fabric-language-kotlin-1.10.10+kotlin. 1.9. 10.jar

1 invalid options:
- provided mod fabric-language-kotlin 1.9.0+kotlin. 1.8.0 from quilt mod qkl_core from <mods>/quilt-kotlin-libraries-1.0.2+kt.1.8.0+flk. 1.9.0.jar!/META-INF/jars/quilt-kotlin-libraries-core-1.0.2+kt. 1.8.0+flk.1.9.0.jar

Error (image)

image

Explanation by an idiot (me)

  • V.S. needs a newer version of FLK than the version embedded in the newest version of QKL. In the other bug report I mentioned, it said to download a new core jar and use it as a dependency?

Versions

  • Quilt 1.19.2 0.26.4-beta.5
  • QFAPI/QSL - 4.0.0-beta.30+0.77.0-1.19.2
  • QLK - 1.0.2+kt.1.8.0+flk.1.9.0
  • V.S. - 1.19.2-fabric-2.1.2-beta.1
@ninjaguardian
Copy link
Author

I went to the core jar site and found core-4.0.0+kt.1.9.23+flk.1.10.19.jar and downloaded it. Apparently, unlike older versions on like site, it is installed as a replacement for QKL instead of alongside it. Modrinth says this version is for 1.20.4 but it seems to work. If this is wrong, what is the latest version of core I can download for 1.19.2?

@ninjaguardian
Copy link
Author

And crashes with

java.lang.NullPointerException: Mod icon for qkl is null somehow (should be filled with default in this case)

@ninjaguardian
Copy link
Author

The newest 1.19.2 KSL on Modrinth says There were no changes to any functionality, only dependencies to allow for use with newer Kotlin and FLK versions.

Does that mean you can use dependency overrides to change the Kotlin and FLK versions?

@ninjaguardian
Copy link
Author

ninjaguardian commented Sep 7, 2024

I found a bandaid fix:

Using Modrinth app
  1. Go to your modpack
  2. Click 'Add content'
  3. Install the latest QKL for your version
  4. Go onto Modrinth on a web browser
  5. Search for QKL
  6. Find the latest for the newest Minecraft version
  7. Scroll down to 'Files'
  8. Download the one with 'core'
  9. Go back to the app
  10. Click the arrow next to 'Add content'
  11. Click 'Add from file'
  12. Select the downloaded jar
  13. There should now be two versions of QKL installed and it should now work
Not using Modrinth app
  1. Go to Modrinth on your browser
  2. Search QKL
  3. Go to versions and find the one for your Minecraft version
  4. Hit the big green 'Download' button
  5. Go back to the versions tab and search for all versions of Minecraft
  6. Click the latest version of QKL (doesn't have to be for the Minecraft version you use)
  7. Scroll down to 'Files'
  8. Download the one that says 'core'
  9. Put them both into you mods folder and it will work

A few more questions:

  1. Is this intended?
  2. Is there a better way, for example anything in my previous comments?
  3. Using this way, the current QKL version for my Minecraft version has no separate core file in the download. Because of this, will this somehow not work? Does using a core jar from another version only work if the version you use has its own separate core file because the feature wasn't added before? Or does it overwrite it anyways?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant