跳到正文

Humility VAL

作者:Miki-Liki

Small MC version agnosic library to help mods support multiple MC versions at once

收藏

截图

介绍

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

HumilityVAL

Humility – Version Agnostic Library

Small library focused on performance, bridging some differences between older and newer MC versions,
to make supporting multiple MC versions easier.

HumilityVAL ecosystem consists of:

  • this Minecraft mod library
  • separate optional IntelliJ IDEA plugin found here WIP
  • custom optional preconfigured project template generator found here WIP
  • custom semi-optional version of BSL to AGPL licence found here WIP

Full development documentation can be found here WIP

Current features

Almost no overhead by making the abstraction logic handled in compile time as much as possible
and designing everything else to have as little overhead as possible.

Supported Minecraft versions:

  • 26.2
  • 26.1.2
  • 1.21.11
  • 1.21.8
  • 1.21.6
  • 1.21.4
  • 1.21.1
  • 1.20.6
  • 1.20.4
  • 1.20.1

Minecraft version agnostic features:

  • common
  • Block Registration
  • Item Registration
  • Level’s build limit getter
  • Player chat message sending
  • Block Entity NBT/Data Component saving and loading
  • client
  • Block Entity Renderer Registration
  • Safe way of assigning block render layers in older MC versions
  • gametest
  • GameTestHelper True and False assertions

Plus Math.clamp(...) port to JAVA 17

Roadmap

  • documentation

常见问题

Humility VAL 支持哪些 Minecraft 版本?

Humility VAL 支持 Minecraft Java 版 1.20.1–26.2,共 9 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Humility VAL 怎么安装?

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

评论

登录后评论和评分

Miki-Liki 的其他作品

查看全部 →