FFModsSubfolders
保持你的 mods 文件夹井井有条。FFModsSubfolders 让你能够按照类别、整合包分区或任何对你有意义的方式将模组分类到子文件夹中,而不是面对一个巨大的扁平列表,同时 NeoForge 不会丢失对其中任何一个模组的追踪。
此模组必须保留在顶层文件夹中,如果存在 Sinytra Connector 也需如此,但其他所有模组都可以放置在 /mods/ 内的子文件夹中。
功能
- 支持任意深度的子文件夹。
mods/performance/、mods/qol/utility/ - 没有模组会被遗漏。 作为嵌入式模组早期加载包装器发布的模组(Sodium 的 NeoForge jar 是主要示例)仍会从子文件夹注册其真实的模组 ID,因此依赖它们的模组(如 (Sodium) Chloride)可以正常解析。
- 一次性禁用整个文件夹。 将文件夹重命名为以
.disabled结尾,其中的所有内容都会被跳过,这与通过将单个模组的 jar 重命名为以.disabled结尾来禁用单个模组的方式相同。 - Sinytra Connector 兼容。 通过 Connector 运行的 Fabric 模组也会在子文件夹中被自动发现,无需任何设置。
- 清晰的日志记录。 启动摘要,以及针对异常情况的特定且可操作的警告(例如损坏的 jar、意外的重复项、无法读取的文件夹)。
已知限制
- 此模组自身的 jar 必须保留在
mods的顶层。 它本身不能被组织到子文件夹中。其他所有模组可以自由放置在任何位置。 - Sinytra Connector 的 Fabric 模组集成有一个边缘情况: 名称(或其祖先文件夹的名称)中包含字面逗号的子文件夹无法安全地中继给 Connector。该文件夹中的常规 NeoForge 模组无论如何都会正常加载,仅影响 Connector 在该特定文件夹中看到 Fabric 模组的能力。如果发生这种情况,你的日志会明确指出是哪个文件夹。
- 同一时间只能激活一个早期加载屏幕替换模组,如果你碰巧有多个提供此类功能的模组并放置在不同的子文件夹中(这种情况很少见——大多数模组根本不会触碰加载屏幕)。NeoForge 决定哪个胜出;如果你的日志检测到多个候选者,它会进行提示。
常见问题
既然这个模组的核心目的是使用子文件夹,为什么它自己必须保留在 mods 的顶层?
由于模组加载机制的工作原理,一个负责在子文件夹中寻找其他模组的模组,无法在同一过程中找到它自己位于子文件夹中;它必须在开始查找之前就已经运行。其他所有模组可以自由放置在任何位置。
这会拖慢启动速度吗?
不会有显著影响。这是一个文件系统遍历操作,与 NeoForge 已经为 mods 顶层所做的同类工作相同,只是扩展到了覆盖子文件夹。
这会破坏任何东西吗?
应该不会。此模组只是增加了 NeoForge 查找模组的位置;它不会改变任何模组本身的加载或行为方式。如果出现异常,请检查以 [mod scan] 或 [early-service scan] 开头的日志行,因为这些条目专门设计用于方便排查问题。
这在与使用 Sinytra Connector 运行 Fabric 模组的整合包中兼容吗? 是的,完全兼容。常规 NeoForge 模组和 Fabric 模组(通过 Connector)都可以从子文件夹中正常工作。
反馈
如果你有改进建议、疑问或担忧,欢迎通过电子邮件与我联系:FyxeINCFeedback@gmail.com
FFModsSubfolders
Keep your mods folder organized. FFModsSubfolders lets you sort your mods into subfolders
by category, by modpack section, however makes sense to you instead of one giant flat list,
without NeoForge losing track of any of them.
This mod must stay in the top level folder, as must Sinytra Connector if present, but any other mods should be able to be placed in subfolders within /mods/
Features
- Subfolders, to any depth.
mods/performance/,mods/qol/utility/ - Nothing gets left behind. Mods that ship as an early-loading wrapper around an embedded mod (Sodium's NeoForge jar is the main example) still register their real mod id from a subfolder, so things that depend on them (like (Sodium) Chloride) resolve.
- Disable a whole folder at once. Rename a folder to end in
.disabledand everything inside it is skipped, the same way a single mod is disabled by renaming its jar to end in.disabled. - Sinytra Connector compatible. Fabric mods running via Connector are found in subfolders too, automatically, with zero setup.
- Clear logging. A startup summary, and specific, actionable warnings if something looks wrong (a corrupt jar, an accidental duplicate, a folder that couldn't be read).
Known Limitations
- This mod's own jar must stay in the top level of
mods. It can't be organized into a subfolder itself. Every other mod is free to go anywhere. - Sinytra Connector's Fabric-mod integration has one edge case: a subfolder whose name (or an ancestor folder's name) contains a literal comma can't be relayed to Connector safely. Regular NeoForge mods in that folder still load normally either way, only Connector's ability to see Fabric mods in that specific folder is affected. Your log will say exactly which folder, if this ever applies to you.
- Only one early loading-screen replacement can be active at a time, if you happen to have more than one mod that provides one placed in different subfolders (this is rare - most mods never touch the loading screen at all). NeoForge decides which one wins; your log will say if it detects more than one candidate.
FAQ
Why does this mod have to stay in the top level of mods, if the whole point is subfolders?
Because of how mod loading works under the hood, a mod that finds other mods in subfolders
can't also find itself in one, it has to already be running before it can go looking. Every
other mod is free to go anywhere.
Does this slow down startup?
Not meaningfully. It's a filesystem walk, the same kind of work NeoForge already does for the top
level of mods, just extended to cover subfolders too.
Will this break anything?
It shouldn't. This mod only adds places NeoForge looks for mods; it doesn't change how any mod
itself loads or behaves. If something looks wrong, check your log for lines starting with
[mod scan] or [early-service scan]as they're written specifically to make problems easy to
diagnose.
Does this work with modpacks that use Sinytra Connector to run Fabric mods? Yes, fully. Both regular NeoForge mods and Fabric mods (via Connector) work from subfolders.
Feedback
If you have any ideas for improvements, questions, or concerns, I am open to communicating through email: FyxeINCFeedback@gmail.com
下载 FFModSubfolders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FFModSubfolders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FFModSubfolders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FFModSubfolders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FFModSubfolders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FFModSubfolders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FFModSubfolders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FFModSubfolders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FFModSubfolders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FFModSubfolders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 修复了 Windows 系统每次启动时临时文件在 temp 文件夹中堆积的问题。现在模组会将这些文件保存在游戏文件夹中的
.cache/ffmodsubfolders内,并清理未使用的文件。 - 一个无法读取的子文件夹不再阻止对其余子文件夹的扫描。
- 包含早期启动服务(例如 Sodium 的图形工作区)的模组在被放置在子文件夹中时,会在所有支持的版本上记录警告;请将这些模组直接放在
mods文件夹中。 - 启动消息现在会提示是否关闭了子文件夹扫描功能。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧