Skip to content

Quest Event Bridge

Utility mod to add Villager Trade Task to FTBQuests

39k downloads Updated

Last update on each platform

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Version 1.1.0- Quest Event Bridge aids in creating Tasks in FTBQuests.  Currently, it supports Villager trade count and trade output as a task selection.  Pick a profession, number of trades needed, maybe an item to trade for and voila! Quests for trading with villagers

Current known issues:
- repeatable flag doesn't work as intended with Villager Trade Tasks.  Quest progress does not reset count due to lack of functions/support. May come in a later update

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.