mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 16:25:36 +00:00
Descriptions match behaviour
- Policy fluid describes the per-stretch rule keyed on the upstream end, cave pools and the seam limit - Policy class description covers region inheritance, whole-object wetness and cave-pool fluid order - Wetness descriptions state that the bounded wetness also sets pond and lake drawdown - Cave pool radius describes the square box around the site column - Lake-borrowed pond fields name lakes: freeboard, climateDrawdown, materials, shore roundness, natural minDepth - Lakes and ponds class descriptions list the pond settings lakes share - Structure FLATTEN and SOURCE cuts beneath water or lava keep that fluid - Studio Rivers view lists the water it draws instead of grottos - Recapture the schema digest
This commit is contained in:
1 parent
408ac5e6b0
commit
217da03ef6
11 files changed
+20
-20
No files matched your search
@@ -40,7 +40,7 @@ public class IrisCavePools {
|
||||
|
||||
@MinNumber(1)
|
||||
@MaxNumber(15)
|
||||
@Description("Distance in blocks a pool may spread from its site, at most 15.")
|
||||
@Description("Half-size in blocks of the square box, centered on the site column, inside which a pool settles and spreads, at most 15, so a pool stays within one chunk of the chunk that holds its site.")
|
||||
private int radius = 15;
|
||||
|
||||
@ArrayType(type = Integer.class, min = 2)
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import lombok.experimental.Accessors;
|
||||
|
||||
@Accessors(chain = true)
|
||||
@NoArgsConstructor
|
||||
@Description("Large lakes that fill the biggest hollows in the terrain. Each lake has one water level across its whole surface.")
|
||||
@Description("Large lakes that fill the biggest hollows in the terrain. Each lake has one water level across its whole surface. A hollow becomes a lake only when it is at least ponds.natural.minDepth deep and no more than 2048 blocks across. Lakes take their freeboard, climateDrawdown, shore roundness, materials, decorators and fluid from ponds.")
|
||||
@Data
|
||||
public class IrisHydrologyLakes {
|
||||
@Description("Turns large hollows into lakes.")
|
||||
|
||||
+3
-3
@@ -19,7 +19,7 @@ import java.util.function.Function;
|
||||
|
||||
@Accessors(chain = true)
|
||||
@NoArgsConstructor
|
||||
@Description("Hydrology settings for a dimension, region or biome. A value a biome leaves unset is inherited from the biome it grows inside as a child, up through that biome's own parents, then from the region, then from the dimension.")
|
||||
@Description("Hydrology settings for a dimension, region or biome. A value a biome leaves unset is inherited from the biome it grows inside as a child, up through that biome's own parents, then from the region, then from the dimension, and a value a region leaves unset is inherited from the dimension. wetness is inherited whole: a bound it leaves out is 0 for min and 1 for max. Cave pools take fluid from the cave biome at the pool, then its region, then the dimension, and never from the surface biome above.")
|
||||
@Data
|
||||
public class IrisHydrologyPolicy {
|
||||
public static final double MAX_MULTIPLIER = 16D;
|
||||
@@ -37,7 +37,7 @@ public class IrisHydrologyPolicy {
|
||||
@Description("Whether the dimension's wet and dry zones apply in this area. false keeps this area's full rainfall and pond density even inside a dry zone. With no value set anywhere they apply.")
|
||||
private Boolean climateZones = null;
|
||||
|
||||
@Description("Bounds on the wetness of the dimension's wet and dry zones in this area: min keeps a swamp wet inside a dry zone, max keeps a desert mostly dry inside a wet zone. It has no effect where the wet and dry zones are off or climateZones is false. With no value set anywhere the zone wetness applies unchanged.")
|
||||
@Description("Bounds on the wetness of the dimension's wet and dry zones in this area: min keeps a swamp wet inside a dry zone, max keeps a desert mostly dry inside a wet zone. The bounded wetness scales the area's rainfall and pond density and sets how far ponds and lakes whose floor lies here drop below their freeboard. It has no effect where the wet and dry zones are off or climateZones is false. A scope that sets it replaces both bounds, and a bound it leaves out is 0 for min and 1 for max. With no value set anywhere the zone wetness applies unchanged.")
|
||||
private IrisHydrologyWetness wetness = null;
|
||||
|
||||
@Description("Whether streams and rivers may form in this area. With no value set anywhere they are allowed.")
|
||||
@@ -46,7 +46,7 @@ public class IrisHydrologyPolicy {
|
||||
@Description("Whether ponds may form in this area. With no value set anywhere they are allowed.")
|
||||
private IrisHydrologyPermission ponds = null;
|
||||
|
||||
@Description("Name of a fluid profile that fills the water in this area instead of its usual fluid: ponds and lakes whose floor lies here, and every stretch of stream or river that flows through here.")
|
||||
@Description("Name of a fluid profile that fills the water in this area instead of its usual fluid: ponds and lakes whose floor lies here, and every stretch of stream or river whose upstream end lies here, for the whole stretch. A stretch that starts elsewhere keeps its own fluid while it crosses this area. Set on a cave biome, a region or the dimension, it also fills the cave pools there. It cannot name a seam profile.")
|
||||
private String fluid = null;
|
||||
|
||||
@RegistryListResource(IrisBiome.class)
|
||||
|
||||
+5
-5
@@ -13,7 +13,7 @@ import lombok.experimental.Accessors;
|
||||
|
||||
@Accessors(chain = true)
|
||||
@NoArgsConstructor
|
||||
@Description("Standing water above sea level. Ponds fill natural hollows, seeded cups and optional dams, each with its own level, so ponds sit at many heights and streams link them into chains.")
|
||||
@Description("Standing water above sea level. Ponds fill natural hollows, seeded cups and optional dams, each with its own level, so ponds sit at many heights and streams link them into chains. Lakes take their freeboard, climateDrawdown, shore roundness, materials, decorators and fluid from here as well.")
|
||||
@Data
|
||||
public class IrisHydrologyPonds {
|
||||
@Description("Ponds that fill hollows already present in the terrain.")
|
||||
@@ -26,18 +26,18 @@ public class IrisHydrologyPonds {
|
||||
private IrisPondDams dams = new IrisPondDams();
|
||||
|
||||
@ArrayType(type = Integer.class, min = 2)
|
||||
@Description("Blocks the pond surface sits below its spill point, written as [min, max]. Each pond picks a value in this range.")
|
||||
@Description("Blocks the pond or lake surface sits below its spill point, written as [min, max]. Each pond and lake picks a value in this range.")
|
||||
private KList<Integer> freeboard = new KList<>(1, 3);
|
||||
|
||||
@MinNumber(0)
|
||||
@MaxNumber(32)
|
||||
@Description("Extra blocks a pond surface drops in the driest climate. Ponds in wet areas stay full.")
|
||||
@Description("Most extra blocks a pond or lake surface drops below its freeboard, in the driest areas. The drop is this value times the dryness at the floor, rounded: one minus the zone wetness, after the area's wetness bounds, where the dimension's wet and dry zones apply, and one minus the area's rainfall elsewhere, so water at a wetness or rainfall of 1 or more stays full.")
|
||||
private int climateDrawdown = 6;
|
||||
|
||||
@Description("Shape of pond shores and floors.")
|
||||
@Description("Shape of pond shores and floors. Lakes take only its roundness.")
|
||||
private IrisPondShore shore = new IrisPondShore();
|
||||
|
||||
@Description("Blocks painted on pond floors and shores.")
|
||||
@Description("Blocks painted on pond and lake floors and shores.")
|
||||
private IrisHydrologyMaterials materials = new IrisHydrologyMaterials();
|
||||
|
||||
@ArrayType(type = IrisDecorator.class)
|
||||
|
||||
+3
-3
@@ -9,16 +9,16 @@ import lombok.experimental.Accessors;
|
||||
|
||||
@Accessors(chain = true)
|
||||
@NoArgsConstructor
|
||||
@Description("Bounds on how wet the dimension's wet and dry zones make this area. The zone wetness runs from the climate's dryRainfall in dry zones to 1 in wet zones and is held between min and max here before it scales rainfall and pond density.")
|
||||
@Description("Bounds on how wet the dimension's wet and dry zones make this area. The zone wetness runs from the climate's dryRainfall in dry zones to 1 in wet zones and is held between min and max here. The bounded wetness scales rainfall and pond density, and a pond or lake whose floor lies here drops ponds.climateDrawdown times one minus it, rounded, below its freeboard.")
|
||||
@Data
|
||||
public class IrisHydrologyWetness {
|
||||
@MinNumber(0)
|
||||
@MaxNumber(1)
|
||||
@Description("Lowest wetness this area falls to, even inside a dry zone. 0.7 keeps 70% of the rainfall and pond density in dry zones.")
|
||||
@Description("Lowest wetness this area falls to, even inside a dry zone. 0.7 keeps 70% of the rainfall and pond density in dry zones and lowers ponds and lakes by at most 30% of ponds.climateDrawdown. Left out, it is 0.")
|
||||
private double min = 0D;
|
||||
|
||||
@MinNumber(0)
|
||||
@MaxNumber(1)
|
||||
@Description("Highest wetness this area reaches, even inside a wet zone. 0.35 keeps at most 35% of the rainfall and pond density. Must not be below min.")
|
||||
@Description("Highest wetness this area reaches, even inside a wet zone. 0.35 keeps at most 35% of the rainfall and pond density and lowers ponds and lakes by at least 65% of ponds.climateDrawdown. Must not be below min. Left out, it is 1.")
|
||||
private double max = 1D;
|
||||
}
|
||||
@@ -32,6 +32,6 @@ public class IrisPondNatural {
|
||||
|
||||
@MinNumber(0.5)
|
||||
@MaxNumber(64)
|
||||
@Description("Smallest hollow depth in blocks that holds a pond.")
|
||||
@Description("Smallest hollow depth in blocks that holds a pond or a lake.")
|
||||
private double minDepth = 2D;
|
||||
}
|
||||
@@ -9,12 +9,12 @@ import lombok.experimental.Accessors;
|
||||
|
||||
@Accessors(chain = true)
|
||||
@NoArgsConstructor
|
||||
@Description("Shape of pond and lake shores and floors.")
|
||||
@Description("Shape of pond shores and floors. Lakes take only roundness.")
|
||||
@Data
|
||||
public class IrisPondShore {
|
||||
@MinNumber(0)
|
||||
@MaxNumber(4)
|
||||
@Description("Strength of the noise that rounds and roughens pond outlines. 0 follows the terrain exactly.")
|
||||
@Description("Strength of the noise that rounds and roughens pond and lake outlines. 0 follows the terrain exactly.")
|
||||
private double roundness = 0.5D;
|
||||
|
||||
@MinNumber(0)
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ public class IrisVanillaStructureAdjustment {
|
||||
@Description("Optional foundation columns placed beneath the native structure piece bases after placement.")
|
||||
private IrisStructureStiltSettings stilt = null;
|
||||
|
||||
@Description("Optional terrain integration override. FLATTEN cuts and fills exposed surface foundations within flattenRange, blending across horizontalPadding blocks while preserving buried and submerged structures. It never lowers dry ground outside a structure footprint below the dimension fluidHeight, and cuts at or below fluidHeight fill with the dimension sea fluid instead of air. VACUUM raises processed rigid-template foundations with a fixed 12-block falloff without lowering ground. BORE and FORCE_CARVE clear every intersecting chunk before native placement, while ENCASE fills it. Left unset, SOURCE replays the registered structure's authored terrain adaptation.")
|
||||
@Description("Optional terrain integration override. FLATTEN cuts and fills exposed surface foundations within flattenRange, blending across horizontalPadding blocks while preserving buried and submerged structures. It never lowers dry ground outside a structure footprint below the dimension fluidHeight. A cut beneath water or lava, such as a riverbed, fills with that fluid, and other cuts at or below fluidHeight fill with the dimension sea fluid instead of air. VACUUM raises processed rigid-template foundations with a fixed 12-block falloff without lowering ground. BORE and FORCE_CARVE clear every intersecting chunk before native placement, while ENCASE fills it. Left unset, SOURCE replays the registered structure's authored terrain adaptation.")
|
||||
private IrisStructureTerrain terrain = null;
|
||||
|
||||
public boolean matches(String key) {
|
||||
|
||||
@@ -30,7 +30,7 @@ public class IrisStructureTerrain implements StructureTerrainSettings {
|
||||
private static final double MAX_EROSION_FREQUENCY = 1D;
|
||||
private static final double MAX_LOBE_FREQUENCY = 1D;
|
||||
|
||||
@Description("Terrain operation. SOURCE applies the registered native structure's authored terrain adaptation and is a no-op for editable Iris structures. PRESERVE disables terrain integration. FLATTEN cuts and fills exposed native structure terrain within flattenRange, blending across horizontalPadding blocks, and never lowers dry ground outside a structure footprint below the dimension fluidHeight. SOURCE and FLATTEN surface cuts at or below fluidHeight fill with the dimension sea fluid instead of air. VACUUM raises terrain from processed rigid-template foundations with a fixed 12-block falloff without lowering ground. BORE and FORCE_CARVE clear the requested envelope, while ENCASE fills it before placement.")
|
||||
@Description("Terrain operation. SOURCE applies the registered native structure's authored terrain adaptation and is a no-op for editable Iris structures. PRESERVE disables terrain integration. FLATTEN cuts and fills exposed native structure terrain within flattenRange, blending across horizontalPadding blocks, and never lowers dry ground outside a structure footprint below the dimension fluidHeight. SOURCE and FLATTEN surface cuts beneath water or lava, such as a riverbed, fill with that fluid, and other cuts at or below fluidHeight fill with the dimension sea fluid instead of air. VACUUM raises terrain from processed rigid-template foundations with a fixed 12-block falloff without lowering ground. BORE and FORCE_CARVE clear the requested envelope, while ENCASE fills it before placement.")
|
||||
private StructureTerrainMode mode = StructureTerrainMode.SOURCE;
|
||||
|
||||
@MinNumber(0)
|
||||
|
||||
@@ -30,7 +30,7 @@ enum MapView {
|
||||
REGIONS("Regions", "The region each spot belongs to; pick one to see the biomes it places",
|
||||
Group.WORLD, TileType.REGION, KeyEvent.VK_2),
|
||||
HEIGHT("Height", "Terrain height, from deep water to snowy peaks", Group.WORLD, TileType.HEIGHT, KeyEvent.VK_3),
|
||||
RIVERS("Rivers", "Rivers, falls, grottos and the rest of the hydrology the engine plans",
|
||||
RIVERS("Rivers", "Streams, rivers, falls, ponds, lakes, sea inlets and cave pools from the hydrology",
|
||||
Group.WORLD, TileType.RIVER, KeyEvent.VK_4),
|
||||
WORLD_3D("3D world", "The terrain in 3D, coloured by biome or region", Group.WORLD, null, KeyEvent.VK_5),
|
||||
LAND_BIOMES("Land biomes", "The land biome each spot would get, also where the sea is",
|
||||
|
||||
@@ -84,7 +84,7 @@ public class SchemaBuilderIdentityTest {
|
||||
@ClassRule
|
||||
public static final PlatformLeakGuard PLATFORM_GUARD = PlatformLeakGuard.clean();
|
||||
|
||||
private static final String EXPECTED_SCHEMA_DIGEST = "a07a6f50e6df895cf7d11a50245bfb3e987c5be2f527e45da86ade9826cd6f3a";
|
||||
private static final String EXPECTED_SCHEMA_DIGEST = "52d7194d5b45874dc57b5446125e1fa66c32a821733cf38c1c8256f1e52738f7";
|
||||
|
||||
private static final List<Class<?>> SCHEMA_ROOTS = List.of(
|
||||
IrisDimension.class,
|
||||
|
||||
Reference in new issue
Block a user