mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Add support for 1.21.2 (24w33a)
This commit is contained in:
17
package-lock.json
generated
17
package-lock.json
generated
@@ -24,6 +24,7 @@
|
||||
"@mcschema/java-1.20.3": "^0.0.13",
|
||||
"@mcschema/java-1.20.5": "^0.0.37",
|
||||
"@mcschema/java-1.21": "^0.0.22",
|
||||
"@mcschema/java-1.21.2": "^0.0.3",
|
||||
"@mcschema/locales": "^0.1.104",
|
||||
"@zip.js/zip.js": "^2.4.5",
|
||||
"brace": "^0.11.1",
|
||||
@@ -734,6 +735,14 @@
|
||||
"@mcschema/core": "^0.13.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@mcschema/java-1.21.2": {
|
||||
"version": "0.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.21.2/-/java-1.21.2-0.0.3.tgz",
|
||||
"integrity": "sha512-+YLkEkRv4oscj+d5fR6gMVmvDVhcrg+3sJ0axH4wtnuMEpMUVcoN4p88tak1sknBCWTtQpkuogsO7B9A9yH+SQ==",
|
||||
"dependencies": {
|
||||
"@mcschema/core": "^0.13.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@mcschema/locales": {
|
||||
"version": "0.1.104",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/locales/-/locales-0.1.104.tgz",
|
||||
@@ -4847,6 +4856,14 @@
|
||||
"@mcschema/core": "^0.13.0"
|
||||
}
|
||||
},
|
||||
"@mcschema/java-1.21.2": {
|
||||
"version": "0.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.21.2/-/java-1.21.2-0.0.3.tgz",
|
||||
"integrity": "sha512-+YLkEkRv4oscj+d5fR6gMVmvDVhcrg+3sJ0axH4wtnuMEpMUVcoN4p88tak1sknBCWTtQpkuogsO7B9A9yH+SQ==",
|
||||
"requires": {
|
||||
"@mcschema/core": "^0.13.0"
|
||||
}
|
||||
},
|
||||
"@mcschema/locales": {
|
||||
"version": "0.1.104",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/locales/-/locales-0.1.104.tgz",
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
"@mcschema/java-1.20.3": "^0.0.13",
|
||||
"@mcschema/java-1.20.5": "^0.0.37",
|
||||
"@mcschema/java-1.21": "^0.0.22",
|
||||
"@mcschema/java-1.21.2": "^0.0.3",
|
||||
"@mcschema/locales": "^0.1.104",
|
||||
"@zip.js/zip.js": "^2.4.5",
|
||||
"brace": "^0.11.1",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { CollectionRegistry, INode, SchemaRegistry } from '@mcschema/core'
|
||||
import { ChoiceNode, DataModel, Reference, StringNode } from '@mcschema/core'
|
||||
import config from '../Config.js'
|
||||
import { message } from '../Utils.js'
|
||||
import { initPartners } from '../partners/index.js'
|
||||
import { message } from '../Utils.js'
|
||||
import { fetchData } from './DataFetcher.js'
|
||||
|
||||
export const VersionIds = ['1.15', '1.16', '1.17', '1.18', '1.18.2', '1.19', '1.19.3', '1.19.4', '1.20', '1.20.2', '1.20.3', '1.20.5', '1.21'] as const
|
||||
export const VersionIds = ['1.15', '1.16', '1.17', '1.18', '1.18.2', '1.19', '1.19.3', '1.19.4', '1.20', '1.20.2', '1.20.3', '1.20.5', '1.21', '1.21.2'] as const
|
||||
export type VersionId = typeof VersionIds[number]
|
||||
|
||||
export const DEFAULT_VERSION: VersionId = '1.21'
|
||||
@@ -53,6 +53,7 @@ const versionGetter: {
|
||||
'1.20.3': () => import('@mcschema/java-1.20.3'),
|
||||
'1.20.5': () => import('@mcschema/java-1.20.5'),
|
||||
1.21: () => import('@mcschema/java-1.21'),
|
||||
'1.21.2': () => import('@mcschema/java-1.21.2'),
|
||||
}
|
||||
|
||||
export let CachedDecorator: INode<any>
|
||||
|
||||
@@ -154,10 +154,17 @@
|
||||
},
|
||||
{
|
||||
"id": "1.21",
|
||||
"ref": "1.21",
|
||||
"name": "1.21",
|
||||
"ref": "1.21.1",
|
||||
"name": "1.21 — 1.21.1",
|
||||
"pack_format": 48,
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"id": "1.21.2",
|
||||
"dynamic": true,
|
||||
"name": "1.21.2",
|
||||
"pack_format": 49,
|
||||
"show": true
|
||||
}
|
||||
],
|
||||
"generators": [
|
||||
@@ -265,6 +272,12 @@
|
||||
"minVersion": "1.21",
|
||||
"wiki": "https://minecraft.wiki/w/Jukebox_song_definition"
|
||||
},
|
||||
{
|
||||
"id": "instrument",
|
||||
"url": "instrument",
|
||||
"schema": "instrument",
|
||||
"minVersion": "1.21.2"
|
||||
},
|
||||
{
|
||||
"id": "pack_mcmeta",
|
||||
"url": "pack-mcmeta",
|
||||
|
||||
@@ -68,6 +68,7 @@
|
||||
"generator.error_min_version": "The minimum version for this generator is %0%",
|
||||
"generator.font": "Font",
|
||||
"generator.immersive_weathering.block_growth": "Block Growth",
|
||||
"generator.instrument": "Instrument",
|
||||
"generator.item_modifier": "Item Modifier",
|
||||
"generator.jukebox_song": "Jukebox Song",
|
||||
"generator.lithostitched.worldgen_modifier": "Worldgen Modifier",
|
||||
|
||||
Reference in New Issue
Block a user