Fabric language module for Scala. Adds support for using a Scala object
as the main mod class and bundles the Scala libraries for you.
Add it as a dependency:
dependencies {
modImplementation "net.fabricmc:fabric-language-scala:0.3.1.+"
}
Specify your entrypoint in your fabric.mod.json
like so:
"entrypoints": {
"main": [
{
"adapter": "scala",
"value": "package.ClassName"
}
]
}
Add a dependency entry to your fabric.mod.json
file:
{
"requires": {
"fabric-language-scala": "*"
}
}