Skip to content

Commit

Permalink
chore: update game version references
Browse files Browse the repository at this point in the history
  • Loading branch information
syldium committed May 28, 2024
1 parent a7cee6e commit e9532e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# worldgen

An online datapack generator for Minecraft Java Edition 1.19/1.19.4/1.20.4 and custom biomes/dimensions. [Visit the latest version](https://worldgen.syldium.dev).
An online datapack generator for Minecraft Java Edition 1.19/1.19.4/1.20.6 and custom biomes/dimensions. [Visit the latest version](https://worldgen.syldium.dev).

The `v1` branch is now the default one and replace the old and [initial version](https://github.com/syldium/worldgen/tree/master) [available here](https://master.worldgen.pages.dev).

Expand Down
4 changes: 2 additions & 2 deletions prerender.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ for (
const html = template
.replace(
'<!--meta-->',
`<meta name="description" content="A ${custom}${name} datapack generator for Minecraft Java Edition 1.19-1.20.4" />
`<meta name="description" content="A ${custom}${name} datapack generator for Minecraft Java Edition 1.19-1.20.6" />
<meta property="og:title" content="${capitalizedName} datapack generator for Minecraft" />
<meta property="og:description" content="A tool to generate datapacks with ${custom}${plural} for Minecraft 1.19-1.20.4" />${canonical}`
<meta property="og:description" content="A tool to generate datapacks with ${custom}${plural} for Minecraft 1.19-1.20.6" />${canonical}`
)
.replace('<div id="root"></div>', '<div id="root">' + appHtml + '</div>');

Expand Down
2 changes: 1 addition & 1 deletion src/main/context/GameVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const PackFormatString = {
'1.18.2': 9,
'1.19': 10,
'1.19.4': 13,
'1.20.4': 26
'1.20.4': 41
} as const;
export type GameVersion = keyof typeof PackFormatString;
export type PackFormat = typeof PackFormatString[keyof typeof PackFormatString];
Expand Down

0 comments on commit e9532e4

Please sign in to comment.