Skip to content

Commit 561ac74

Browse files
committed
📦 Document "mod_loaded" option when registering
1 parent 12fc588 commit 561ac74

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/custom-backpack/register-the-backpack.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ Once you've created the file, open it with your text editor and simply add an em
3030

3131
![Test](/img/bare_minimum_datapack.png)
3232

33+
## Dependencies
34+
35+
If the backpack should only be registered if a specific mod is present, the tag `mod_loaded` with the specified `mod_id` can be added to the JSON object.
36+
37+
```json title="data/<namespace>/backpacked/<your_backpack_name>.json"
38+
{
39+
"mod_loaded": "create" // Create must be installed for this backpack to be registered
40+
}
41+
```
42+
3343
## Next Step
3444

3545
It's time to move on to [creating the backpack model](/docs/custom-backpack/creating-the-model), and start to bringing your designs into the game!

0 commit comments

Comments
 (0)