diff --git a/changelog.md b/changelog.md index 3eafa82..2df1032 100644 --- a/changelog.md +++ b/changelog.md @@ -2,8 +2,8 @@ ## Next - Changed the CLI result to say 'not present' instead of 'not known' for versions that do not use a pack format. -- Updated resource pack format to `26`. -- Updated data pack format to `32`. +- Updated resource pack format to `28`. +- Updated data pack format to `35`. ## 1.3.12 *2024-01-23* diff --git a/readme.md b/readme.md index 48b5317..254045e 100644 --- a/readme.md +++ b/readme.md @@ -29,7 +29,7 @@ const packFormat = require('pack-format') packFormat('1.14.4') // 4 packFormat('1.16.2-pre1', 'resource') // 5 packFormat('20w45a', 'data') // 6 -packFormat.LATEST.data // 32 +packFormat.LATEST.data // 35 ``` Retrieve a list of versions corresponding to a specific `pack_format`, again optionally specifying resource/data pack version. diff --git a/src/index.ts b/src/index.ts index d7e4127..8a1f87f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -60,6 +60,9 @@ const START_SNAPSHOTS: Record> = { '24w05a': { resource: 25, data: 30 }, '24w06a': { resource: 26, data: 31 }, '24w07a': { resource: 26, data: 32 }, + '24w09a': { resource: 28, data: 33 }, + '24w10a': { resource: 28, data: 34 }, + '24w11a': { resource: 29, data: 35 }, [fauxCurrentSnapshot]: { resource: undefined, data: undefined }, } diff --git a/test/pack-formats-tests.txt b/test/pack-formats-tests.txt index 78e6a28..a08c5ff 100644 --- a/test/pack-formats-tests.txt +++ b/test/pack-formats-tests.txt @@ -112,6 +112,12 @@ Types: "24w06a" (d) 31 "24w07a" (r) 26 "24w07a" (d) 32 +"24w09a" (r) 28 +"24w09a" (d) 33 +"24w10a" (r) 28 +"24w10a" (d) 34 +"24w11a" (r) 29 +"24w11a" (d) 35 === Special cases ===