From 00f199d812e0a2bcefc8d4dcbee47bfe6b8e5336 Mon Sep 17 00:00:00 2001 From: icanttellyou Date: Mon, 15 Jun 2026 15:39:01 +0300 Subject: [PATCH] chore: Prepare for 5.0.0-alpha.1 --- CHANGELOG.md | 46 ++++++++++++++++++- FULL-CHANGELOGS.md | 48 ++++++++++++++++++++ README.md | 8 +++- buildSrc/src/main/kotlin/build-extensions.kt | 11 +++-- gradle.properties | 2 +- 5 files changed, 106 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67623ce0..72470288 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,45 @@ +**WARNING!: This release introduces breaking changes. Additionally, this is an alpha version, +which may include bugs and issues, and can be prone to breaking with future releases.** + +## Additions +- Added support for Minecraft 26.2 +- Added component for structure modifiers + - This allows to modify how structures generate, or allow for custom structures to generate on a per-preset basis. +- Added data-driven biome injectors + - This new system allows for more advanced biome generation + - In future versions this system will be expanded further +- (1.20.1) Added support for Forge biome tags. + +## Changes +- Ocean Shrines now generate in presets without Deep Ocean biomes + - Previously they only generated in Moderner Beta Ocean biomes. +- Strongholds now generate properly in LCE presets +- Moved erosion generation to surface rules + - NOTE: Currently erosion has issues with water when sea level is not 63. +- Enabled surface rules by default in presets with cave biomes +- Surface rules now use same surface depth as normal surface generation +- Surface rules now use precise preliminary height, rather than quantised height +- Surface rules now use precise biome for certain biome providers + - This is mostly noticeable with the Beta biome provider. +- Refactored biome generators to use biome references directly + - NOTE: This does not apply to the fractal biome generators, as those use an extended ID system. +- Refactored noise generation to use a common interface +- `/locate` can now locate injected biomes from some biome injectors. +- General optimisations for world generation. + ## Fixes -- Fixed custom surface rules not being added by mods in Moderner Beta in most cases -- Fixed up invoker mixin to not cause warning \ No newline at end of file +- Fixed cave biome and ocean biome injection occurring before surface generation. + - This notably fixes frozen ocean biome generation, along with sulfur cave generation. +- Fixed certain Moderner Beta biomes not generating properly with surface rules enabled. + +## Removals +- Removed support for Minecraft 1.21.6-1.21.8, 1.21.9-1.21.10, and 1.21.11 +- Removed GUI settings for biome injectors + - It is currently not known if these will be added back due to the complexity of biome injectors now. +- Removed climate mappings for Ocean and Deep Ocean biomes + - These are now to be handled by the biome injector. +- Removed Ocean and Deep Ocean layer types + - These should be handled by the biome injector + - Currently, no exact replacement exists, and will only be added in a future release. +- Removed the `moderner_beta:indev_stronghold` structure + - It is now done using the structure modifier component. diff --git a/FULL-CHANGELOGS.md b/FULL-CHANGELOGS.md index 78215b17..20dafd6c 100644 --- a/FULL-CHANGELOGS.md +++ b/FULL-CHANGELOGS.md @@ -1,3 +1,51 @@ +# 5.0.0-alpha.1 + +**WARNING!: This release introduces breaking changes. Additionally, this is an alpha version, +which may include bugs and issues, and can be prone to breaking with future releases.** + +## Additions +- Added support for Minecraft 26.2 +- Added component for structure modifiers + - This allows to modify how structures generate, or allow for custom structures to generate on a per-preset basis. +- Added data-driven biome injectors + - This new system allows for more advanced biome generation + - In future versions this system will be expanded further +- (1.20.1) Added support for Forge biome tags. + +## Changes +- Ocean Shrines now generate in presets without Deep Ocean biomes + - Previously they only generated in Moderner Beta Ocean biomes. +- Strongholds now generate properly in LCE presets +- Moved erosion generation to surface rules + - NOTE: Currently erosion has issues with water when sea level is not 63. +- Enabled surface rules by default in presets with cave biomes +- Surface rules now use same surface depth as normal surface generation +- Surface rules now use precise preliminary height, rather than quantised height +- Surface rules now use precise biome for certain biome providers + - This is mostly noticeable with the Beta biome provider. +- Refactored biome generators to use biome references directly + - NOTE: This does not apply to the fractal biome generators, as those use an extended ID system. +- Refactored noise generation to use a common interface +- `/locate` can now locate injected biomes from some biome injectors. +- General optimisations for world generation. + +## Fixes +- Fixed cave biome and ocean biome injection occurring before surface generation. + - This notably fixes frozen ocean biome generation, along with sulfur cave generation. +- Fixed certain Moderner Beta biomes not generating properly with surface rules enabled. + +## Removals +- Removed support for Minecraft 1.21.6-1.21.8, 1.21.9-1.21.10, and 1.21.11 +- Removed GUI settings for biome injectors + - It is currently not known if these will be added back due to the complexity of biome injectors now. +- Removed climate mappings for Ocean and Deep Ocean biomes + - These are now to be handled by the biome injector. +- Removed Ocean and Deep Ocean layer types + - These should be handled by the biome injector + - Currently, no exact replacement exists, and will only be added in a future release. +- Removed the `moderner_beta:indev_stronghold` structure + - It is now done using the structure modifier component. + # 4.1.8 ## Fixes diff --git a/README.md b/README.md index 587d5bb8..2f2c0dbe 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,13 @@ Moderner Beta is the successor to [b3spectacled](https://codeberg.org/b3spectacled/)'s [Modern Beta](https://github.com/b3spectacled/modern-beta-fabric). It originally started as a pull request for the original Modern Beta to add in world generation from Beta 1.8 to 1.6.4, however due to b3spectacled's inactivity it has become its own project. -The mod is currently supported for 1.20.1, 1.21.1, 1.21.6-1.21.8, 1.21.9-1.21.10, 1.21.11, and 26.1. +The mod is currently supported for 1.20.1, 1.21.1, 1.21.6-1.21.8 (<5.0.0), 1.21.9-1.21.10 (<5.0.0), 1.21.11 (<5.0.0), 26.1, and 26.2 (5.0.0+). + +## Notice + +Moderner Beta 5.0.0 is currently in alpha. There may be bugs and issues, and can be prone to breaking with future releases. +4.1.x will continue to be supported until 5.0.0 exits development. Development may take quite some time. If you could help, then please +consider applying as a developer [here](https://docs.google.com/forms/d/e/1FAIpQLSftC3Sl78p2v26ywvxaYFDBNq_7AFzFZkQ2fu0vOVDiTAN8lg/viewform?usp=dialog). ## Features diff --git a/buildSrc/src/main/kotlin/build-extensions.kt b/buildSrc/src/main/kotlin/build-extensions.kt index 8751d972..9adb0f2b 100644 --- a/buildSrc/src/main/kotlin/build-extensions.kt +++ b/buildSrc/src/main/kotlin/build-extensions.kt @@ -35,17 +35,18 @@ value class ModData(private val project: Project) { fun prop(key: String): String = requireNotNull(propOrNull(key)) { "Missing '$key'" } fun getReleaseType(): String { - val semverExt = version.indexOf("-") + val semverExtIdx = version.indexOf("-") - if (semverExt == -1) + if (semverExtIdx == -1) return "STABLE" val extType: String - val extVer = version.indexOf(".") + val semverExt = version.substring(semverExtIdx + 1) + val extVer = semverExt.indexOf(".") if (extVer != -1) { - extType = version.substring(semverExt + 1, extVer) + extType = semverExt.substring(0, extVer) } else { - extType = version.substring(semverExt + 1) + extType = semverExt } return extType.uppercase() diff --git a/gradle.properties b/gradle.properties index 5178296d..949b2f3e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,7 +19,7 @@ forgelike_loader_version=[VERSIONED] forgelike_loader_version_range=[VERSIONED] # Mod Properties -mod_version=4.1.8 +mod_version=5.0.0-alpha.1 maven_group=io.bluestaggo archives_base_name=moderner-beta modrinth_project_id=xkrdwmh2 -- knotmirror 0.0.1