Описание
---
# 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