pages235/src/supportedVersions.mjs
Vitaly Turovsky acd8144d76 feat: initial config.json is now bundled on build step, which is required for defaultSettings
feat: allow to specify default and locked settings in config.json
feat: allow to specify default app params in config.json
feat: rework how loading progress is reported in app on connect
feat: add setting to wait for chunks to load before starting rendering (which is highly recommended to enable), however not enabled by default because functionality is top priority of the client out of the box, not pleasent ux, so pls enable yourself
2025-02-26 03:29:10 +03:00

10 lines
530 B
JavaScript

import { supportedVersions, postNettyVersionsByProtocolVersion } from 'minecraft-data'
export const ignoredVersionsRegex = /(^0\.30c$)|w|-pre|-rc/
/** @type {string[]} */
const versionsFromProtocol = Object.values(postNettyVersionsByProtocolVersion.pc).flat().filter(x => !ignoredVersionsRegex.test(x.minecraftVersion)).map(x => x.minecraftVersion)
export const notTestedVersions = '1.19.3 1.20 1.19.1 1.19 1.18.1 1.15.1 1.14.1'.split(' ')
export default versionsFromProtocol.filter(x => x !== '1.7' && !x.startsWith('1.7.'))