mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 16:25:36 +00:00
Default inlet spacing 160
- Set the engine default to 160 so packs need nothing beyond enabled - Describe inlets as tidal arms in the settings and export notes - Recapture the pinned fingerprint and schema digest
This commit is contained in:
7 files changed
+9
-9
No files matched your search
@@ -56,7 +56,7 @@ public class IrisHydrology {
|
||||
@Description("How the ground around water is reshaped.")
|
||||
private IrisHydrologyDeformation deformation = new IrisHydrologyDeformation();
|
||||
|
||||
@Description("Water below the surface: flooded sea inlets and cave pools.")
|
||||
@Description("Sea inlets on the coast, and pools and springs in caves.")
|
||||
private IrisHydrologyUnderground underground = new IrisHydrologyUnderground();
|
||||
|
||||
@ArrayType(type = IrisFluidProfile.class, min = 1)
|
||||
|
||||
+2
-2
@@ -7,10 +7,10 @@ import lombok.experimental.Accessors;
|
||||
|
||||
@Accessors(chain = true)
|
||||
@NoArgsConstructor
|
||||
@Description("Water below the surface: flooded passages that run inland from the sea, pools on cave floors, and springs in cave walls.")
|
||||
@Description("Sea inlets on the coast, and water below the surface: pools on cave floors and springs in cave walls.")
|
||||
@Data
|
||||
public class IrisHydrologyUnderground {
|
||||
@Description("Flooded passages at sea level that run inland from coastal cliffs.")
|
||||
@Description("Tidal arms of the sea that wind inland from low coasts at sea level.")
|
||||
private IrisSeaInlets seaInlets = new IrisSeaInlets();
|
||||
|
||||
@Description("Standing water on the floors of carved caves.")
|
||||
|
||||
@@ -20,7 +20,7 @@ public class IrisSeaInlets {
|
||||
@MinNumber(32)
|
||||
@MaxNumber(4096)
|
||||
@Description("Size in blocks of the square cells of the site grid. Each cell holds at most one inlet; inlets in neighbouring cells can lie closer than this.")
|
||||
private int spacing = 192;
|
||||
private int spacing = 160;
|
||||
|
||||
@ArrayType(type = Integer.class, min = 2)
|
||||
@Description("Length of an inlet in blocks along its centre line, written as [min, max]. An arm that cannot reach the min is left out. The max, plus the meander, plus mouthHalfWidth max, plus bankBand must not exceed 512.")
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ final class RiverLimits {
|
||||
|
||||
private void inspectUnderground() {
|
||||
if (settings.underground().seaInlets().enabled()) {
|
||||
add(ExportLimit.SEA_INLET, hydrology, "", "Sea inlets are not exported: coastal cliffs have no flooded passages");
|
||||
add(ExportLimit.SEA_INLET, hydrology, "", "Sea inlets are not exported: low coasts have no tidal arms");
|
||||
}
|
||||
if (settings.underground().cavePools().enabled() && settings.underground().cavePools().density() > 0.0F) {
|
||||
add(ExportLimit.CAVE_POOL, hydrology, "", "Cave pools are not exported: cave floors hold no standing water of their own");
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ public class IrisHydrologyDefaultsTest {
|
||||
"lakes": { "enabled": true, "minArea": 65536, "maxArea": 4194304 },
|
||||
"deformation": { "maxFill": 6, "bankSlope": 0.2, "bankSteepFactor": 3.5, "bankNoise": 0.2, "caveMask": true },
|
||||
"underground": {
|
||||
"seaInlets": { "enabled": true, "spacing": 192, "length": [64, 256], "maximumBankHeight": 44, "mouthHalfWidth": [13, 15], "headHalfWidth": [2.5, 3], "taper": 1.4, "widthVariation": 0.18, "meanderWidth": 4, "depth": [2, 5], "bankBand": 32, "bankStyle": "SMOOTH" },
|
||||
"seaInlets": { "enabled": true, "spacing": 160, "length": [64, 256], "maximumBankHeight": 44, "mouthHalfWidth": [13, 15], "headHalfWidth": [2.5, 3], "taper": 1.4, "widthVariation": 0.18, "meanderWidth": 4, "depth": [2, 5], "bankBand": 32, "bankStyle": "SMOOTH" },
|
||||
"cavePools": { "enabled": true, "density": 0.15, "minArea": 6, "maxArea": 400, "maxDepth": 4, "radius": 15, "freeboard": [0, 1], "fluid": "water" }
|
||||
},
|
||||
"fluids": [ { "name": "water", "palette": { "palette": [ { "block": "minecraft:water" } ] } } ],
|
||||
|
||||
+2
-2
@@ -38,7 +38,7 @@ public class HydrologySettingsTest {
|
||||
private static final int SEA_LEVEL = 62;
|
||||
private static final int MIN_Y = -64;
|
||||
private static final int MAX_Y = 320;
|
||||
private static final long DEFAULT_FINGERPRINT = -2724181682955020615L;
|
||||
private static final long DEFAULT_FINGERPRINT = 8483795183515434045L;
|
||||
|
||||
@Test
|
||||
public void densityIsBoundedAndChangesThePlanIdentity() {
|
||||
@@ -715,7 +715,7 @@ public class HydrologySettingsTest {
|
||||
public void seaInletDefaultsDescribeAFunnelReachingInland() {
|
||||
HydrologySettings.SeaInlets inlets = compile(new IrisHydrology()).underground().seaInlets();
|
||||
assertTrue(inlets.enabled());
|
||||
assertEquals(192, inlets.spacing());
|
||||
assertEquals(160, inlets.spacing());
|
||||
assertEquals(new HydrologySettings.IntRange(64, 256), inlets.length());
|
||||
assertEquals(44, inlets.maximumBankHeight());
|
||||
assertEquals(new HydrologySettings.FloatRange(13f, 15f), inlets.mouthHalfWidth());
|
||||
|
||||
@@ -84,7 +84,7 @@ public class SchemaBuilderIdentityTest {
|
||||
@ClassRule
|
||||
public static final PlatformLeakGuard PLATFORM_GUARD = PlatformLeakGuard.clean();
|
||||
|
||||
private static final String EXPECTED_SCHEMA_DIGEST = "47b8ebadf50c11e9ab5d4293259056f005bac1d8c33ac8cc7d9bcc80c4afba6c";
|
||||
private static final String EXPECTED_SCHEMA_DIGEST = "817eb3979bbe9a5a3a7bd9b4ee21a068b44cbad367b81799be170c40d7ccd437";
|
||||
|
||||
private static final List<Class<?>> SCHEMA_ROOTS = List.of(
|
||||
IrisDimension.class,
|
||||
|
||||
Reference in new issue
Block a user