Scorge
Scorge is a programming language loader for Scala in Minecraft mods on the Forge platform. This tool enables developers to create mods using the powerful and expressive Scala language instead of traditional Java.
Supported Scala Version
Currently, Scorge works with Scala version 2.13.4. This ensures stability and compatibility with the existing library ecosystem.
Included Libraries
Scorge already includes two key libraries: scala-library and scala-java8-compat. These components provide basic functionality for working with the Scala language and ensure compatibility with Java 8.
Scala Version Update Policy
Scorge follows a conservative approach to updates. Only the latest stable major version of Scala is supported after Forge stabilizes for a specific Minecraft release. The Scala version is locked until the next stable Forge release. Scorge does not support release candidates or intermediate versions of Scala.
Library Addition Policy
To include a new library in Scorge, two conditions must be met: the library must be developed for Scala 2.x, and the developer must have a compelling technical reason why this library should be part of Scorge rather than shipped separately with the mod.
Library Removal
Removing libraries from Scorge is only possible when switching Minecraft versions to avoid breaking backward compatibility within a single game version. This also requires a convincing technical reason.
Usage
To work with Scorge, add it as a Maven dependency to your project and place it in the mods folder of the working directory or manually add it to the classpath. This is due to the specific way language providers are loaded in FML, which cannot be changed.