Skip to content

Commit

Permalink
update to 1.20.5-pre1
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsjo committed Apr 10, 2024
1 parent e4fc7dc commit 535007b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions build_scripts/repackMinecraftAssets.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ def createZips(version, zip_version):

extractJar("1.20.2", version_manifest)
extractJar("1.20.4", version_manifest)
extractJar("24w13a", version_manifest)
extractJar("24w14potato", version_manifest)
extractJar("1.20.5-pre1", version_manifest)

createZips("1.16.5", "1_16")
createZips("1.17.1", "1_17")
createZips("1.18.2", "1_18")
createZips("1.19.2", "1_19")
createZips("1.20.2", "1_20")
createZips("1.20.4", "1_20_4")
createZips("24w13a", "24w13a")
createZips("24w14potato", "24w14potato")
createZips("24w14potato", "24w14potato")
createZips("1.20.5-pre1", "1_20_5")
2 changes: 1 addition & 1 deletion src/Components/MenuBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ input {
}
.dropdown#version {
width: 4.5rem;
width: 5.6rem;
}
.dropdown option {
Expand Down
3 changes: 2 additions & 1 deletion src/Jigsaw/JigsawGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ export class JigsawGenerator {
}

public static fromStructureFeature(datapack: AnonymousDatapack, feature: StructureFeature, heightmap: Heightmap) {
return new JigsawGenerator(datapack, feature.getStartPool(), feature.getDepth(), feature.doExpansionHack(), feature.getStartHeight(), feature.getHeightmap(), feature.getRadius(), heightmap, feature.getStartJigsawName(), feature.getPoolAliases(), feature.getTerrainAdaptation() === "bury")
const bury = feature.getTerrainAdaptation() === "bury" || feature.getTerrainAdaptation() === "encapsulate"
return new JigsawGenerator(datapack, feature.getStartPool(), feature.getDepth(), feature.doExpansionHack(), feature.getStartHeight(), feature.getHeightmap(), feature.getRadius(), heightmap, feature.getStartJigsawName(), feature.getPoolAliases(), bury)
}
}
10 changes: 5 additions & 5 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_MINECRAFT_VERSIONS: string[] = ["1_16", "1_17", "1_18"]
export const EXPERIMENTAL_MINECRAFT_VERSIONS: string[] = []

export const MINECRAFT_VERSIONS: string[] = ["1_16", "1_17", "1_18", "1_19", "1_20", "1_20_4", "24w13a", "24w14potato"]
export const MINECRAFT_VERSIONS: string[] = ["1_16", "1_17", "1_18", "1_19", "1_20", "1_20_4", "24w14potato", "1_20_5"]

export const MINECRAFT_ASSET_VERSIONS: {[key: string]: string | undefined} = {
"1_16": "1.16.5",
Expand All @@ -12,8 +12,8 @@ export namespace Constants {
"1_19": "1.19.2",
"1_20": "1.20.2",
"1_20_4": "1.20.4",
"24w13a": "24w13a",
"24w14potato": "24w14potato"
"24w14potato": "24w14potato",
"1_20_5": "1.20.5-pre1"
}

export const HIDDEN_VERSIONS = ["24w14potato"]
Expand All @@ -25,7 +25,7 @@ export namespace Constants {
"1_19": 10,
"1_20": 18,
"1_20_4": 26,
"24w13a": 37,
"24w14potato": 36
"24w14potato": 36,
"1_20_5": 39
}
}

0 comments on commit 535007b

Please sign in to comment.