Skip to content

Commit

Permalink
update to 1.21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsjo committed Oct 23, 2024
1 parent 37024f7 commit 75876da
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions build_scripts/repackMinecraftAssets.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ def createZips(version, zip_version):
extractJar("24w14potato", version_manifest)
extractJar("1.20.6", version_manifest)
extractJar("1.21", version_manifest)
extractJar("snapshot", version_manifest)
extractJar("1.21.3", version_manifest)
#extractJar("snapshot", version_manifest)

createZips("1.16.5", "1_16")
createZips("1.17.1", "1_17")
Expand All @@ -104,4 +105,5 @@ def createZips(version, zip_version):
createZips("24w14potato", "24w14potato")
createZips("1.20.6", "1_20_6")
createZips("1.21", "1_21")
createZips("snapshot", "1_21_2")
createZips("1.21.3", "1_21_3")
#createZips("snapshot", "1_21_2")
2 changes: 1 addition & 1 deletion src/Stores/MetaStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Constants } from '../Util/Constants';
export const MetaStore = defineStore('meta', () => {
const urlParams = new URLSearchParams(window.location.search);
const urlVersion = urlParams.get('version')
const mcVersion = ref(Constants.MINECRAFT_VERSIONS.includes(urlVersion) ? urlVersion : '1_21')
const mcVersion = ref(Constants.MINECRAFT_VERSIONS.includes(urlVersion) ? urlVersion : '1_21_3')
updateUrl()

watch(mcVersion, () => {
Expand Down
8 changes: 4 additions & 4 deletions src/Util/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export namespace Constants {
export const LEGACY_STRUCTURE_FEATURE_MINECRAFT_VERSIONS: string[] = ["1_16", "1_17", "1_18"]
export const LEGACY_STRUCTURES_MINECRAFT_VERSIONS: string[] = ["1_16", "1_17", "1_18", "1_19", "1_20", "1_20_4", "24w14potato", "1_20_6"]

export const MINECRAFT_VERSIONS: string[] = ["1_16", "1_17", "1_18", "1_19", "1_20", "1_20_4", "24w14potato", "1_20_6", "1_21", "1_21_2"]
export const MINECRAFT_VERSIONS: string[] = ["1_16", "1_17", "1_18", "1_19", "1_20", "1_20_4", "24w14potato", "1_20_6", "1_21", "1_21_3"]

export const MINECRAFT_ASSET_VERSIONS: {[key: string]: string | undefined} = {
"1_16": "1.16.5",
Expand All @@ -14,8 +14,8 @@ export namespace Constants {
"1_20_4": "1.20.4",
"24w14potato": "24w14potato",
"1_20_6": "1.20.6",
"1_21": "1.21",
"1_21_2": "24w33a"
"1_21": "1.21.1",
"1_21_3": "1.21.3"
}

export const HIDDEN_VERSIONS = ["24w14potato"]
Expand All @@ -30,6 +30,6 @@ export namespace Constants {
"24w14potato": 36,
"1_20_6": 41,
"1_21": 48,
"1_21_2": 49
"1_21_3": 57
}
}

0 comments on commit 75876da

Please sign in to comment.