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 9ab71ff commit c0c4504
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
<div class="hidden" id="settings">

<div class="setting"> <label><span class="description">Target datapack version</span>
<input type="number" min="10" max="18" id="target_datapack_version">
<input type="number" id="target_datapack_version">
</label></div>

<div class="setting"> <label><span class="description">Dimension Name:</span><input type="text"
Expand Down
2 changes: 1 addition & 1 deletion public/minecraft_overworld_1_20.snowcapped.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/SharedConstants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const DATA_VERSION = 6
export const DEFAULT_DATAPACK_FORMAT = 15
export const DEFAULT_DATAPACK_FORMAT = 26
export const MIN_DATAPACK_FORMAT = 10
export const MAX_DATAPACK_FORMAT = 18
export const MAX_DATAPACK_FORMAT = 26
2 changes: 2 additions & 0 deletions src/main/BuilderData/BiomeBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ export class BiomeBuilder {
this.splines.factor = GridSpline.fromMinecraftJSON(VanillaSpline.factor);
this.splines.jaggedness = GridSpline.fromMinecraftJSON(VanillaSpline.jaggedness);
}

this.datapackFormat = json.datapackVersion
}

toJSON() {
Expand Down

0 comments on commit c0c4504

Please sign in to comment.