Resolve Minecraft Bedrock gun add-on failures fast: fix Failed to import and duplicate UUID errors, read the Content Log, repair broken attachable poses, and troubleshoot @minecraft/server script crashes.
Fixing Import Failures and Duplicate Pack Errors
When double-clicking a .mcaddon or .mcpack triggers Failed to import, the archive structure or manifest.json is usually at fault. First, confirm the file is genuinely a standard ZIP archive renamed to .mcpack or .mcaddon - renaming a .rar or .7z file will always fail inside Bedrock.
Second, check archive depth: inside a .mcpack, manifest.json must sit directly at the root. Inside a .mcaddon, the root should contain the BP and RP folders (or .mcpack files), each with manifest.json directly inside. Third, if Bedrock prints Duplicate pack detected, you already have an older version with the same UUID installed: delete the old BP and RP from Settings -> Storage (or bump the version array and generate fresh UUIDs if you are developing a fork).
Turning On Content Log to Read Exact Bedrock Errors
Never guess why a Bedrock gun add-on is misbehaving. Open Settings -> Creator and turn on both Enable Content Log File and Enable Content Log GUI. When you load your world, Bedrock prints every JSON schema error, missing geometry identifier, deprecated component, and JavaScript exception directly to the top of your screen and saves them to logs/ContentLog*.txt.
| Symptom / Content Log Clue | Underlying Cause | Direct Fix |
|---|---|---|
Failed to import on open | Invalid JSON in manifest.json, wrong zip depth, or .rar renamed | Validate JSON syntax and re-zip with manifest.json at pack root |
| Gun does nothing on right-click / hold | Missing minecraft:use_modifiers or legacy chargeable component | Update item format_version to 1.20.50+ and use minecraft:use_modifiers |
| Gun fires nothing / ignores ammo | Ammo lacks minecraft:projectile or search_inventory is false | Add minecraft:projectile to ammo item and enable search_inventory: true |
| Gun floats at feet or crooked angle | Missing hand bone binding or conflicting player.entity.json | Add q.item_slot_to_bone_name(context.item_slot) and disable rival player-anim packs |
| Reload / full-auto / HUD script dead | Outdated @minecraft/server beta dependency or Beta APIs disabled | Enable Beta APIs (if required) or update the add-on to a current release |
Repairing Broken 3D Holding Poses and Animation Conflicts
Many popular Bedrock gun packs override vanilla RP/entity/player.entity.json and RP/animation_controllers/player.animation_controllers.json to make the player's third-person arms aim rifles with two hands. Because Bedrock loads Resource Packs from top to bottom, running two gun add-ons (or a gun add-on plus a player-animation pack) simultaneously often overwrites those shared player files, breaking aiming poses or making weapons vanish.
To confirm a pack conflict, create a clean test world with only one gun add-on's BP and RP active. If animations work cleanly alone, move that gun add-on to the top of your Resource Pack stack in your main world, or remove the conflicting player-animation pack. If the gun still floats awkwardly alone, drop the .mcaddon into /viewer/ and /tools/validator/ to check whether its attachable references missing geometry or animation IDs.
Troubleshooting Script API (@minecraft/server) Crashes
Modern Bedrock gun add-ons rely heavily on the Script API for smooth full-auto firing, magazine reloads, recoil, and scopes. When a Minecraft Bedrock update drops, add-ons that pinned an experimental -beta version of @minecraft/server in BP/manifest.json often stop running altogether, logging Module [@minecraft/server] version [...] not found in the Content Log.
Also remember that Bedrock removed the legacy Holiday Creator Features toggle in newer versions. Very old gun add-ons built around Holiday Creator Features (minecraft:on_use JSON events instead of Script API or minecraft:shooter) cannot function on modern Bedrock releases until their author updates them to current item components and stable @minecraft/server modules.
- Open
World Settings -> Experimentsand check whether the add-on requires Beta APIs (only needed if itsmanifest.jsondepends on a-betascript version). - Check
BP/manifest.jsonunderdependenciesto see the exact@minecraft/serverversion requested and confirm it matches your current Bedrock release. - Inspect Content Log GUI for JavaScript
TypeErrororReferenceErrorlines - these confirm an API signature change after a game update and mean you need an updated version of the add-on.
Common Mistakes & Fixes
- Activating Only the Behavior Pack Without Its Resource Pack: In Bedrock World Settings, Behavior Packs and Resource Packs live in two separate tabs. Confirm both the BP and RP for your gun add-on appear under Active before loading the world.
- Stacking Multiple Gun Add-Ons That Override player.entity.json: Two add-ons modifying
player.entity.jsonwill overwrite each other's animation controllers. Test one gun add-on at a time and avoid mixing rival player-animation packs in the same world. - Using Pre-1.20.50 Add-Ons That Depended on Holiday Creator Features: Legacy JSON events tied to Holiday Creator Features no longer execute in modern Bedrock. Switch to updated gun add-ons built on stable
1.20.50+/1.21.xitem components and Script API. - Leaving Duplicate Old Versions Installed in Storage: If an updated
.mcaddonrefuses to import, go toSettings -> Storage -> Behavior PacksandResource Packs, delete the older copy completely, restart Minecraft, and import the new file fresh.
Frequently Asked Questions
Why does a Bedrock gun add-on work on Windows PC but fail on Android or iOS?
Mobile filesystems are strictly case-sensitive (Textures/Items/AK.png fails if the JSON asks for textures/items/ak.png). Some mobile file managers also append .zip to .mcaddon downloads - rename it back to .mcaddon before opening.
Can I use Bedrock gun add-ons on Realms?
Yes, as long as the add-on uses stable components and stable @minecraft/server APIs without deprecated experiments. Upload the world with both BP and RP activated and set the Resource Pack as required.
Why does my gun show a normal texture in /viewer/ but break in-game?
The browser viewer renders the attachable geometry, PNG texture, and raw animations directly, without running Bedrock animation controllers or Script API modules. If it renders fine in /viewer/, focus your debugging on Content Log script/controller errors and World Settings.
How do I check if a downloaded .mcaddon is missing its Resource Pack?
Drop the .mcaddon into /tools/validator/ or /viewer/. If it only lists a Behavior Pack with no attachables or textures, you downloaded a BP-only file and need the matching Resource Pack.