Skip to content

Commit f66d056

Browse files
authored
Keep existing provider settings on 1.10.2
Preserve existing provider configs during legacy imports and clarify the upgrade report.
2 parents e5c20fe + 424c434 commit f66d056

21 files changed

Lines changed: 155 additions & 53 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ jobs:
126126
if-no-files-found: error
127127
retention-days: 30
128128
path: |
129-
build/libs/OreSpawn-4.1.0.110021.jar
130-
build/libs/OreSpawn-4.1.0.110021-sources.jar
131-
build/libs/OreSpawn-4.1.0.110021-javadoc.jar
129+
build/libs/OreSpawn-4.1.1.110021.jar
130+
build/libs/OreSpawn-4.1.1.110021-sources.jar
131+
build/libs/OreSpawn-4.1.1.110021-javadoc.jar
132132
build/release/SHA256SUMS
133133
CHANGELOG.txt
134134

‎CHANGELOG.txt‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Version 4.1.1.110021
2+
3+
* Keep existing provider settings when importing older OS1 or OS3 files for
4+
the first time, instead of replacing them with the older settings.
5+
* Describe preserved settings as retained rather than verified in the upgrade
6+
report. Invalid files are still checked by the normal provider loader.
7+
* Keep the documentation index in docs/README.md and stop bundling the old
8+
duplicate guide.
9+
110
Version 4.1.0.110021
211

312
* Clarify dimension-wide material controls and replace light-equivalent custom

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ It gives mods and modpacks one place to configure ores, deposit shapes, optional
1010
rock strata and geomes, provider-owned underground fluid deposits, biome
1111
palettes and world materials, flat bedrock, and bounded ore retrogen.
1212

13-
This branch builds target-qualified version `4.1.0.110021`: the OreSpawn 4.1.0
13+
This branch builds target-qualified version `4.1.1.110021`: the OreSpawn 4.1.1
1414
feature set for Minecraft 1.10.2 and Forge. It adds stable generation identity,
1515
non-loading geology sampling, per-resource background control, existing-world
1616
provider merge policy, an Ore Sources arbiter for equivalent provider ores and

‎build.gradle‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ tasks.register('verifyDocumentationParity') {
189189
dependsOn tasks.named('processResources')
190190
doLast {
191191
List<File> tracked = trackedDocumentationFiles()
192-
if (tracked.size() != 21) {
193-
throw new GradleException("Expected 21 tracked documentation files, found ${tracked.size()}")
192+
if (tracked.size() != 20) {
193+
throw new GradleException("Expected 20 tracked documentation files, found ${tracked.size()}")
194194
}
195195
tracked.each { File source ->
196196
String relative = documentationRelativePath(source)
@@ -213,10 +213,6 @@ tasks.named('processResources', ProcessResources) {
213213
filesMatching('mcmod.info') {
214214
expand version: project.version, mcversion: project.minecraft_version
215215
}
216-
from('docs/AGENTS.md') {
217-
into ''
218-
rename { 'AGENTS.md' }
219-
}
220216
from('docs') {
221217
into 'META-INF/orespawn/docs'
222218
}

‎docs/AGENTS.md‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎docs/MIGRATION.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ legacy-ID behaviour.
8989
Migration is non-destructive. OreSpawn writes `config/orespawn-worldgen.json`
9090
only when that target does not already exist and retains every source file.
9191

92+
An existing `config/<modid>-orespawn.json` override is also kept unchanged,
93+
even when legacy files are imported for the first time. The upgrade report
94+
records that the existing provider settings were retained. An unfinished or
95+
invalid override is left for the normal provider validator; migration does not
96+
replace it with defaults or older settings.
97+
9298
When `config/mineralogy-geomes.json` exists, OreSpawn imports the Mineralogy 6
9399
profile directly, updates its schema marker, and records `migrated_from`.
94100

‎docs/README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ shaded or embeddable engine artifact.
66

77
Choose the guide that matches what you are doing:
88

9+
For mod or modpack integration, start with the developer guide, then use the
10+
API and provider references for the details.
11+
912
- [Player and server guide](PLAYER_GUIDE.md)
1013
- [Developer quick start and complete integration map](DEVELOPER_GUIDE.md)
1114
- [Configuration field reference](CONFIGURATION.md)
@@ -18,7 +21,6 @@ Choose the guide that matches what you are doing:
1821
- [Migration](MIGRATION.md)
1922
- [Troubleshooting](TROUBLESHOOTING.md)
2023
- [Versioning and release identities](VERSIONS.md)
21-
- [Compact instructions for coding agents](AGENTS.md)
2224

2325
Validated examples are in `examples/`; JSON Schemas are in `schemas/`.
2426
The provider and migration guides include OS3-compatible ranged quantities and

‎docs/VERSIONS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Examples:
5151

5252
| Minecraft | Loader | Target | Example full version |
5353
| --- | --- | ---: | --- |
54-
| 1.10.2 | Forge | `110021` | `4.1.0.110021` |
54+
| 1.10.2 | Forge | `110021` | `4.1.1.110021` |
5555
| 1.12.2 | Forge | `112021` | `4.0.6.112021` |
5656
| 1.13.2 | Forge | `113021` | `4.0.6.113021` |
5757
| 1.20.6 | Forge | `120061` | `4.0.6.120061` |

‎gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ mod_vendor=Minecraft Mod Development
3030
mod_license=LGPL-2.1
3131
mod_license_name=GNU Lesser General Public License, Version 2.1
3232
mod_license_url=https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
33-
mod_version=4.1.0.110021
33+
mod_version=4.1.1.110021
3434
mod_group=zone.moddev.mc.orespawn
3535
mod_authors=SkyBlade1978, dshadowwolf, the MMD Team
3636
mod_description=Configurable, provider-driven terrain, ore, and deposit generation.

‎gradle/ide/eclipse.gradle‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ tasks.register('verifyEclipseProductionClasspath') {
157157
}
158158
File eclipseResources = file('bin/main')
159159
List<File> trackedDocs = trackedDocumentationFiles()
160-
if (trackedDocs.size() != 21) {
161-
throw new GradleException("Expected 21 tracked documentation files, found ${trackedDocs.size()}")
160+
if (trackedDocs.size() != 20) {
161+
throw new GradleException("Expected 20 tracked documentation files, found ${trackedDocs.size()}")
162162
}
163163
trackedDocs.each { File source ->
164164
String relative = documentationRelativePath(source)

0 commit comments

Comments
 (0)