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

Minecraft:Pack.mcmeta: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
Tag: Manual revert
 
(2 intermediate revisions by the same user not shown)
Line 31: Line 31:
***** {{Nbt|integer|}}{{Nbt|int-array|min_format}}: Specifies the minimum version to apply this overlay on. See {{Cd|min_format}} in the {{Cd|pack}} section above.
***** {{Nbt|integer|}}{{Nbt|int-array|min_format}}: Specifies the minimum version to apply this overlay on. See {{Cd|min_format}} in the {{Cd|pack}} section above.
***** {{Nbt|integer}}{{Nbt|int-array|max_format}}: Specifies the maximum version to apply this overlay on. See {{Cd|max_format}} in the {{Cd|pack}} section above.
***** {{Nbt|integer}}{{Nbt|int-array|max_format}}: Specifies the maximum version to apply this overlay on. See {{Cd|max_format}} in the {{Cd|pack}} section above.
***** {{nbt|integer|}}{{nbt|int-array}}{{nbt|compound|formats}}<span style="color:red;">*</span><span style="color:orange;">†</span>: The major formats to apply this overlay on. Has to match the major versions specified in {{Nbt|integer|}}{{Nbt|int-array|min_format}} and {{Nbt|integer|}}{{Nbt|int-array|max_format}}. Examples: {{cd|42}}, {{cd|[42, 45]}}, {{cd|<nowiki>{&nbsp;"min_inclusive": 42, "max_inclusive": 45&nbsp;}</nowiki>}}.
***** {{nbt|integer|}}{{nbt|int-array}}{{nbt|compound|formats}}<span style="color:red;">*</span><span style="color:orange;">†</span>: The major formats to apply this overlay on. Must be present in all overlays if at least one of them requires it for backwards compability and has to match the major versions specified in {{Nbt|integer|}}{{Nbt|int-array|min_format}} and {{Nbt|integer|}}{{Nbt|int-array|max_format}}. Examples: {{cd|42}}, {{cd|[42, 45]}}, {{cd|<nowiki>{&nbsp;"min_inclusive": 42, "max_inclusive": 45&nbsp;}</nowiki>}}.
** {{nbt|compound|language}}: (optional) Only present in [[Minecraft:resource packs]] &mdash; Contains additional languages to add to the language menu.
** {{nbt|compound|language}}: (optional) Only present in [[Minecraft:resource packs]] &mdash; Contains additional languages to add to the language menu.
*** {{nbt|compound}} Language code for a language, corresponding to a {{cd|.json}} file with the same name in the directory {{cd|assets/''<[[Minecraft:namespace]]>''/lang}}.
*** {{nbt|compound}} Language code for a language, corresponding to a {{cd|.json}} file with the same name in the directory {{cd|assets/''<[[Minecraft:namespace]]>''/lang}}.

Latest revision as of 11:12, 1 June 2026

Template:Lowercase Template:Exclusive The Template:Cd file is used to define metadata of a Minecraft:resource pack or Minecraft:data pack. The presence of this file identifies a directory or ZIP archive file as a resource pack or data pack.

Format

The Template:Cd file is defined using the following Minecraft:JSON format:

  • *: Because the file has to be backwards compatible with older versions of the game, these deprecated fields have to be added when the pack also supports old versions (data pack format < 82; resource pack format < 65).
  • : These fields must be absent if the pack does not support old versions, but must be present if the pack does support old versions.

History

Template:HistoryTable

External links

Navigation

Template:Navbox Java Edition technical

Minecraft:fr:Pack.mcmeta Minecraft:ja:Pack.mcmeta Minecraft:pt:Pack.mcmeta Minecraft:ru:Pack.mcmeta Minecraft:zh:Pack.mcmeta