Creating TaCZ Gun Packs

How To Build Your First TaCZ Gun Pack From Scratch

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 reuse tacz for 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 as tacz:556x45 or tacz: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 .ogg files.

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 IDs

Step-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.

  1. Create gunpack.meta.json at the pack root: Declare your namespace and an optional dependencies version range such as "tacz": "[1.1.4,)" so older mod versions cleanly skip the pack instead of crashing.
  2. Create assets/my_pack/gunpack_info.json: Provide version, localized name and desc keys, license, an authors string array, and an ISO 8601 date (YYYY-MM-DD).
  3. Create assets/my_pack/lang/en_us.json: Map every translation key used in gunpack_info.json and your gun index files to readable English names.
  4. Create data/my_pack/index/guns/carbine.json: The filename (carbine) becomes the registered gun ID (my_pack:carbine). Point display to my_pack:carbine_display, data to my_pack:carbine_data, choose a Creative tab type (pistol, sniper, rifle, shotgun, smg, mg, or rpg), set item_type to "modern_kinetic", and set a sort number (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 & FileExample ValueActual Disk Path Inside Pack
Index datamy_pack:carbine_datadata/my_pack/data/guns/carbine_data.json
Index displaymy_pack:carbine_displayassets/my_pack/display/guns/carbine_display.json
Display modelmy_pack:gun/carbine_geoassets/my_pack/geo_models/gun/carbine_geo.json
Display texturemy_pack:gun/uv/carbineassets/my_pack/textures/gun/uv/carbine.png
Display slot / hudmy_pack:gun/hud/carbineassets/my_pack/textures/gun/hud/carbine.png
Display animationmy_pack:carbineassets/my_pack/animations/carbine.animation.json (or .gltf)
Display sounds.shootmy_pack:carbine/carbine_shootassets/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/, and data/ must sit directly at the top level of the .zip archive. 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/, and data/<ns>/tacz_tags/. Using legacy models/, sounds/, or tags/ 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, digits 0-9, underscores _, hyphens -, and dots .. Rename MyCarbine.json to my_carbine.json everywhere.
  • 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.

Related Tools & Guides