Mods / StrataShrinker

Category: #Worldgen
Author: Buggi
Side: Server
Created: Apr 19th 2023 at 11:01 PM
Last modified: Apr 19th 2023 at 11:02 PM
Downloads: 219
Follow Unfollow 0

Latest file for v1.18.0:
StrataShrinker-1.18-1.0.zip 1-click install


Read all of this, it's important.

After you install the mod and open any world with it the mod will generate a config file found in ModConfig directory.

The default values are the exact same as the vanilla game. So unless you edit those values there will be no change at all.

I was not able to find a set of values that actually changed what I wanted to change. If you find values that actually work, let me know and I'll update the mod with those new default values.

A few basic rules to follow:

  • ONLY set values to powers of 2. For example: 2, 4, 8, 16, 32, 64, etc.
  • Do NOT use highly extreme values as I have no idea what might happen.

 

I made this mod because what I was going after was making Rock TYPES change more frequently. I was tired of granite or andesite oceans  spanning thousands of blocks. Tyron pointed me to the RockStrataScale and RockStrataOctaveScale values but wasn't sure which to change and what direction (up or down). I tested setting each one to a high value and then low value, then setting one high AND one low... 

Then I added the RegionSize edit to see if that was causing the issue with no effect there either.

So, in the end, I have no idea what editing any of these 3 values (up or down) does as I saw no obvious difference to world-gen even when setting them to extreme values. If you find the sweet spot values that do, let me know.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.0 219 Apr 19th 2023 at 11:02 PM Show StrataShrinker-1.18-1.0.zip Install now

7 Comments (oldest first | newest first)

💬 VaelophisNyx, Jan 9th at 4:44 PM

Somehow, it seems this causes fruit trees to error spam at GetClimate()

💬 VaelophisNyx, Dec 31st 2023 at 1:47 AM

Yep :P

💬 BuggiAuthor, Dec 28th 2023 at 7:12 PM

Progress! So Octave Scale adjusts rock types vertically and regionSize.. allows for more frequent rock type changes?

💬 VaelophisNyx, Nov 30th 2023 at 2:25 AM

ok hang on I figured it out

change ONLY RegionSizeInChunks if you want smaller geological regions (or larger?)

 

StrataScale seems to directly cause the broken chunks of solid rock when reduced below 16

OctaveScale directly controls vertical strata depth; a setting of 16 will have 16 blocks before rock type is allowed to change; etc

💬 VaelophisNyx, Nov 30th 2023 at 1:50 AM

Yeah idk if this one is working right, there always seems to be large hard-edged strips of solid rock on the surface which are super out of place

💬 VaelophisNyx, Aug 25th 2023 at 12:35 AM

@matsaa93 Octaves would make sense to me as up/down levels, coming from a musical background, so it probably handles vertcial strata changes

💬 matsaa93, May 9th 2023 at 7:15 PM

got some resoults with:

 {
 "StrataScaleComment": "Changes TerraGenConfig.rockStrataScale, Vanilla value = 16",
 "StrataScale": 4,
 "OctaveScaleComment": "Changes TerraGenConfig.rockStrataOctaveScale, Vanilla value = 32",
 "OctaveScale": 8,
 "RegionSizeComment": "Region Size in Chunks... Vanilla value = 16",
 "RegionSizeInChunks": 16
}

but with this i get the weird chunks that looks out of place where there is no grass or gravel layer on top

i tried this and got some different resoults that made it have less veriety than last

{
 "StrataScaleComment": "Changes TerraGenConfig.rockStrataScale, Vanilla value = 16",
 "StrataScale": 6,
 "OctaveScaleComment": "Changes TerraGenConfig.rockStrataOctaveScale, Vanilla value = 32",
 "OctaveScale": 12,
 "RegionSizeComment": "Region Size in Chunks... Vanilla value = 16",
 "RegionSizeInChunks": 8
}

and lastly i did this to see if the RegionSizeInChunks had an effect, but it was not a big change it made some changes to what types spawnd but i think it has little effect on the frequency

{
 "StrataScaleComment": "Changes TerraGenConfig.rockStrataScale, Vanilla value = 16",
 "StrataScale": 4,
 "OctaveScaleComment": "Changes TerraGenConfig.rockStrataOctaveScale, Vanilla value = 32",
 "OctaveScale": 8,
 "RegionSizeComment": "Region Size in Chunks... Vanilla value = 16",
 "RegionSizeInChunks": 8
}

but i need to regen the world every time i change this, i also tested it on the same seed and worldgen option.

it seems like StrataScale has most effect on the frequency of change of type.

while OctaveScale is still unknown for me what it does.

i think there is something else that might be the reason for it not changing as ofthen, but i dont know what that can be as of this moment.

(edit comment delete)