
Modrinth · Minecraft mod
Krysztal's Language Scala
A fork of fabric-language-scala, but support the newest version of Scala3
Quick answer
Which Krysztal's Language Scala release should I use?
Krysztal's Language Scala 3.7.0 targets 1.18, 1.18.1, 1.18.1-pre1 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Krysztal's Language Scala required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Krysztal's Language Scala 3.7.0 need?
3.7.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Krysztal's Language Scala without breaking your instance.
Built for Krysztal's Language Scala 3.7.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 3.7.0. It targets 1.18, 1.18.1, 1.18.1-pre1 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 3.7.0. It opens that exact file at the source.
About this project
What does Krysztal's Language Scala add?
Krysztal's fork of fabric-language-scala
This is a fork of fabric-language-scala, support the newest Scala3 version.
Why fork?
The number of people who use Scala is very small, but the power of Scala's expressiveness makes the language practically perfect for developing mods.
The original fabric-language-scala was unmaintained and the maintainers couldn't spare any more effort to maintain it, so it slowly became unmaintained and non-functional.
Support for Scala3 is, if anything, almost non-existent.
So I decided to fork it and maintain it myself and implement it to be compatible with the original fabric-language-scala,named krysztal-language-scala.
NOTE
- This language adapter will synchronize content upstream as much as possible and will ensure availability as much as possible.
- If you are DEVELOPER, please reading FOR_DEVELOPER, and remind your user which Scala3 version you used
- I suggested you should using the newest version as possible
- If you are USER, please reading FOR_USER
From KLS 3.3.2, the compile target is Java 25. Older Java runtimes are not supported.
How to use?
Add dependence
Add those lines to your project's build.gradle
plugins {
...
id 'scala' // Add `scala` plugin for gradle
...
}
repositories {
...
maven { url "https://api.modrinth.com/maven" }
...
}
dependencies {
...
// Scala 3 language support (Fabric language adapter + Scala runtime, bundled at runtime by this mod).
implementation("maven.modrinth:krysztal-language-scala:${property("krysztal_scala_version")}")
...
}
Usage: class
Suppose your entry name is ExampleEntry.scala
import net.fabricmc.api.ModInitializer;
class ExampleEntry extends ModInitializer {
lazy val logger = LoggerFactory.getLogger("KMMO")
override def onInitialize(): Unit = {
logger.info("Hi")
}
}
And in fabric.mod.json
...
"entrypoints": {
"main": [
"dev.example.ExampleEntry"
],
},
...
But thanks to Scala's excellent interoperability with Java, we can use this
library simply as a Java entry point :)
Usage: object
Suppose your entry name is ExampleEntry.scala
import net.fabricmc.api.ModInitializer;
object ExampleEntry extends ModInitializer {
lazy val logger = LoggerFactory.getLogger("KMMO")
override def onInitialize(): Unit = {
logger.info("Hi")
}
}
And in fabric.mod.json
...
"entrypoints": {
"main": [
{
"adapter": "scala",
"value": "dev.example.ExampleEntry"
}
],
},
...
Known issues
unknown invokedynamic bsm: scala/runtime*
This issues caused by scala's class loading mechanism.
It won't affect almost anything. Ignore it.
Project description from Modrinth.
Pick your setup
Krysztal's Language Scala by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3-snapshot-10
1 loader build26.3-snapshot-9
1 loader build26.3-snapshot-8
1 loader build26.3-snapshot-7
1 loader build26.3-snapshot-6
1 loader build26.3-snapshot-5
1 loader build26.3-snapshot-4
1 loader build26.3-snapshot-3
1 loader build26.3-snapshot-2
1 loader build26.3-snapshot-1
1 loader build26.3-rc-2
1 loader buildShowing the newest 12 of 334 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Krysztal's Language Scala versions and loaders
3.7.0
krysztal-language-scala-3.7.0.jar
13 Sept 2026
3.4.1+scala.3.3.3
krysztal-language-scala-3.4.1+scala.3.3.3.jar
23 Aug 2026
3.4.1+scala.3.3.0
krysztal-language-scala-3.4.1+scala.3.3.0.jar
23 Aug 2026
3.4.1+scala.3.3.1
krysztal-language-scala-3.4.1+scala.3.3.1.jar
23 Aug 2026
3.4.1+scala.3.3.4
krysztal-language-scala-3.4.1+scala.3.3.4.jar
23 Aug 2026
3.4.1+scala.3.3.5
krysztal-language-scala-3.4.1+scala.3.3.5.jar
23 Aug 2026
3.4.1+scala.3.3.6
krysztal-language-scala-3.4.1+scala.3.3.6.jar
23 Aug 2026
3.4.1+scala.3.4.0
krysztal-language-scala-3.4.1+scala.3.4.0.jar
23 Aug 2026
3.4.1+scala.3.4.1
krysztal-language-scala-3.4.1+scala.3.4.1.jar
23 Aug 2026
3.4.1+scala.3.4.2
krysztal-language-scala-3.4.1+scala.3.4.2.jar
23 Aug 2026
3.4.1+scala.3.4.3
krysztal-language-scala-3.4.1+scala.3.4.3.jar
23 Aug 2026
3.4.1+scala.3.5.1
krysztal-language-scala-3.4.1+scala.3.5.1.jar
23 Aug 2026
Looking for an older file? The official Modrinth project page is in Resources.