mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-27 16:58:46 +00:00
Add 1.21.5 and pig_variant, set default version to 1.21.4
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import config from '../Config.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', '1.21.2', '1.21.4'] 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', '1.21.4', '1.21.5'] as const
|
||||
export type VersionId = typeof VersionIds[number]
|
||||
|
||||
export const DEFAULT_VERSION: VersionId = '1.21.2'
|
||||
export const DEFAULT_VERSION: VersionId = '1.21.4'
|
||||
|
||||
export function checkVersion(versionId: string, minVersionId: string | undefined, maxVersionId?: string) {
|
||||
const version = config.versions.findIndex(v => v.id === versionId)
|
||||
|
||||
@@ -165,10 +165,17 @@
|
||||
},
|
||||
{
|
||||
"id": "1.21.4",
|
||||
"dynamic": true,
|
||||
"ref": "1.21.4",
|
||||
"name": "1.21.4",
|
||||
"pack_format": 61,
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"id": "1.21.5",
|
||||
"dynamic": true,
|
||||
"name": "1.21.5",
|
||||
"pack_format": 62,
|
||||
"show": true
|
||||
}
|
||||
],
|
||||
"generators": [
|
||||
@@ -264,6 +271,11 @@
|
||||
"url": "trial-spawner",
|
||||
"minVersion": "1.21.2"
|
||||
},
|
||||
{
|
||||
"id": "pig_variant",
|
||||
"url": "pig-variant",
|
||||
"minVersion": "1.21.5"
|
||||
},
|
||||
{
|
||||
"id": "text_component",
|
||||
"url": "text-component",
|
||||
|
||||
@@ -99,6 +99,7 @@
|
||||
"generator.sky_aesthetics:sky": "Custom Sky",
|
||||
"generator.pack_mcmeta": "pack.mcmeta",
|
||||
"generator.painting_variant": "Painting Variant",
|
||||
"generator.pig_variant": "Pig Variant",
|
||||
"generator.post_effect": "Post Effect",
|
||||
"generator.predicate": "Predicate",
|
||||
"generator.recipe": "Recipe",
|
||||
|
||||
Reference in New Issue
Block a user