Add "dependencies" from Resource Pack manifest to Behavior Pack manifest UUID
abrightmoore opened this issue · 0 comments
abrightmoore commented
Detailed description of your suggestion
Using the item, entity, and block wizards for Bedrock there is an option to create a BP/RP pair. The BP has dependencies set to the RP, but the RP does not have the dependencies set to the BP. This can cause the generated BP not to load if the player selects to activate the RP in game settings instead of the RP.
Suggest the RP has a similar link to the BP through the dependencies element of the RP manifest.json.
example:
RP manifest:
{
"format_version": 2,
"header": {
"name": "twf_",
"description": "twf_ Resource Pack",
"uuid": "895298d5-e75f-8e6a-5ce8-53d7c48e1b4c",
"version": [1, 0, 0],
"min_engine_version": [1, 16, 0]
},
"dependencies": [ <-- THIS IS MISSING WHEN AUTO-GENERATED
{
"uuid": "b1c8cda4-5035-280d-b958-1eb8d9985dac",
"version": [1, 0, 0]
}
]
}
BP manifest:
{
"format_version": 2,
"header": {
"name": "twf_",
"description": "twf_ Behavior Pack",
"uuid": "b1c8cda4-5035-280d-b958-1eb8d9985dac",
"version": [1, 0, 0],
"min_engine_version": [1, 20, 0] },
"dependencies": [
{
"uuid": "895298d5-e75f-8e6a-5ce8-53d7c48e1b4c",
"version": [1, 0, 0]
}
]
}