Skip to content

Commit

Permalink
Export biome colors into c:worldgen/biome_colors
Browse files Browse the repository at this point in the history
Following new standard, as agreed on in caeruleusDraconis/world-preview#5
  • Loading branch information
jacobsjo committed Aug 11, 2023
1 parent 31199ec commit daeada5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/BuilderData/Exporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class Exporter {
}

if (this.builder.exportBiomeColors){
dataFolder.folder(namespace).file("biome_colors.json", JSON.stringify(this.getBiomeColorJson(), null, 2))
dataFolder.folder("c").folder("worldgen").file("biome_colors.json", JSON.stringify(this.getBiomeColorJson(), null, 2))
}

return zip
Expand All @@ -83,7 +83,7 @@ export class Exporter {
}

if (this.builder.exportBiomeColors){
datapack.save("", new Identifier(dimensionIdentifier.namespace, "biome_colors"), this.getBiomeColorJson())
datapack.save("", new Identifier("c", "worldgen/biome_colors"), this.getBiomeColorJson())
}
}

Expand Down

0 comments on commit daeada5

Please sign in to comment.