|
| 1 | +--- |
| 2 | +title: Blueprint Collections |
| 3 | +description: Share export settings across many Blueprints, and export them all at once. |
| 4 | +--- |
| 5 | + |
| 6 | +# Blueprint Collections |
| 7 | + |
| 8 | +## What is a Blueprint Collection? |
| 9 | + |
| 10 | +A **Blueprint Collection** (`.bpcollection`) is a list of Blueprints that export into the same Resource Pack and Data Pack. It holds their shared export settings, so you set your target version and pack paths once, and every Blueprint in it uses them. |
| 11 | + |
| 12 | +Collections are great for projects with lots of rigs, like a mob pack or a map with dozens of animated props. Instead of opening every Blueprint to change its version or export it, you open the collection and export them all with one click. |
| 13 | + |
| 14 | +Collections only work in the desktop version of Blockbench. |
| 15 | + |
| 16 | +## Creating a Collection |
| 17 | + |
| 18 | +1. Go to **Animated Java <i class="minecraft-right-arrow"></i> Blueprint Collection <i class="minecraft-right-arrow"></i> New Collection**, or pick **Blueprint Collection** on Blockbench's start screen. |
| 19 | +2. Set the [Shared Settings](#shared-settings). |
| 20 | +3. Click **Add Blueprints** and pick the Blueprints you want in the collection. |
| 21 | +4. Save the collection with `Ctrl + S`. |
| 22 | + |
| 23 | +Saving links each Blueprint to the collection. Open a collection later with **Blueprint Collection <i class="minecraft-right-arrow"></i> Open Collection**, or from Blockbench's recent projects. |
| 24 | + |
| 25 | +## The Collection Tab |
| 26 | + |
| 27 | +A collection opens in its own tab: |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +- The **Shared Settings** panel on the left holds the settings every Blueprint in the collection uses. |
| 32 | +- The middle of the tab shows a card for each Blueprint, with a thumbnail, its name, and its Blueprint ID. A badge marks Blueprints that are open, have unsaved changes, or can't be found. Drag cards to reorder them. |
| 33 | +- The toolbar at the top has **Add Blueprints**, **Export (Debug)**, and **Export**. |
| 34 | + |
| 35 | +Double-click a card to open its Blueprint. Right-click it to **Open** the Blueprint, **Change Blueprint ID**, **Locate…** a Blueprint that was moved, or **Remove from Collection**. |
| 36 | + |
| 37 | +## Shared Settings |
| 38 | + |
| 39 | +A collection owns these [Blueprint Settings](/docs/core-concepts/blueprints#blueprint-settings) for every Blueprint in it: |
| 40 | + |
| 41 | +- [Target Minecraft Version](/docs/core-concepts/blueprints#target-minecraft-version) |
| 42 | +- [Resource Pack Export Format](/docs/core-concepts/blueprints#resource-pack-export-format) and [Resource Pack Folder / Zip](/docs/core-concepts/blueprints#resource-pack-folder--zip) |
| 43 | +- [Data Pack Export Format](/docs/core-concepts/blueprints#data-pack-export-format) and [Data Pack Folder / Zip](/docs/core-concepts/blueprints#data-pack-folder--zip) |
| 44 | + |
| 45 | +They override each Blueprint's own values when it's opened, and again right before every export, even if you export the Blueprint on its own. In the Blueprint's settings, these fields are locked, and the [Collection](/docs/core-concepts/blueprints#collection) page shows where they come from. |
| 46 | + |
| 47 | +Everything else, like the Blueprint ID or the [Rig](/docs/core-concepts/blueprints#rig) settings, stays per Blueprint. |
| 48 | + |
| 49 | +:::tip |
| 50 | +Pack paths that start with `./` or `../` are relative to the collection file. Keep your collection next to your packs and you can move the whole project folder, or share it, without fixing paths. |
| 51 | +::: |
| 52 | + |
| 53 | +## Exporting a Collection |
| 54 | + |
| 55 | +Click **Export** or **Export (Debug)** in the collection tab, or use **Blueprint Collection <i class="minecraft-right-arrow"></i> Export Collection** while any Blueprint from the collection is open. Every Blueprint in it is exported, one after another. Blueprints that aren't open are opened for their export and closed again, so you don't need to open them first. |
| 56 | + |
| 57 | +Before anything is written, Animated Java checks every Blueprint in the collection, so one broken Blueprint can't leave your packs half exported. |
| 58 | + |
| 59 | +When the packs are set to **Zip**, every Blueprint goes into the same `.zip` file. |
| 60 | + |
| 61 | +:::warning |
| 62 | +In **Zip** mode, always export with **Export Collection**. Exporting a single Blueprint from the collection on its own replaces the zip with just that rig. |
| 63 | +::: |
| 64 | + |
| 65 | +### Removing Blueprints |
| 66 | + |
| 67 | +When you remove a Blueprint from a collection, its rig stays in the packs until the next collection export, which deletes it. Rigs that were exported outside the collection are never touched. |
| 68 | + |
| 69 | +## Limitations |
| 70 | + |
| 71 | +A collection refuses to export, and tells you why, if: |
| 72 | + |
| 73 | +- a Blueprint uses the **Plugin** [Target Environment](/docs/core-concepts/blueprints#target-environment), since it exports a JSON file instead of packs, |
| 74 | +- a Blueprint has never been saved, or can't be found, |
| 75 | +- two Blueprints in it share a [Blueprint ID](/docs/core-concepts/blueprints#blueprint-id), |
| 76 | +- the collection hasn't been saved yet. |
| 77 | + |
| 78 | +A Blueprint can only be in one collection at a time. To move it, remove it from the old one first. |
| 79 | + |
| 80 | +If a Blueprint's collection goes missing, or no longer lists it, Animated Java shows a warning when you open the Blueprint, and it exports with its own settings until you fix it. |
| 81 | + |
| 82 | +## Related Reading |
| 83 | + |
| 84 | +- [Blueprints](/docs/core-concepts/blueprints) |
| 85 | +- [Exporting](/docs/core-concepts/exporting) |
0 commit comments