Quest Event Bridge
ModLicenseRef-All-Rights-Reserved

Quest Event Bridge

Bridge mod to capture events and write to persistentData

17
Downloads
0
Followers
3 months ago
Updated
📦
2
Versions

📖About Quest Event Bridge

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.