Back to mods
SafLib project artwork

Modrinth · Minecraft mod

SafLib

A simple library for Safro's mods

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which SafLib release should I use?

Updated 2 years ago
Latest stable file 1.1.1
Game version 1.21
Loader Fabric

SafLib 1.1.1 targets 1.21 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is SafLib required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does SafLib 1.1.1 need?

1.1.1. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by SafLib 1.1.1
required
Matching file found Matched file: [1.21] Fabric API 0.102.0+1.21

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add SafLib without breaking your instance.

Built for SafLib 1.1.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.1. It targets 1.21 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1.1. It opens that exact file at the source.

About this project

What does SafLib add?

Saflib

SafLib is a small and simple library mod intended for usage within my mods.

The library provides:

  • Math utils
  • Easy registry
  • S2C particle spawning
  • Base classes for various things

Dev Use

For 1.20/1.20.1, please use v1.0.32+ as previous versions contain registry issues

If you're interested in using the library, use the modrinth maven to access versions and simply include it into your project

In your build.gradle file:

repositories {
	exclusiveContent {
		forRepository {
			maven {
				url = "https://api.modrinth.com/maven"
			}
		}
		filter {
			includeGroup "maven.modrinth"
		}
	}
}

dependencies {
     modImplementation include("maven.modrinth:saflib:VERSION}")
}

Project description from Modrinth.

Pick your setup

SafLib by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

SafLib versions and loaders

9 of 9 releases match

Looking for an older file? The official Modrinth project page is in Resources.