ResourcePackConverter
ResourcePackConverter copied to clipboard
Pack MCMeta changes the pack format system in 25w31a.
This is now of the highest priority for any future changes:
(copied from https://www.minecraft.net/en-us/article/minecraft-snapshot-25w31a)
- Pack versions now have minor versions
Pack Formats
- The pack versions for data packs and resource packs now have minor versions
- A minor version increment of the game's pack version is backwards-compatible, meaning all packs made for previous iterations of the same major version will keep working
- Packs can set compatibility requirements on minor versions in case they rely on resources introduced in a minor version
Pack Metadata
-
The pack.mcmeta format has been updated:
-
The
supported_formatsfield has been removed -
If your pack declares support for a pack version with the previous format (data pack < 82, resource pack < 65), it is still required Otherwise, it is not allowed and must be removed
-
The
pack_formatfield is now optional- If your pack declares support for a pack version with the previous format (data pack < 82, resource pack < 65), it is still required
-
Added required field
min_format- specifies the minimum version supported- A full version is specified as a list of two integers, e.g
[74, 1] - Specifying a single integer is interpreted as that major version, e.g. 74 is the same thing as
[74, 0] - Specifying a list of a single integer is interpreted the same as specifying that integer alone
- A full version is specified as a list of two integers, e.g
-
Added required field
max_format- specified the maximum version supported- A full version is specified as a list of two integers, e.g
[74, 1] - Specifying a single integer is interpreted as any minor version, i.e. the minor version is
0x7fffffff - Specifying a list of a single integer is interpreted the same as specifying that integer alone
- A full version is specified as a list of two integers, e.g
For overlay entries:
- The formats field has been removed
- If your pack includes any overlay range that includes a pack version with the previous format (data pack < 82, resource pack < 65), it is still required for all overlay definitions Otherwise, it is not allowed and must be removed
- Added required field
min_formatandmax_formatwith the same formats the fields above with the same name for the pack section