Quest Event Bridge

模组

· 作者 ReconHalcyon

桥接模组以捕获事件并写入 persistentData

0 本站下载 0 关注 更新于 10 个月前

最新 1.1.1 · 1.21.1 · NeoForge

一键开服(送7天)

Bridge for SubscribeEvent to KubeJS usage.

Currently supporting onTrade(TradeWithVillagerEvent).

This mod will capture onTrade events and stores the villager profession and times traded to the players persistentData. Kubejs can be used to read persistentData and hook an FTBQuest task ID to use said data.

For example,

  1. FTBQuest custom task set to 'Trade 10x with a Librarian'
  2. KubeJS script set to hook player persistentData to custom task ID
  3. Quest Event Bridge writes onTrade event count/profession to persistentData
  4. Success

Forgive the lack of description/documentation. This mod is primarily being developed to be used in a modpack. I needed a specific event capture to allow certain event progress within FTBQuests.

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源