Set up a valid TaCZ 1.1.4+ dual resource/datapack layout with gunpack.meta.json, gunpack_info.json, namespaces, gun index files and browser validation.
How The TaCZ 1.1+ Pack Architecture Works
Starting with TaCZ 1.1.4+, every gun pack is structured simultaneously as a standard Minecraft resource pack (assets/) and datapack (data/), identified by a single root metadata file named gunpack.meta.json. Client visuals - Bedrock models, textures, animations, HUD icons, display configs, localization files and sounds - live inside assets/<namespace>/. Gameplay logic - gun stats, index definitions, crafting recipes and attachment tag whitelists - lives inside data/<namespace>/.
Unlike vanilla resource packs, you do not need a pack.mcmeta file. Place the finished gun pack directly inside <game_directory>/tacz/ (not the legacy config/tacz/custom/ path). TaCZ loads both uncompressed folders and .zip archives identically: keep your pack as a folder while editing and debugging, then zip the root contents for distribution.
- Unique lowercase namespace: Pick an identifier using lowercase letters, digits and underscores (for example
frontier_arms). Never reusetaczfor new content unless intentionally appending compatibility tags. - Cross-pack referencing: Any gun can reference shared ammo, sounds, scripts or default animations from another pack via
namespace:resource_path(such astacz:556x45ortacz:dry_fire). - Self-contained assets: Gun models must use the Bedrock Entity geometry format (
_geo.json) exported from Blockbench, and all sound effects must be.oggfiles.
Complete Minimal TaCZ 1.1+ Directory Tree
Before creating JSON files, establish a clean folder hierarchy. Pay special attention to the three TaCZ-prefixed folders introduced in 1.1.4+ to prevent collisions with vanilla and other mods: geo_models/, tacz_sounds/, and tacz_tags/.
my_first_pack/ # Pack root (or zip root)
gunpack.meta.json # Required pack identifier
assets/
my_pack/ # Your unique namespace
gunpack_info.json # Pack title, version, authors
lang/
en_us.json # Localized item and pack names
display/
guns/
carbine_display.json # Model, textures, HUD, sounds
geo_models/
gun/
carbine_geo.json # Bedrock entity model
textures/
gun/
uv/carbine.png # 3D UV texture
slot/carbine.png # 64x64 inventory icon
hud/carbine.png # 3:1 HUD side silhouette
animations/
carbine.animation.json # Bedrock or .gltf animation
tacz_sounds/
carbine/carbine_shoot.ogg # OGG audio clips
data/
my_pack/
index/
guns/
carbine.json # Registers ID my_pack:carbine
data/
guns/
carbine_data.json # Damage, RPM, reload, recoil
recipes/
gun/
carbine.json # Gunsmith table recipe
tacz_tags/
attachments/
allow_attachments/
carbine.json # Allowed attachment IDsStep-By-Step Minimal Pack Metadata And Gun Index
Four small JSON files bind your entire pack together. Remember that strict JSON does not allow trailing commas or // comments - remove any comments before packaging.
- Create
gunpack.meta.jsonat the pack root: Declare yournamespaceand an optionaldependenciesversion range such as"tacz": "[1.1.4,)"so older mod versions cleanly skip the pack instead of crashing. - Create
assets/my_pack/gunpack_info.json: Provideversion, localizednameanddesckeys,license, anauthorsstring array, and an ISO 8601date(YYYY-MM-DD). - Create
assets/my_pack/lang/en_us.json: Map every translation key used ingunpack_info.jsonand your gun index files to readable English names. - Create
data/my_pack/index/guns/carbine.json: The filename (carbine) becomes the registered gun ID (my_pack:carbine). Pointdisplaytomy_pack:carbine_display,datatomy_pack:carbine_data, choose a Creative tabtype(pistol,sniper,rifle,shotgun,smg,mg, orrpg), setitem_typeto"modern_kinetic", and set asortnumber (lower numbers appear first).
// 1. gunpack.meta.json
{
"namespace": "my_pack",
"dependencies": {
"tacz": "[1.1.4,)"
}
}
// 2. assets/my_pack/gunpack_info.json
{
"version": "1.0.0",
"name": "pack.my_pack.name",
"desc": "pack.my_pack.desc",
"license": "CC BY-NC-ND 4.0",
"authors": ["YourName"],
"date": "2026-01-15"
}
// 3. data/my_pack/index/guns/carbine.json
{
"name": "my_pack.gun.carbine.name",
"display": "my_pack:carbine_display",
"data": "my_pack:carbine_data",
"type": "rifle",
"item_type": "modern_kinetic",
"sort": 10
}Resource Path Resolution Rules
TaCZ strips the root asset category folder and file extension from every namespace:path string. Understanding how each JSON field resolves to disk eliminates 90% of missing-model and missing-texture bugs.
| JSON Field & File | Example Value | Actual Disk Path Inside Pack |
|---|---|---|
Index data | my_pack:carbine_data | data/my_pack/data/guns/carbine_data.json |
Index display | my_pack:carbine_display | assets/my_pack/display/guns/carbine_display.json |
Display model | my_pack:gun/carbine_geo | assets/my_pack/geo_models/gun/carbine_geo.json |
Display texture | my_pack:gun/uv/carbine | assets/my_pack/textures/gun/uv/carbine.png |
Display slot / hud | my_pack:gun/hud/carbine | assets/my_pack/textures/gun/hud/carbine.png |
Display animation | my_pack:carbine | assets/my_pack/animations/carbine.animation.json (or .gltf) |
Display sounds.shoot | my_pack:carbine/carbine_shoot | assets/my_pack/tacz_sounds/carbine/carbine_shoot.ogg |
Fast Prototyping, 3D Preview And Validation In The Browser
You do not have to hand-create twenty empty directories from scratch. Open /tools/packmaker/ to generate a clean TaCZ 1.1+ pack skeleton (gunpack.meta.json, gunpack_info.json, en_us.json, index/data/display JSONs), upload your Blockbench _geo.json model, UV PNG and animation clips, preview the weapon live in 3D, and export a ready-to-play .zip archive.
Whenever you make manual edits, drop the folder or .zip into /tools/validator/ before launching Minecraft. The validator checks gunpack.meta.json, namespace hygiene, broken JSON syntax, missing models/textures/icons, unknown ammo IDs, required bones (root, idle_view, muzzle_flash) and invalid PNG headers in seconds. You can also inspect model geometry and bone pivots independently in /viewer/.
Common Mistakes & Fixes
- Zipping the parent folder instead of its contents:
gunpack.meta.json,assets/, anddata/must sit directly at the top level of the.ziparchive. If opening the zip shows a single wrapper folder first, TaCZ will ignore the entire pack. - Placing models in models/ or sounds in sounds/ on TaCZ 1.1+: TaCZ 1.1.4+ looks for
assets/<ns>/geo_models/,assets/<ns>/tacz_sounds/, anddata/<ns>/tacz_tags/. Using legacymodels/,sounds/, ortags/paths causes silent guns or purple-black cubes. - Using uppercase letters or spaces in namespaces and file names: Minecraft resource locations allow only lowercase
a-z, digits0-9, underscores_, hyphens-, and dots.. RenameMyCarbine.jsontomy_carbine.jsoneverywhere. - Leaving // comments or trailing commas in hand-edited JSON: While TaCZ's GSON parser is lenient on some comments, standard JSON tools, datapack validators and editors fail on trailing commas or malformed comments. Strip comments and verify with
/tools/validator/.
Frequently Asked Questions
Should I work in an unpacked folder or a .zip file while building my pack?
Work in an unpacked folder inside .minecraft/tacz/my_pack/ while iterating on models, textures and JSONs, then compress the contents (gunpack.meta.json, assets/, data/) into a .zip file only when sharing or releasing.
Can my gun pack borrow ammo, attachments, or default animations from the official tacz pack?
Yes. Set "ammo": "tacz:556x45" in your gun data, "use_default_animation": "rifle" in your display JSON, or reference "tacz:dry_fire" in your sounds block to reuse built-in default assets cleanly.
Do I need a pack.mcmeta file inside a TaCZ 1.1+ gun pack?
No. TaCZ registers the pack as an internal resource and data repository automatically whenever it detects gunpack.meta.json at the pack root.
Where do I install my finished TaCZ 1.1+ gun pack to test it in Minecraft?
Place the folder or .zip inside <minecraft_instance>/tacz/ (accessible via the Open Gunpack Folder button in the TaCZ config menu) and restart the game or reload packs.