FTB Quests Reset Patch
No reviews yet
Fixes Quests resetting items with Air, Apples, Zombie x100, quests changing position to 0,0, quests sometimes deleting themselves
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
The main issue with ftb's reward tables is they interfere with ftbquests' loop when adding quest data, leading to quest data being lost.
FTB Quests loads a quest file in two passes.
Pass 1 - creates every chapter, quest, task and reward as a blank shell, stashes each one's real data in a cache.
Pass 2 - takes that list, counts the number of times it needs to run, and fills each shell with data from the cache. Sounds simple, right?
Problem: When the iterator (for-each loop) reaches reward tables, the table creates its rewards and adds them to the list already being iterated. The iterator's "budget" was locked in at a number, never updated, so it runs out with data still left in the cache from pass 1, untouched. The data is then lost when you save the quests.
It only triggers when a reward inside a reward table has no real ID (id: "0000000000000000") — that's what makes FTB Quests assign IDs and register them mid-loop.
| FTB Quests | Minecraft | Affected |
|---|---|---|
| 2001.4.x | 1.20.1 | No |
| 2101.1.20 – 2101.1.28 | 1.21.1 | Yes |
| 2111.1.0 – 2111.1.5 | 1.21.11 | Yes |
| 26.1.2.1 – 26.1.2.2 | 26.1 | Yes |
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources