Iris
Iris copied to clipboard
Fluid-systems
Adding, Removing, or Changing
Changing
Type of Modification
I want to have seperate fluid height + sea level + way to generate fluids(will be needed for crossplatform like forge fluids)
What are you trying to modify
The way I would implement this is to seperate the current fluid height system. + Add more fluid generation options.
While Iris is mainly made for proceedural terrain generation, basing the entire terrain generation off of a sea level is just very limiting.
Ex.: More extreme mountains and fantasy-esk generations where water covers a big part of them. You could just adjust the generator, but what if you want a specific area between those mountains water free? Using something like FAWE may be an easy fix, but not if the biome/region would be generated more than once per world. In addition, using the object-edit to mark a large area with glass and then replacing it with void-air just makes the generation slower on large scale "glass bodies". It could maybe even pose lag problems post generation.
Another ex.:
The planned crossplatform "support" will allow Fabric/Forge/etc-users to load mods with custom fluids. Some fluids will not behave like water nor lava.
Example: https://ftb.fandom.com/wiki/Energized_Glowstone_(Thermal_Expansion_3)
TE3 is a very popular mod, adding a small extra line for just one fluid and other "mod support" will be a pain.
How to implement it:
I have no idea, frankly. Iris doesn't use cordinates. Processing them isn't what Iris is good at.
I would like the fluid height to be renamed to sea level and that it doesn't offset other generators. I would like to see custom fluid heights "layers" where you can specify the fluid that is allowed to be generated, like a pallet or "fluid type". This would allow custom fluids to be generated per region or biome on different heights. This will be very taxing and will make iris a lot slower. So it could be a toggeable option for forge/fabric/yadayada. It doesn't have to be loaded into the mantle by default.
Alternatives
If this could not be implemented I would ...just add a suggestion into the shema that shows you the fluid height for generators and that you need to consider it when dailing in the value. Or do an autocompletion like generator:[
{ "generators": [ { "min": "fluidheight + value", "generator": "example" }, //or {
"min": "**101** + 69",
"generator": "example"
}
]
}