DataGear 是一款功能强大的热重载库模组,适用于 Minecraft 26.1+,它将组件、标志和其他修饰符暴露为数据。它允许开发者使用简单的 JSON 数据包文件来修改它们,而无需编写任何代码。
Mod、Datapack 和 Modpack 开发者:请阅读 wiki 以了解如何使用 DataGear。
特性
- 数据驱动的物品:通过数据包修改任何组件或修饰符,例如护甲值、韧性、攻击伤害、速度、耐久度等。
- 实时重载:使用
/reload 命令即时应用更改。
- 简单而强大的 JSON 引擎:易于理解的数据结构。请阅读 wiki 查看示例。
兼容性与 API
DataGear 旨在成为一个简单且轻量的解决方案,因此设计为能与其他模组无缝协作。
- 标签支持:DataGear 添加了一些标签以帮助你定位物品。请参阅 此处。
- 动态发现:动态搜索模组化的修饰符和组件,只要不执行奇怪的操作,大多数模组开箱即用。
- 自定义槽位:包含
DataGearPlugin API,供模组注册自定义槽位(如 Curios、Trinkets 或 Accessories)。
如果遇到任何问题或不兼容情况,请在 此处 报告。
重写版本正在开发中。若要查看我不断扩展但从未完成的 TODO 列表,请点击 此处。
该模组适用于 Neoforge 和 Fabric 26.1+,并且可能会向后移植到两个加载器的 1.21.1 版本。永远不会提供 Forge 或 1.20 的移植版本。
DataGear is a powerful hot-reloadable library mod for Minecraft 26.1+ that exposes components, flags, and other modifiers as data. It allows developers to modify them using simple JSON datapack files without writing a single line of code.
Mod, Datapack and Modpack developers: Read the wiki to see how to use DataGear.
Features
- Data-Driven items: Modify any component or modifier such as armor points, toughness, attack damage, speed, durability via datapacks.
- Live Reload: Use
/reload to apply changes instantly.
- Simple yet powerful JSON engine: Easy-to-understand data structure. Read the wiki to see examples.
Compatibility & API
DataGear is meant to be a simple and lightweight solution, and as so it's designed to work seamlessly with other mods.
- Tagging: DataGear adds some tags to help you target items. See them here.
- Dynamic Discovery: Dynamically searches for modded modifiers and components, supports most mods out of the box as long as they don't do anything weird.
- Custom Slots: Includes a
DataGearPlugin API for mods to register custom slots (like Curios, Trinkets, or Accessories).
If you encounter any issues or incompatibilities, please report them here.
A rewrite is under development. To see my ever-expanding but never-fulfilled TODO list, click here.
The mod is available for Neoforge and Fabric 26.1+ and MIGHT be backported to 1.21.1 for both loaders. No Forge or 1.20 ports are ever happening.
评论 0
登录后参与评分
还没有评论,来抢沙发吧