跳到正文

FTB Quests Reset Patch

作者:Texbio

Fixes Quests resetting items with Air, Apples, Zombie x100, quests changing position to 0,0, quests sometimes deleting themselves

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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 

常见问题

FTB Quests Reset Patch 支持哪些 Minecraft 版本?

FTB Quests Reset Patch 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

FTB Quests Reset Patch 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Texbio 的其他作品

查看全部 →