Skip to content

Commit

Permalink
update to 1.20.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsjo committed Dec 5, 2023
1 parent a4a0137 commit a978476
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
1 change: 1 addition & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"settings.mc_version.mc1_19": "Minecraft 1.19.x",
"settings.mc_version.mc1_20": "Minecraft 1.20 / 1.20.1",
"settings.mc_version.mc1_20_2": "Minecraft 1.20.2",
"settings.mc_version.mc1_20_3": "Minecraft 1.20.3",
"settings.dev_mode.label": "Developer Mode:",
"settings.dev_mode.aria-label": "Developer Mode",
"settings.world_preset.label": "World Preset:",
Expand Down
10 changes: 6 additions & 4 deletions scripts/createVanillaZips.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def main(version: str, include_datapack: str = "", suffix: str = ""):

# get client jar
print("Getting client data")
download_and_extract(f'https://github.com/misode/mcmeta/archive/refs/tags/{version}-data.zip')
download_and_extract(f'https://github.com/misode/mcmeta/archive/refs/tags/{version}-assets-json.zip')
download_and_extract(f'https://github.com/misode/mcmeta/archive/refs/tags/{version}data.zip')
download_and_extract(f'https://github.com/misode/mcmeta/archive/refs/tags/{version}assets-json.zip')

# add datapack base
print("Copying base files")
Expand All @@ -97,5 +97,7 @@ def emptyTmp():


if __name__ == "__main__":
main('1.19.4', "update_1_20", "_1_19")
main('23w45a', "update_1_21", "_1_20")
main('1.19.4-', "update_1_20", "_1_19")
main('1.20.1-', "", "_1_20")
main('1.20.2-', "", "_1_20_2")
main('1.20.3-', "update_1_21", "_1_20_3")
1 change: 1 addition & 0 deletions src/components/SettingsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function randomizeSeed() {
<option :value="'1_19'">{{ $t('settings.mc_version.mc1_19') }}</option>
<option :value="'1_20'">{{ $t('settings.mc_version.mc1_20') }}</option>
<option :value="'1_20_2'">{{ $t('settings.mc_version.mc1_20_2') }}</option>
<option :value="'1_20_3'">{{ $t('settings.mc_version.mc1_20_3') }}</option>
</select>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/dropdown/OpenDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const PRESET_DATAPACKS = computed(() => {
case "1_19":
presets.push({ image: UNKOWN_PACK, message_key: "dropdown.add.built_in.update_1_20", url: "vanilla_datapacks/update_1_20.zip" })
break
case "1_20_2":
case "1_20_3":
presets.push({ image: UNKOWN_PACK, message_key: "dropdown.add.built_in.update_1_21", url: "vanilla_datapacks/update_1_21.zip" })
break
}
Expand Down
2 changes: 1 addition & 1 deletion src/stores/useSettingsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const useSettingsStore = defineStore('settings', () => {
const collator = computed(() => new Intl.Collator(i18n.locale.value.replace('_','-')))

const dev_mode = ref(false)
const mc_version = ref('1_20_2')
const mc_version = ref('1_20_3')
const world_preset = ref(Identifier.create("normal"))
const dimension = ref(Identifier.create("overworld"))
const seed = ref(BigInt(0))
Expand Down
6 changes: 4 additions & 2 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ export function hashCode(str: string) {
export const versionVanillaDatapack: {[version: string]: string} = {
"1_19": "1_19",
"1_20": "1_20",
"1_20_2": "1_20"
"1_20_2": "1_20_2",
"1_20_3": "1_20_3"
}

export const versionDatapackFormat: {[version: string]: number} = {
"1_19": 12,
"1_20": 15,
"1_20_2": 18
"1_20_2": 18,
"1_20_3": 26
}

0 comments on commit a978476

Please sign in to comment.