TaCZ 配方修复
修复在使用自定义枪械包时,TaCZ 枪械制作配方消失或无法加载的问题。
? 关于
此模组解决了 Timeless and Classics Guns (TaCZ) 附加枪械包的一个常见问题:枪械会出现在游戏中,但它们的合成配方从未出现,导致你无法在枪匠工作台(Gun Smith Table)中合成它们。
它通过以下三种方式工作:
1. 延迟同步
TaCZ 和枪械包附加内容会在玩家完成加入服务器后稍晚一点注册其配方。这种竞争条件会导致在重新加入服务器时配方消失。此模组会在加入后等待约 3 秒,然后向玩家重新发送完整的配方列表——从而修复不稳定或缺失的配方问题。
2. 配方注入
大多数 TaCZ 枪械包必须放置在 ../tacz/ 文件夹中(TACZ 自己的枪械包目录)。当放置在该位置时,TACZ 能正确加载枪械物品——但 Minecraft 永远不会看到合成配方,因为它们位于 world/datapacks/ 之外。
此模组扫描 ../tacz/ 文件夹(以及其他常见位置)中的枪械包配方文件,然后使用 TaCZ 自带的 tacz:gun_smith_table_crafting 序列化器将配方直接注入到 RecipeManager 中。这些配方即可立即在枪匠工作台中进行合成。
3. 命令
| 命令 |
描述 |
/taczfix check |
扫描并从文件系统注入枪械包配方 |
/taczfix resync |
强制向所有在线玩家推送配方列表 |
/taczfix debug |
列出所有已注册的枪械包配方 |
✅ 功能
- 自动检测枪械包(Elite X Quality Guns、STF Sentinel 等)
- 扫描
../tacz/、mods/ 和 world/datapacks/ 中的配方文件
- 将
tacz:gun_smith_table_crafting 配方直接注入 RecipeManager
- 详细的服务器日志,显示具体哪些配方已加载、失败或损坏
- 无需配置——开箱即用
TaCZ Recipe Fix
Fixes TaCZ gun crafting recipes disappearing or not loading when using custom gun packs.
? About
This mod solves a common problem with Timeless and Classics Guns (TaCZ) addon gun packs: guns show up in the game, but their crafting recipes never appear, so you can't craft them at the Gun Smith Table.
It works in three ways:
** 1. Delayed Sync
TaCZ and gun pack addons register their recipes slightly after a player finishes joining the server. This race condition causes recipes to disappear on server re-join. This mod waits ~3 seconds after join, then re-sends the full recipe list to the player — fixing flaky or missing recipes.
** 2. Recipe Injection
Most TaCZ gun packs must be placed in the ../tacz/ folder (TACZ's own gun pack directory). When placed there, TACZ loads the gun items correctly — but Minecraft never sees the crafting recipes because they're outside world/datapacks/.
This mod scans the ../tacz/ folder (plus other common locations) for gun pack recipe files, then injects them directly into the RecipeManager using TaCZ's own tacz:gun_smith_table_crafting serializer. Recipes become craftable at the Gun Smith Table immediately.
**3. Commands
| Command |
Description |
/taczfix check |
Scan and inject gun pack recipes from the filesystem |
/taczfix resync |
Force-push the recipe list to all online players |
/taczfix debug |
List all registered gun pack recipes |
✅ Features
- Auto-detects gun packs (Elite X Quality Guns, STF Sentinel, and more)
- Scans
../tacz/, mods/, and world/datapacks/ for recipe files
- Injects
tacz:gun_smith_table_crafting recipes directly into RecipeManager
- Detailed server logs showing exactly which recipes loaded, failed, or are broken
- No config required — works out of the box
评论 0
登录后参与评分
还没有评论,来抢沙发吧