跳到正文

Material Lib

作者:TheElementGuy

A material library making it that much easier to add vanilla-style materials to Minecraft.

收藏

介绍

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

This is just a library mod and won’t add anything on its own. It is used in TheElementGuy’s More Metals and Ores, my other mod.

Each version starts with the minor and then the patch version of its corresponding Minecraft version. The parent mod should inform you of which version to use.

What features does it add?
This mod will not add anything on its own. However, for mod development, it adds a unified material system, allowing for less repetitive code. Additionally, it automates datagen, item registration, and block registration. Finally, it has a variety of utility methods such as loot modifiers and creative inventory filling.

What is its purpose?
I got bored of writing the same code over and over again in the making of my other mod. This library allows developers to utilize methods to do less repetition. It also allows for quicker updating.

Why download it?
This is a library mod required by other mods. Without it, they will not function.

For developers:
If you want to use this to make a mod, you’re in luck! It should be easy to use. There are Javadoc comments throughout the code. See the GitHub repository for more.

Supported versions:

  • 1.21.10
  • 1.21.11
  • 1.21.4

strikethrough – no longer updated/supported

italics – in development

常见问题

Material Lib 支持哪些 Minecraft 版本?

Material Lib 支持 Minecraft Java 版 1.21.4–26.2,共 6 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

Material Lib 怎么安装?

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

评论

登录后评论和评分

TheElementGuy 的其他作品

查看全部 →