3D Models & Bedrock Add-On Dev

How to Validate and Debug Broken Gun Packs Before Sharing

Catch broken JSON, missing models, bad namespace characters, UV mismatches, and missing animations in seconds using browser-based pack validation, 3D inspection, and clean log checks before releasing your pack.

Why Pre-Release Validation Catches Hidden Bugs

Many gun packs appear to work on the author's own PC yet break immediately for players and servers. One common culprit is testing with OptiFine installed: OptiFine disables or relaxes several vanilla resource checks, silently forgiving uppercase filenames or sloppy paths that fail on standard Forge, NeoForge, Embeddium, or Iris clients.

Another frequent failure mode is leftover work-in-progress files - half-written recipe templates, backup .json copies, or renamed JPG files pretending to be PNGs - that Minecraft tries to parse during startup and rejects.

Running Automated Static Checks in the Gun Pack Validator

Drop your .zip, .jar, .mcpack, or .mcaddon into /tools/validator/. Everything runs locally inside your browser - no pack files are uploaded anywhere. For TaCZ packs, the validator performs a deep structural and cross-reference audit, while Bedrock add-ons and GeckoLib mod jars receive manifest, attachable, geometry, texture, and animation checks.

SeverityCheck CodeWhat It Catches & How to Fix
Errorno_metagunpack.meta.json missing at pack root (TaCZ 1.1+); check archive nesting or add metadata file
Errorbad_namespace / bad_idUppercase letters, spaces, or non-ASCII characters; rename to lowercase a-z, 0-9, _, ., -
Errormissing_model / missing_texture / missing_dataBroken reference between index, display, and asset files; verify path and remove .json/.png extensions
Errorbad_pngCorrupt or misnamed image (often a WebP/JPG renamed to .png); re-export as a true PNG
Warningtexture_sizePNG aspect ratio does not match .geo.json texture_width x texture_height; fix UV size or canvas
Warningunknown_ammo / unknown_attachmentGun references an ammo or attachment ID outside the pack and TaCZ defaults; document dependency or fix typo
Warningno_root_bone / no_idle_viewModel lacks root or idle_view, breaking default animations or first-person camera framing
Warningrpm_high / no_bolt_timeRPM exceeds TaCZ's recommended 1200 ceiling, or a manual_action gun omits bolt_action_time
Infoanim_unknown_bones / legacy_layoutAnimation targets bones missing from .geo.json, or pack still uses TaCZ 1.0.x folder layout

Visual Verification in the 3D Viewer

Passing JSON validation confirms files exist, but only visual inspection confirms the gun looks right. Open your archive in /viewer/ and step through every gun in the pack:

Switch across Orbit, First Person, Aim, Gunsmith, and Third Person views. Toggle mag_standard vs mag_extended_1..3, sight vs sight_folded, muzzle_default, and first-person hands. Play shoot, reload_tactical, reload_empty, and inspect animations at 0.5x speed to spot detaching magazines, upside-down bolts, or missing muzzle flashes.

Final In-Game Log Check and Clean Packaging

Once /tools/validator/ reports zero errors, test the exported archive on a clean Minecraft profile without OptiFine. Keep logs/latest.log open (on Java) or enable Content Log GUI in Creator Settings (on Bedrock) while entering a test world.

If you need to patch stats, swap a model, or re-export a clean TaCZ 1.1+ archive without extra wrapper folders, you can open your existing pack directly inside /tools/packmaker/, adjust the broken entries, confirm the live validator count drops to zero, and export a fresh .zip.

  1. Remove draft .bbmodel, .psd, backup JSONs, and unused template recipes from your working directory.
  2. Verify gunpack.meta.json (TaCZ) or manifest.json (Bedrock) sits directly at the archive root - not inside an extra duplicate subfolder.
  3. Run the zip through /tools/validator/ and resolve every red error and high-impact warning.
  4. Spot-check each weapon in /viewer/ across Orbit, First Person, Aim, and reload animations.
  5. Install the final archive in a clean game profile, craft or /give every weapon, fire a full magazine, reload both tactical and empty, and attach each supported optic and muzzle.
  6. Scan logs/latest.log (Java) or Content Log (Bedrock) for any remaining warnings before uploading.

Common Mistakes & Fixes

  • Double-Zipping the Root Folder Before Publishing: Zipping the outer folder often creates MyPack.zip/MyPack/gunpack.meta.json, which TaCZ and Bedrock both ignore. Select the inner files (assets/, data/, gunpack.meta.json) directly when creating the archive.
  • Leaving Broken Commented JSON or Trailing Commas: While TaCZ tolerates // comments in many configs, stray trailing commas before } or ] break standard JSON parsers in recipes, tags, and Bedrock manifests. Validate every file in /tools/validator/ or a JSON-aware editor.
  • Testing Only with OptiFine Enabled: OptiFine masks capitalization mistakes and malformed textures that fail for everyone else. Always run your final check on a clean Forge/NeoForge/Fabric client (or with Embeddium/Sodium).
  • Forgetting Cross-Pack Dependencies in Your Pack Notes: If your rifles use ammo or attachments from a third-party library pack, /tools/validator/ flags them as unknown_ammo or unknown_attachment. Either bundle your own ammo definitions or clearly list required dependency packs.

Frequently Asked Questions

Does the online Gun Pack Validator upload my unreleased pack to a server?

No. /tools/validator/ and /viewer/ unpack and check archives 100% locally in your browser's memory. Nothing leaves your computer.

Why does the validator flag RPM above 1200 as a warning?

TaCZ's own default gun pack notes advise keeping rpm at or below 1200 (20 rounds per second, matching Minecraft's 20 ticks-per-second simulation). Higher values can cause inconsistent fire cadence or sound spam.

Can I download a text report of all issues to share with my modeling team?

Yes. After running a scan in /tools/validator/, click Download report to save a structured gun-pack-report.txt listing every error, warning, and file path.

What if my pack passes validation in the browser but still fails in Minecraft?

Check that you placed the pack in the correct folder (.minecraft/tacz/ for TaCZ 1.1+ vs config/tacz/custom/ for 1.0.x), confirm dependencies in gunpack.meta.json matches your installed mod version, and inspect logs/latest.log.

Related Tools & Guides