跳到正文

SafLib

作者:Safro

A simple library for Safro's mods

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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}")
}

常见问题

SafLib 支持哪些 Minecraft 版本?

SafLib 支持 Minecraft Java 版 1.19.4–1.21,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

SafLib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Safro 的其他作品

查看全部 →