Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Manifest.json: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(3 intermediate revisions by the same user not shown)
Line 27: Line 27:
*** {{nbt|compound}}: A module object in the list.
*** {{nbt|compound}}: A module object in the list.
**** {{nbt|string|description}}: An internal description of the module.
**** {{nbt|string|description}}: An internal description of the module.
**** {{nbt|string|type}}: The type of the module, can be: {{cd|"resource"}} ([[Minecraft:resource pack]]), {{cd|"data"}} ([[Minecraft:behavior pack]]),{{cd|"persona_piece"}} ([[Minecraft:Character Creator]] item or [[Minecraft:cape]] (marketplace content only)), {{cd|"[[Minecraft:skin_pack]]"}}, {{cd|"[[Minecraft:World template|world_template]]"}}, or {{cd|"script"}} ([[Minecraft:Add-on#Scripting|script]] module).
**** {{nbt|string|type}}: The type of the module, can be: {{cd|"resources"}} ([[Minecraft:resource pack]]), {{cd|"data"}} ([[Minecraft:behavior pack]]),{{cd|"persona_piece"}} ([[Minecraft:Character Creator]] item or [[Minecraft:cape]] (marketplace content only)), {{cd|"[[Minecraft:skin_pack]]"}}, {{cd|"[[Minecraft:World template|world_template]]"}}, or {{cd|"script"}} ([[Minecraft:Add-on#Scripting|script]] module).
**** {{nbt|string|uuid}}: An identifier unique to the module. Must be of the form {{cd|"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}, where x in a hexadecimal number (0-9 or a-f).  
**** {{nbt|string|uuid}}: An identifier unique to the module. Must be of the form {{cd|"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}, where x in a hexadecimal number (0-9 or a-f).  
**** {{nbt|string|version}}: A string of the form {{cd|"A.B.C"}} representing the current version of pack. Used to handle updates to the pack.
**** {{nbt|string|version}}: A string of the form {{cd|"A.B.C"}} representing the current version of pack. Used to handle updates to the pack.
Line 61: Line 61:
**** {{nbt|list}}: The name of the list element should be the name of a tool used to generate the manifest. It must be made of simple characters and can be up to 32 characters long.
**** {{nbt|list}}: The name of the list element should be the name of a tool used to generate the manifest. It must be made of simple characters and can be up to 32 characters long.
***** {{nbt|string}}: A string of the form {{cd|"A.B.C"}} representing a version of the tool used to modify the manifest.
***** {{nbt|string}}: A string of the form {{cd|"A.B.C"}} representing a version of the tool used to modify the manifest.
*** {{nbt|string|product_type}}: If set to {{cd|"addon"}}, indicates the pack is meant as part of an [[Minecraft:add-on]]. This allows the add-on to not disable achievements when activated, and it makes the resource pack required to be downloaded by other players joining the world.
*** {{nbt|string|product_type}}: If set to {{cd|"addon"}}, indicates the pack is meant as part of an [[Minecraft:add-on]]. This makes the resource pack required to be downloaded by other players joining the world.
*** {{nbt|string|url}}: URL to a website.
*** {{nbt|string|url}}: URL to a website.
**{{nbt|list|subpacks}}: Only for resource pack. List of sub-packs used in the pack, which can be enabled and disabled individually.
**{{nbt|list|subpacks}}: Only for resource pack. List of sub-packs used in the pack, which can be enabled and disabled individually.
Line 93: Line 93:
***** {{Nbt|string|name}}: Programmatic identifier for the value of this dropdown item.
***** {{Nbt|string|name}}: Programmatic identifier for the value of this dropdown item.
**** {{nbt|string|default}}: Default value of the dropdown.
**** {{nbt|string|default}}: Default value of the dropdown.
*** {{nbt|compound}}: A multi-select that allows for you to choose items from a list of options.
**** {{nbt|string|type}}: {{cd|"multiselect"}}
**** {{nbt|string|text}}: Textual, user-visible label for the multi-select.
**** {{nbt|string|name}}: Programmatic identifier for the value of this multi-select that must include a namespace.
**** {{nbt|list|options}}: List of all the items in the multi-select.
***** {{Nbt|string|text}}: Textual, user-visible label for the multi-select.
***** {{Nbt|string|name}}: Programmatic identifier for the value of this multi-select item.
**** {{nbt|string|default}}: Default value of the multi-select.
</div>
</div>


Line 113: Line 121:
*** {{nbt|compound}}: A module object in the list.
*** {{nbt|compound}}: A module object in the list.
**** {{nbt|string|description}}: An internal description of the module.
**** {{nbt|string|description}}: An internal description of the module.
**** {{nbt|string|type}}: The type of the module, can be: {{cd|"resource"}} ([[Minecraft:resource pack]]), {{cd|"data"}} ([[Minecraft:behavior pack]]), {{cd|"persona_piece"}} ([[Minecraft:Character Creator]] item or [[Minecraft:cape]]), {{cd|"[[Minecraft:Skin pack|skin_pack]]"}}, {{cd|"[[Minecraft:World template|world_template]]"}}, or {{cd|"script"}} ([[Minecraft:scripting]]).
**** {{nbt|string|type}}: The type of the module, can be: {{cd|"resources"}} ([[Minecraft:resource pack]]), {{cd|"data"}} ([[Minecraft:behavior pack]]), {{cd|"persona_piece"}} ([[Minecraft:Character Creator]] item or [[Minecraft:cape]]), {{cd|"[[Minecraft:Skin pack|skin_pack]]"}}, {{cd|"[[Minecraft:World template|world_template]]"}}, or {{cd|"script"}} ([[Minecraft:scripting]]).
**** {{nbt|string|uuid}}: An identifier unique to the module. Must be of the form {{cd|"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}, where x in a hexadecimal number (0-9 or a-f).  
**** {{nbt|string|uuid}}: An identifier unique to the module. Must be of the form {{cd|"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}, where x in a hexadecimal number (0-9 or a-f).  
**** {{nbt|int-array}}{{nbt|string|version}}: A string of the form {{cd|"A.B.C"}} or vector {{cd|[A,B,C]}} representing the current version of pack. Used to handle updates to the pack.
**** {{nbt|int-array}}{{nbt|string|version}}: A string of the form {{cd|"A.B.C"}} or vector {{cd|[A,B,C]}} representing the current version of pack. Used to handle updates to the pack.
Line 142: Line 150:
**** {{nbt|list}}: The name of the list element should be the name of a tool used to generate the manifest. It must be made of simple characters and can be up to 32 characters long.
**** {{nbt|list}}: The name of the list element should be the name of a tool used to generate the manifest. It must be made of simple characters and can be up to 32 characters long.
***** {{nbt|string}}: A string of the form {{cd|"A.B.C"}} representing a version of the tool used to modify the manifest.
***** {{nbt|string}}: A string of the form {{cd|"A.B.C"}} representing a version of the tool used to modify the manifest.
*** {{nbt|string|product_type}}: If set to {{cd|"addon"}}, indicates the pack is meant as part of an [[Minecraft:add-on]], this also allows the addon to not disable achievements when activated.
*** {{nbt|string|product_type}}: If set to {{cd|"addon"}}, indicates the pack is meant as part of an [[Minecraft:add-on]], this makes the resource pack required to be downloaded by other players joining the world.
*** {{nbt|string|url}}: URL to a website.
*** {{nbt|string|url}}: URL to a website.
</div>
</div>
Line 213: Line 221:


== References ==
== References ==
<references/>
{{Reflist}}


== Navigation ==
== Navigation ==

Latest revision as of 11:18, 7 October 2026

Template:Exclusive manifest.json is a Template:W that contains metadata information for the Minecraft package format. It is required by Minecraft:resource packs, Minecraft:behavior packs, Minecraft:skin packs, and Minecraft:world templates in order to be successfully imported into the game.

JSON format

Version 3

Version 2

Old versions

Version 1

The previous iteration of manifest.json only ever contains few basic information about the package, such as header, modules, and dependencies, being very similar to version 2 without the modern features.

These manifest files are documented from multiple built-in resource packs, which are found in the game's directory:

Version 0

The very first version of manifest.json, at the time was named pack_manifest.json, is used back in the Minecraft:v0.16.0 alpha versions. Its syntax is very different from version 1, containing the header object with different properties that would be renamed in the next iteration. Notably, modules and dependencies are contained inside the header object.

It is retroactively called version 0 in the Creator Documentation. Additionally, when the pack containing this manifest is loaded in later versions, it would get converted to version 1 with the new manifest.json, while the old pack_manifest.json would get backed up as pack_manifest.json.old.<ref>https://learn.microsoft.com/en-us/minecraft/creator/reference/content/versiondisambiguation?view=minecraft-bedrock-stable</ref>

Version 0 resource packs are separated into the client and server packs, both serve very similar purposes to the modern resource pack (client) and behavior pack (server).

These manifest files are documented from multiple built-in resource packs, which are found in the game's directory:

History

Template:Empty section

External links


References

Template:Reflist

Navigation

Template:Navbox Bedrock Edition

Minecraft:es:Manifest.json Minecraft:pt:Manifest.json Minecraft:uk:Manifest.json Minecraft:zh:清单文件