_New features have been added to datapacks and resource packs to allow creation of packs that are compatible with multiple versions of game.
PACK METADATA
Pack metadata now includes an optional field supported_formats which describes a range for pack formats that this pack supports
Examples: 16, [16,17], {"min_inclusive": 16, "max_inclusive": 17}
pack_format field is still required and its format remains unchanged, to allow older game versions to read pack data
If supported_formats is present, it must contain the value declared in packformat
Note: since this new information is ignored by older versions of the game, they will always see a "normal", single-version pack, without any extended compatibility
Description
_New features have been added to datapacks and resource packs to allow creation of packs that are compatible with multiple versions of game. PACK METADATA Pack metadata now includes an optional field supported_formats which describes a range for pack formats that this pack supports Examples: 16, [16,17], {"min_inclusive": 16, "max_inclusive": 17} pack_format field is still required and its format remains unchanged, to allow older game versions to read pack data If supported_formats is present, it must contain the value declared in packformat Note: since this new information is ignored by older versions of the game, they will always see a "normal", single-version pack, without any extended compatibility
I wonder if you add it?
Game versions
1.20.2 - 23w31a
Link to the snapshot page
https://www.minecraft.net/it-it/article/minecraft-snapshot-23w31a