The Twilight Forest

The Twilight Forest

143M Downloads

Possible porting error with Stalactite generation

Andromander opened this issue ยท 0 comments

commented

NeoForge version: 20.6.116
Twilight Forest version: whatever version we left 1.20.6 at

I've been doing a bit of extensive research into Stalactites for their contents, and I realised there's conflicting information, that being screenshots and what's currently generating.

The main point I've noticed is that Hydra Lairs used to generate Lapis Lazuli, Diamond, and Emerald Ores. I don't know if it was agreed upon to remove the ores, but if it wasn't, this is likely a porting error. Based on some code I've been scavenging from 1.7.10, ores from the next hill size up were able to generate, though at a much lower chance than if it were the exact size. Since the Hydra Lair's hill size in code is 2, this meant that hill size 3 ores had a 1 in 5 chance of attempting to generate. In the current stalactite config, this is not the case, as these ores are not able to generate (aside from circumstantial worldgen).

As an aside while I was looking through this, I'm not sure the stalactite configs accurately represent the chance they're allowed to generate, based on 1.7.10's logic. I might not be looking at the code correctly, so that might just be a me issue.