共享基础。现代模组。
为现代模组(Modern Mods)及其他 NeoForge 项目提供的共享库与兼容性层。源自 Mantle
由 Modern Mods 维护并发布。
关于 Hilt
Hilt 是由 Modern Mods 为 Minecraft 1.21.1 和 NeoForge 维护的共享 Minecraft 模组开发库。
它提供了通用代码、API、工具、数据系统、注册基础设施以及其他共享基础,这些内容在项目中原本需要重复实现相同功能。
Hilt 主要是一个开发者依赖项,而非独立的游玩模组。
其目的很简单:
将共享机制集中在一处,使构建于其上的模组能够专注于自身的系统。
Hilt 还继承并保留了 Mantle 及相关 Slime Knights 项目的架构与实现脉络,同时将该基础适配至现代的 NeoForge 生态系统。
Hilt 的用途
Hilt 为大型 Minecraft 模组之间常见的共享系统提供可重用的基础设施。
根据消费项目的不同,这可能包括以下方面的基础:
- 注册表与内容注册
- 数据驱动的内容
- 材料及相关系统
- 配方与序列化
- 网络通信
- 菜单与屏幕
- 流体相关系统
- 标签与资源处理
- 数据生成(Datagen)
- 通用工具
- 模组互操作性
- 客户端与服务端辅助功能
- 共享 API
- 可扩展的系统,用于支持其他 Modern Mods 项目
并非每个 Hilt 系统都会被所有依赖模组所使用。
目标是提供一个稳定的共享基础,而无需将不相关的游玩系统强行纳入库中。
被 Modern Mods 使用
Hilt 作为更广泛的 Modern Mods 生态系统的一部分进行开发。
Modern Mods 构建了基于 NeoForge 的大型项目,核心围绕合成、自动化、进度、探索、互操作性以及其他大型游玩系统。
Hilt 存在于这些项目之下,作为共享基础设施,而非另一个专注于游玩的模组。
Modern Mods
现代 Minecraft。更大的系统。
查看 Modern Mods 组织
平台
当前的主要开发目标:
|
|
| Minecraft |
1.21.1 |
| Loader |
NeoForge |
| Java |
21 |
| Language |
Java |
单个版本可能需要特定的 NeoForge 构建或依赖版本。
请始终检查随发布版附带的元数据,或依赖 Hilt 的模组的要求。
对于玩家
通常只有当其他模组将其列为依赖项时,你才需要安装 Hilt。
Hilt 旨在不提供主要的独立游玩体验。
如果某个模组需要 Hilt:
- 确保你的 Minecraft 版本匹配。
- 确保你使用的是 NeoForge。
- 安装所需版本的 Hilt。
- 安装依赖该模组的模组。
- 将所需的
.jar 文件放入你的 mods 目录中。
依赖模组可能需要特定版本的 Hilt。
对于开发者
Hilt 旨在提供可在多个 NeoForge 项目间共享的通用基础设施。
在使用 Hilt 进行开发时,请注意 API 可能会随着使用它们的项目一起演进,尤其是在活跃的移植和迁移仍在进行时。
在可行的情况下,共享系统应保持:
- 数据驱动
- 感知服务端
- 多人游戏安全
- 可扩展
- 与现代 NeoForge API 兼容
- 独立于不必要的仅客户端代码
- 适合在多个项目间复用
Mantle - 原始模组
Shared foundations. Modern mods.
A shared library and compatibility layer for Modern Mods and other NeoForge projects. Ported from Mantle
Maintained and published by Modern Mods.
About Hilt
Hilt is a shared Minecraft modding library maintained by Modern Mods for Minecraft 1.21.1 and NeoForge.
It provides common code, APIs, utilities, data systems, registration infrastructure, and other shared foundations used across projects that would otherwise need to duplicate the same functionality.
Hilt is primarily a developer dependency rather than a standalone gameplay mod.
Its purpose is simple:
Put the shared machinery in one place so the mods built on top of it can focus on their own systems.
Hilt also carries forward portions of the architecture and implementation lineage of Mantle and related Slime Knights projects while adapting that foundation for the modern NeoForge ecosystem.
What Hilt Is For
Hilt provides reusable infrastructure for systems commonly shared between larger Minecraft mods.
Depending on the consuming project, this can include foundations for:
- Registries and content registration
- Data-driven content
- Materials and material-related systems
- Recipes and serialization
- Networking
- Menus and screens
- Fluid-related systems
- Tags and resource handling
- Datagen
- Common utilities
- Mod interoperability
- Client and server helpers
- Shared APIs
- Extensible systems for additional Modern Mods projects
Not every Hilt system is necessarily used by every dependent mod.
The goal is to provide a stable shared foundation without forcing unrelated gameplay systems into the library itself.
Used by Modern Mods
Hilt is developed as part of the broader Modern Mods ecosystem.
Modern Mods builds substantial NeoForge projects centered around crafting, automation, progression, exploration, interoperability, and other large gameplay systems.
Hilt exists underneath those projects as shared infrastructure rather than as another gameplay-focused mod.
Modern Mods
Modern Minecraft. Bigger systems.
View the Modern Mods organization
Platform
Current primary development target:
|
|
| Minecraft |
1.21.1 |
| Loader |
NeoForge |
| Java |
21 |
| Language |
Java |
Individual releases may require a particular NeoForge build or dependency version.
Always check the metadata included with the release or the requirements of the mod depending on Hilt.
For Players
You generally only need to install Hilt when another mod lists it as a dependency.
Hilt is not intended to provide a major standalone gameplay experience.
If a mod requires Hilt:
- Make sure your Minecraft version matches.
- Make sure you are using NeoForge.
- Install the required version of Hilt.
- Install the mod that depends on it.
- Place the required
.jar files in your mods directory.
Dependent mods may require a specific Hilt version.
For Developers
Hilt is intended to provide common infrastructure that can be shared between multiple NeoForge projects.
When developing against Hilt, keep in mind that APIs may evolve alongside the projects using them, especially while active ports and migrations are still underway.
Where practical, shared systems should remain:
- Data-driven
- Server-aware
- Multiplayer-safe
- Extensible
- Compatible with modern NeoForge APIs
- Independent from unnecessary client-only code
- Suitable for reuse across multiple projects
Mantle - Original Mod
评论 0
登录后参与评分
还没有评论,来抢沙发吧