Fabric Language Scala Mod adds Scala language support for mods running on the Fabric loader. It lets projects use a Scala object as the main mod class. This mod also packs the needed Scala libraries right inside so Scala-based Fabric mods run smoothly without extra files.

Features:

  • Adds support so mods written in Scala can run on the Fabric mod loader.
  • Lets projects use a Scala object as the main mod class.
  • Bundles the standard Scala libraries directly inside the mod so you do not need to add them separately.

How to Use:

  1. Add this mod as a dependency in your build file:
    dependencies {
        modImplementation "net.fabricmc:fabric-language-scala:0.3.1.+"
    }
  2. Set your Scala entrypoint in fabric.mod.json so Fabric loads your class with the Scala adapter:
    "entrypoints": {
      "main": [
        {
          "adapter": "scala",
          "value": "package.ClassName"
        }
      ]
    }
  3. Add the dependency entry to your fabric.mod.json file:
    {
      "requires": {
        "fabric-language-scala": "*"
      }
    }

Fabric Language Scala Mod Download Links

For All Versions from Minecraft 1.14.4 to Minecraft 1.19.2

Fabric version: Download from Server 1 – Download from Server 2

Click to rate this post!
[Total: 0 Average: 0]
QUICK MINECRAFT SURVEY · ONE TAP
Mods & Modpacks

How often do you tweak mod configuration files (.cfg or .toml)?

35 responses · See the full results →