快速开始

IAGather 是什么?

IAGather 是一个基于 TabooLib 的 Paper/Spigot 插件,为 Minecraft 服务器提供与 ItemsAdderCustomCrops 深度集成的采集系统。

  • 支持对 ItemsAdder 自定义方块进行"读条采集"
  • 内置等级系统,采集获得经验升级
  • 技能系统,提供被动加成和主动增益
  • 与 CustomCrops 动作系统完美联动

环境要求

Minecraft 版本 1.20.4+
服务端 Paper / Spigot
前置插件 ItemsAdder + CustomCrops
开发框架 TabooLib 6.2

最小跑通流程

1. 安装插件

IAGather.jar 放入 plugins/ 目录,重启服务器。

2. 确认依赖加载

查看控制台日志,确认以下信息:

[IAGather] Enabling IAGather...
[IAGather] ItemsAdder found!
[IAGather] CustomCrops found!

3. 配置采集工具

编辑 plugins/IAGather/config.yml,设置采集工具白名单:

tools:
  - "ia:your_namespace:your_tool"

4. 配置采集目标

编辑 plugins/IAGather/targets.yml,添加 ItemsAdder 方块:

targets:
  your_namespace:your_block:
    required-level: 0
    time-seconds: 3
    exp-on-success: 10
    success-expression: "0.8"
    on-success:
      action_1:
        type: message
        value: "&a采集成功!"

5. 测试采集

手持配置的采集工具,右键点击对应的 ItemsAdder 方块,观察进度条显示。

成功标志:动作栏显示采集进度,读条完成后收到成功/失败消息。