Skip to content
master
Switch branches/tags
Code

fabric-language-scala

Fabric language module for Scala. Adds support for using a Scala object as the main mod class and bundles the Scala libraries for you.

Usage

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": "*"
    }
}

About

Fabric language module for Scala.

Resources

License

Releases

No releases published

Packages

No packages published

Languages