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,
- FTBQuest custom task set to 'Trade 10x with a Librarian'
- KubeJS script set to hook player persistentData to custom task ID
- Quest Event Bridge writes onTrade event count/profession to persistentData
- 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.
你是这个资源的作者?登录后可认领此资源。
相似资源
一个用于收集生物掉落物的多区块模组。
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
查看物品与配方
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
适用于 MC 1.18+ 的 Effekseer 加载器
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧