跳到正文

Datagear

作者:WFPhantom

*data grinding noises* Manage components through data!

收藏

介绍

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

![][cf-link]

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.

常见问题

Datagear 支持哪些 Minecraft 版本?

Datagear 支持 Minecraft Java 版 26.1–26.3,共 5 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

Datagear 怎么安装?

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

评论

登录后评论和评分

WFPhantom 的其他作品

查看全部 →