You've already forked AstralRinth
forked from didirus/AstralRinth
61c8cd75cd
* update add files copy and go to next step on just one file * rename and reorder stages * add metadata stage and update details stage * implement files inside metadata stage * use regular prettier instead of prettier eslint * remove changelog stage config * save button on details stage * update edit buttons in versions table * add collapse environment selector * implement dependencies list in metadata step * move dependencies into provider * add suggested dependencies to metadata stage * pnpm prepr * fix unused var * Revert "add collapse environment selector" This reverts commit f90fabc7a57ff201f26e1b628eeced8e6ef75865. * hide resource pack loader only when its the only loader * fix no dependencies for modpack * add breadcrumbs with hide breadcrumb option * wider stages * add proper horizonal scroll breadcrumbs * fix titles * handle save version in version page * remove box shadow * add notification provider to storybook * add drop area for versions to drop file right into page * fix mobile versions table buttons overflowing * pnpm prepr * fix drop file opening modal in wrong stage * implement invalid file for dropping files * allow horizontal scroll on breadcrumbs * update infer.js as best as possible * add create version button uploading version state * add extractVersionFromFilename for resource pack and datapack * allow jars for datapack project * detect multiple loaders when possible * iris means compatible with optifine too * infer environment on loader change as well * add tooltip * prevent navigate forward when cannot go to next step * larger breadcrumb click targets * hide loaders and mc versions stage until files added * fix max width in header * fix add files from metadata step jumping steps * define width in NewModal instead * disable remove dependency in metadata stage * switch metadata and details buttons positions * fix remove button spacing * do not allow duplicate suggested dependencies * fix version detection for fabric minecraft version semvar * better verion number detection based on filename * show resource pack loader but uneditable * remove vanilla shader detection * refactor: break up large infer.js into ts and modules * remove duplicated types * add fill missing from file name step * pnpm prepr * fix neoforge loader parse failing and not adding neoforge loader * add missing pack formats * handle new pack format * pnpm prepr * add another regex where it is version in anywhere in filename * only show resource pack or data pack options for filetype on datapack project * add redundant zip folder check * reject RP and DP if has redundant folder * fix hide stage in breadcrumb * add snapshot group key in case no release version. brings out 26.1 snapshots * pnpm prepr * open in group if has something selected * fix resource pack loader uneditable if accidentally selected on different project type * add new environment tags * add unknown and not applicable environment tags * pnpm prepr * use shared constant on labels * use ref for timeout * remove console logs * remove box shadow only for cm-content * feat: xhr upload + fix wrangler prettierignore * fix: upload content type fix * fix dependencies version width * fix already added dependencies logic * add changelog minheight * set progress percentage on button * add legacy fabric detection logic * lint * small update on create version button label --------- Co-authored-by: Calum H. (IMB11) <contact@cal.engineer> Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
124 lines
4.7 KiB
TypeScript
124 lines
4.7 KiB
TypeScript
// Pack format to Minecraft version mappings
|
|
// See: https://minecraft.wiki/w/Pack_format
|
|
|
|
// NOTE: This needs to be continuously updated as new versions are released.
|
|
|
|
// Resource pack format history (full table including development versions)
|
|
export const RESOURCE_PACK_FORMATS = {
|
|
1: { min: '1.6.1', max: '1.8.9' },
|
|
2: { min: '1.9', max: '1.10.2' },
|
|
3: { min: '1.11', max: '1.12.2' },
|
|
4: { min: '1.13', max: '1.14.4' },
|
|
5: { min: '1.15', max: '1.16.1' },
|
|
6: { min: '1.16.2', max: '1.16.5' },
|
|
7: { min: '1.17', max: '1.17.1' },
|
|
8: { min: '1.18', max: '1.18.2' },
|
|
9: { min: '1.19', max: '1.19.2' },
|
|
11: { min: '22w42a', max: '22w44a' },
|
|
12: { min: '1.19.3', max: '1.19.3' },
|
|
13: { min: '1.19.4', max: '1.19.4' },
|
|
14: { min: '23w14a', max: '23w16a' },
|
|
15: { min: '1.20', max: '1.20.1' },
|
|
16: { min: '23w31a', max: '23w31a' },
|
|
17: { min: '23w32a', max: '1.20.2-pre1' },
|
|
18: { min: '1.20.2', max: '1.20.2' },
|
|
19: { min: '23w42a', max: '23w42a' },
|
|
20: { min: '23w43a', max: '23w44a' },
|
|
21: { min: '23w45a', max: '23w46a' },
|
|
22: { min: '1.20.3', max: '1.20.4' },
|
|
24: { min: '24w03a', max: '24w04a' },
|
|
25: { min: '24w05a', max: '24w05b' },
|
|
26: { min: '24w06a', max: '24w07a' },
|
|
28: { min: '24w09a', max: '24w10a' },
|
|
29: { min: '24w11a', max: '24w11a' },
|
|
30: { min: '24w12a', max: '24w12a' },
|
|
31: { min: '24w13a', max: '1.20.5-pre3' },
|
|
32: { min: '1.20.5', max: '1.20.6' },
|
|
33: { min: '24w18a', max: '24w20a' },
|
|
34: { min: '1.21', max: '1.21.1' },
|
|
35: { min: '24w33a', max: '24w33a' },
|
|
36: { min: '24w34a', max: '24w35a' },
|
|
37: { min: '24w36a', max: '24w36a' },
|
|
38: { min: '24w37a', max: '24w37a' },
|
|
39: { min: '24w38a', max: '24w39a' },
|
|
40: { min: '24w40a', max: '24w40a' },
|
|
41: { min: '1.21.2-pre1', max: '1.21.2-pre2' },
|
|
42: { min: '1.21.2', max: '1.21.3' },
|
|
43: { min: '24w44a', max: '24w44a' },
|
|
44: { min: '24w45a', max: '24w45a' },
|
|
45: { min: '24w46a', max: '24w46a' },
|
|
46: { min: '1.21.4', max: '1.21.4' },
|
|
55: { min: '1.21.5', max: '1.21.5' },
|
|
63: { min: '1.21.6', max: '1.21.6' },
|
|
64: { min: '1.21.7', max: '1.21.8' },
|
|
69.0: { min: '1.21.9', max: '1.21.10' },
|
|
75: { min: '1.21.11', max: '1.21.11' },
|
|
} as const
|
|
|
|
// Data pack format history (full table including development versions)
|
|
export const DATA_PACK_FORMATS = {
|
|
4: { min: '1.13', max: '1.14.4' },
|
|
5: { min: '1.15', max: '1.16.1' },
|
|
6: { min: '1.16.2', max: '1.16.5' },
|
|
7: { min: '1.17', max: '1.17.1' },
|
|
8: { min: '1.18', max: '1.18.1' },
|
|
9: { min: '1.18.2', max: '1.18.2' },
|
|
10: { min: '1.19', max: '1.19.3' },
|
|
11: { min: '23w03a', max: '23w05a' },
|
|
12: { min: '1.19.4', max: '1.19.4' },
|
|
13: { min: '23w12a', max: '23w14a' },
|
|
14: { min: '23w16a', max: '23w17a' },
|
|
15: { min: '1.20', max: '1.20.1' },
|
|
16: { min: '23w31a', max: '23w31a' },
|
|
17: { min: '23w32a', max: '1.20.2-pre1' },
|
|
18: { min: '1.20.2', max: '1.20.2' },
|
|
19: { min: '23w40a', max: '23w40a' },
|
|
20: { min: '23w41a', max: '23w41a' },
|
|
21: { min: '23w42a', max: '23w42a' },
|
|
22: { min: '23w43a', max: '23w44a' },
|
|
23: { min: '23w45a', max: '23w46a' },
|
|
24: { min: '1.20.3-pre1', max: '1.20.3-pre1' },
|
|
25: { min: '1.20.3-pre2', max: '1.20.3-pre4' },
|
|
26: { min: '1.20.3', max: '1.20.4' },
|
|
27: { min: '23w51a', max: '23w51b' },
|
|
28: { min: '24w03a', max: '24w04a' },
|
|
29: { min: '24w05a', max: '24w05b' },
|
|
30: { min: '24w06a', max: '24w06a' },
|
|
31: { min: '24w07a', max: '24w07a' },
|
|
32: { min: '24w09a', max: '24w10a' },
|
|
33: { min: '24w11a', max: '24w11a' },
|
|
34: { min: '24w12a', max: '24w12a' },
|
|
35: { min: '24w13a', max: '24w13a' },
|
|
36: { min: '24w14a', max: '24w14a' },
|
|
37: { min: '1.20.5-pre1', max: '1.20.5-pre1' },
|
|
38: { min: '1.20.5-pre2', max: '1.20.5-pre3' },
|
|
39: { min: '1.20.5-pre4', max: '1.20.5-rc3' },
|
|
40: { min: '1.20.5-rc4', max: '1.20.5-rc4' },
|
|
41: { min: '1.20.5', max: '1.20.6' },
|
|
42: { min: '24w18a', max: '24w19b' },
|
|
43: { min: '24w20a', max: '24w20a' },
|
|
44: { min: '24w21a', max: '24w21b' },
|
|
45: { min: '1.21-pre1', max: '1.21-pre1' },
|
|
46: { min: '1.21-pre2', max: '1.21-pre4' },
|
|
47: { min: '1.21-rc1', max: '1.21-rc1' },
|
|
48: { min: '1.21', max: '1.21.1' },
|
|
49: { min: '24w33a', max: '24w33a' },
|
|
50: { min: '24w34a', max: '24w35a' },
|
|
51: { min: '24w36a', max: '24w36a' },
|
|
52: { min: '24w37a', max: '24w37a' },
|
|
53: { min: '24w38a', max: '24w38a' },
|
|
54: { min: '24w39a', max: '24w39a' },
|
|
55: { min: '24w40a', max: '24w40a' },
|
|
56: { min: '1.21.2-pre1', max: '1.21.2-pre2' },
|
|
57: { min: '1.21.2', max: '1.21.3' },
|
|
58: { min: '24w44a', max: '24w44a' },
|
|
59: { min: '24w45a', max: '24w45a' },
|
|
60: { min: '24w46a', max: '24w46a' },
|
|
61: { min: '1.21.4', max: '1.21.4' },
|
|
71: { min: '1.21.5', max: '1.21.5' },
|
|
80: { min: '1.21.6', max: '1.21.6' },
|
|
81: { min: '1.21.7', max: '1.21.8' },
|
|
88.0: { min: '1.21.9', max: '1.21.10' },
|
|
94.1: { min: '1.21.11', max: '1.21.11' },
|
|
} as const
|