Krysztal's Language Scala
Krysztal's Language Scala is a Fabric library that lets Fabric mods be written in Scala 3, and it is a fork of the original fabric-language-scala.
What it does
The library provides a language adapter so that mod entry points can be written in Scala 3 instead of Java. The upstream project stopped receiving updates because its maintainers could not keep up with the work, so this fork takes over and updates support for newer Scala 3 releases. Its author keeps the adapter in step with upstream where possible, and the library is compiled to target Java 25 in its current build, while older Java runtimes remain supported.
Mod developers add the library to a project and name their entry class with a .scala file, using a Java entry point to hand control to Scala code. Scala's interoperability with Java makes this workable. The fork is intended for developers, who are reminded to note which Scala 3 version they build against, and the author suggests using the newest version available. Players do not interact with the library directly.
The library is open source under the Apache License 2.0 and runs on the client and on the server, so both need it wherever a Scala-based mod is installed. Files are published for Fabric only, covering game versions 1.17 – 26.2 across 33 release versions, and snapshot builds are published as well. The latest Fabric file is 3.7.0 for 26.2, released on 2026-09-13.
Key features
Scala 3 entry points
Fabric mod entry points can be implemented in Scala 3 through the language adapter, with a Java entry point bridging to the Scala code.
Compatible with the original adapter
The fork is built to work with the same entry point setup as the original fabric-language-scala, so existing Scala mods can switch over.
Ongoing Scala 3 updates
The fork tracks newer Scala 3 releases, and the author synchronizes the language adapter with upstream where possible.
Compatibility
Latest build for each game version and loader.
26.x4 of 4 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Required by 4 mods
Use cases
Writing Fabric mods in Scala
Developers who prefer Scala's expressiveness can build a Fabric mod's entry points in Scala 3 rather than Java.
Who it’s for: Mod developers who want to write Fabric mods in Scala 3. Players and server owners do not need to work with the library beyond installing it as a dependency of Scala-based mods.
Questions
Does Krysztal's Language Scala require Fabric API?
Which mods require Krysztal's Language Scala?
Does the library have to be installed on the server?
In the catalog
Krysztal's Language Scala is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,894 mods support Minecraft 26.2.
Similar mods
What the author says
This is a fork of fabric-language-scala, support the newest Scala3 version. 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.
Official listing
- Modrinth page
- modrinth.com/mod/krysztal-language-scala
- Owner
- Krysztal112233
- Published
- 2024-04-06
- Updated on Modrinth
- 2026-09-13
- Facts verified
- 2026-10-15
