Skip to content

Commit 6c52f20

Browse files
committed
Update pack formats to 28 (R) / 35 (D)
1 parent 2618e88 commit 6c52f20

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Next
44
- Changed the CLI result to say 'not present' instead of 'not known' for versions that do not use a pack format.
5-
- Updated resource pack format to `26`.
6-
- Updated data pack format to `32`.
5+
- Updated resource pack format to `28`.
6+
- Updated data pack format to `35`.
77

88
## 1.3.12
99
*2024-01-23*

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const packFormat = require('pack-format')
2929
packFormat('1.14.4') // 4
3030
packFormat('1.16.2-pre1', 'resource') // 5
3131
packFormat('20w45a', 'data') // 6
32-
packFormat.LATEST.data // 32
32+
packFormat.LATEST.data // 35
3333
```
3434

3535
Retrieve a list of versions corresponding to a specific `pack_format`, again optionally specifying resource/data pack version.

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ const START_SNAPSHOTS: Record<string, Record<PackType, FormatResult>> = {
6060
'24w05a': { resource: 25, data: 30 },
6161
'24w06a': { resource: 26, data: 31 },
6262
'24w07a': { resource: 26, data: 32 },
63+
'24w09a': { resource: 28, data: 33 },
64+
'24w10a': { resource: 28, data: 34 },
65+
'24w11a': { resource: 29, data: 35 },
6366
[fauxCurrentSnapshot]: { resource: undefined, data: undefined },
6467
}
6568

test/pack-formats-tests.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ Types:
112112
"24w06a" (d) 31
113113
"24w07a" (r) 26
114114
"24w07a" (d) 32
115+
"24w09a" (r) 28
116+
"24w09a" (d) 33
117+
"24w10a" (r) 28
118+
"24w10a" (d) 34
119+
"24w11a" (r) 29
120+
"24w11a" (d) 35
115121

116122
=== Special cases ===
117123

0 commit comments

Comments
 (0)