Use Overworld cave settings for Cave Ages
Build / build (push) Canceled after 0s

This commit is contained in:
dnorberg committed 2026-09-22 16:58:18 -04:00
1 parent 8f692b181c
commit 6c1c90b171
4 files changed
+13 -6

No files matched your search

+6
View File
@@ -317,6 +317,12 @@ Void profiles retain their profile-specific biome sources. Legacy's scaled,
tiled, and grid layouts require dedicated modern biome sources and remain the
next distribution work.
Version 0.2.21.1 changes Cave Ages from Nether noise settings to Minecraft's
cave noise settings. Caves remain enclosed, but use stone, water, and
Overworld-like surfaces together with the persisted Native or Single biome
distribution. This prevents Nether terrain generation from leaking into newly
generated Cave Age chunks.
Version 0.2.14.0 restores the legacy Linking and Descriptive Book artwork for
inventory items and gives each book its matching open-book texture when placed
on a Book Stand. Return Linking Books created inside another Age also retain and
+1 -1
View File
@@ -35,7 +35,7 @@ mod_name=Rivencraft
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=LGPL-3.0-or-later
# The mod version. Rivencraft uses the x.y.z.b policy documented in README.md.
mod_version=0.2.21.0
mod_version=0.2.21.1
immersive_portals_version=6.0.7
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
@@ -21,7 +21,7 @@ public record AgeDefinition(
public static final ResourceLocation RANDOM_VANILLA_PROFILE = ResourceLocation.fromNamespaceAndPath(
Rivencraft.MOD_ID, "random_vanilla"
);
public static final int CURRENT_GENERATION_VERSION = 8;
public static final int CURRENT_GENERATION_VERSION = 9;
public AgeDefinition {
Objects.requireNonNull(id, "id");
@@ -254,7 +254,7 @@ public final class AgeDimensionService {
var noiseSettings = server.registryAccess().lookupOrThrow(Registries.NOISE_SETTINGS);
ResourceKey<NoiseGeneratorSettings> settingsKey;
if (profile.equals(AgeGenerationProfiles.CAVE)) {
settingsKey = NoiseGeneratorSettings.NETHER;
settingsKey = NoiseGeneratorSettings.CAVES;
} else if (profile.equals(AgeGenerationProfiles.ISLAND)) {
settingsKey = NoiseGeneratorSettings.FLOATING_ISLANDS;
} else if (profile.equals(AgeGenerationProfiles.AMPLIFIED)) {
@@ -262,9 +262,10 @@ public final class AgeDimensionService {
} else {
settingsKey = NoiseGeneratorSettings.OVERWORLD;
}
// Cave retains enclosed Nether-shaped density. Island/Skylands uses
// uniform floating-island density without the End's central dragon
// island. Both use Overworld biomes and dimension environment.
// Cave uses Minecraft's enclosed cave density with stone, water, and
// Overworld-like surfaces while retaining the Age's biome source.
// Island/Skylands uses uniform floating-island density without the
// End's central dragon island. Both use the Overworld environment.
// random_vanilla is retained as a migration alias for existing Ages.
return new NoiseBasedChunkGenerator(
createBiomeSource(server, age, biomeParameters),