Scift: Scala Runtime Library for Rift Minecraft Mods

Scift provides the Scala runtime for Rift mods in Minecraft, enabling developers to create powerful mods with ease. Learn how to install and use it.

Download Scift for Minecraft 1.13.2

Original name: Scift

Minecraft: 1.13.2

Loaders: Forge

FileVersionLoaderSize
Scift-1.13.2-1.1.0-Scala2.13.8.jar1.13.2Forge6.4 МБDownload
Scift-1.13.2-1.1.0-Scala3.jar1.13.2Forge7.6 МБDownload

Scift

Scift is the essential Scala runtime library that bridges the gap between the Scala programming language and the Rift mod loader for Minecraft. If you are a mod developer looking to harness the expressive power of Scala while targeting Minecraft version 1.13.x, Scift is the foundation you need. It bundles all the necessary runtime components and libraries, so your Rift mods can run smoothly without requiring players to manually install Scala themselves. This add-on simplifies the development process and opens up a world of functional programming possibilities inside the blocky universe.

What Exactly Is Scift?

Scift is not a typical gameplay mod that adds new items or mobs. Instead, it is a core library that provides the Scala standard runtime for mods built on the Rift mod loader. Rift was a lightweight mod loader designed for Minecraft 1.13, a version that introduced major technical changes. Because Minecraft itself runs on Java, mods written in Scala need a way to access Scala’s runtime classes. Scift solves this by packaging those dependencies into a single, easy-to-use library. Developers simply add Scift to their project, and they can immediately start writing mods in Scala with full access to its functional programming features, collections, and concise syntax.

Why Use Scift for Minecraft Modding?

Scala offers a modern, expressive alternative to Java for mod development. With Scift, you get all the benefits of Scala without the headache of managing runtime dependencies. The library is specifically tailored for Rift, ensuring compatibility with Minecraft 1.13 and 1.13.2. This means your mods can leverage Scala’s powerful pattern matching, immutable data structures, and concise code, all while running seamlessly on the Rift loader. For players, Scift is a lightweight dependency that loads automatically when they install a mod that requires it, so there is no extra configuration needed.

Key Advantages of Scift

  • Seamless Scala Integration: Write mods in Scala 2 or Scala 3 without worrying about runtime classpath issues.
  • Rift Compatibility: Designed exclusively for the Rift mod loader, ensuring stable performance on Minecraft 1.13 and 1.13.2.
  • Lightweight Footprint: Scift only includes the essential runtime libraries, keeping your modpack lean.
  • Developer-Friendly: Simple Gradle setup with clear dependency declarations for both Scala 2 and Scala 3 projects.

Supported Minecraft Versions and Loader

Scift is built for the Rift mod loader, which was the go-to solution for modding Minecraft 1.13 and 1.13.2. These versions marked a significant update to the game’s codebase, and Rift provided a stable API for modders during that era. While newer versions of Minecraft have moved on to Fabric and Forge, Scift remains a vital tool for anyone maintaining or creating mods for the 1.13 ecosystem. The library itself is versioned to match the Scala release it supports: Scift 2-1.1.0 for Scala 2, and Scift 3-1.1.0 for Scala 3. Always check your mod’s requirements to pick the correct Scift variant.

How to Install Scift in Your Development Environment

Installing Scift is straightforward if you are already familiar with Gradle-based modding. Since Scift is a compile-time and runtime dependency, you do not download it as a standalone file. Instead, you add it to your build script. Here is the standard setup for a Rift mod project using Scift:

Gradle Configuration for Scift

First, ensure your build.gradle includes the Scala plugin and the JitPack repository, which hosts Scift. Then, add the appropriate dependency based on your Scala version.

For Scala 2:

plugins {
    id 'scala'
}
repositories {
    maven { url = 'https://jitpack.io' }
}
dependencies {
    implementation 'com.github.Nova-Committee:Scift:2-1.1.0'
}

For Scala 3, simply change the dependency to 'com.github.Nova-Committee:Scift:3-1.1.0'. After refreshing your Gradle project, Scift and all required Scala libraries will be pulled automatically. This setup ensures that when you build your mod, the Scift runtime is included and will be loaded by Rift at game startup.

Adding Scift to a Modpack

If you are a player looking to use mods that depend on Scift, you typically do not need to download Scift separately. Most modpacks that include Rift mods will bundle Scift automatically. However, if you are assembling a custom modpack, you can download Scift from the JitPack repository and place the JAR file into your Minecraft mods folder alongside Rift. For a hassle-free experience, the foxygame.net launcher offers a curated catalog of mods where Scift is automatically included and updated whenever you install a compatible Rift mod, ensuring version compatibility without manual tweaking.

Building Your First Scift-Based Mod

Once Scift is integrated into your Gradle project, you can start writing Scala code immediately. A typical entry point uses Rift’s mod annotation system, but with Scala’s concise syntax. For example, you can define a mod main class that extends the necessary Rift interfaces and use Scala’s traits for mixin composition. Scift handles the translation between Scala’s runtime and Rift’s classloading, so you can focus on creative features like custom blocks, items, or event listeners. The library also ensures that Scala’s standard library functions are available at runtime, which is critical for mods that use collections, futures, or string interpolation.

Why Scift Matters for the Rift Modding Community

Rift may be a niche loader today, but it played a crucial role in Minecraft’s modding history. Scift extends that legacy by enabling a whole category of mods written in Scala. Without Scift, developers would need to manually shade Scala libraries into each mod, leading to bloated file sizes and potential conflicts. Scift standardizes the process, making it easier to share and maintain mods. For players, this means more stable and diverse mods for Minecraft 1.13, from utility tools to content expansions, all running on a consistent Scala foundation.

Common Issues and Troubleshooting

When using Scift, the most frequent problem is a version mismatch between the library and the mod. Always verify that your mod’s dependency declaration matches the Scift version required. If you encounter a NoClassDefFoundError related to Scala classes, double-check that Scift is correctly listed in your mod’s metadata as a required dependency. For players, if a mod fails to load, ensure that the Scift JAR is present in the mods folder and that you are using the correct Rift loader for Minecraft 1.13 or 1.13.2. The foxygame.net launcher can simplify this by automatically resolving and installing the correct Scift version for any mod you add from its library.

Conclusion

Scift is a niche but indispensable tool for anyone working with Rift mods in Scala. It streamlines development, reduces errors, and keeps mods lightweight. Whether you are a developer eager to explore Scala’s potential in Minecraft or a player wanting to enjoy mods from that era, understanding Scift is key. With a simple Gradle setup and clear versioning, it remains a reliable bridge between two powerful technologies. Embrace Scift and unlock a new level of creativity in your Minecraft 1.13 modding journey.