Lenient Stack Size

Lenient Stack Size

58.4k Downloads

MASSIVE console spam after removing Scorch, in the Overworld

SplendidAlakey opened this issue ยท 3 comments

commented

MC 1.17.1
Fabric loader 0.12.5; API 0.42.1
Scorch 1.1.2

I was under the impression that this mod adds content only to the Nether, but recently I removed the mod and completely regenerated Nether by deleting everything from the DIM-1 folder and now I'm getting MASSIVE console spam (hundreds of lines per second, fills up to tens of thousands of lines overall) while traveling in the Overworld.

[03:58:45] [Server thread/WARN]: Found reference to unknown structure 'scorch:debug_structure' in chunk [-38, -181], discarding
[03:58:45] [Server thread/WARN]: Found reference to unknown structure 'scorch:debris_structure' in chunk [-37, -181], discarding
[03:58:45] [Server thread/WARN]: Found reference to unknown structure 'scorch:wither_sanctum' in chunk [-37, -181], discarding

Just these 3 structures. Are they supposed to spawn in the Overworld? On the mod's description page I can't find anything at all regarding any structure generation, not to mention Overworld generation. Also the "debug_structure" doesn't sound like something that should be generating at all.

I also opened the chunk file with an NBTExplorer and indeed there are 3 references to these structures. In each of the hundreds of chunks...

Edit: thanks to https://github.com/Nyveon/MCStructureCleaner, I removed all the unknown structure references. Out of roughly 2400 mca files, there were more than 7 million references to Scorch related structures in the Overworld. I will leave the issue open because I want to know whether thats a bug or not.

commented

Thanks for the report!

This is very strange since the structures themselves do not appear in the overworld. This may be a bug with the FabricStructureBuilder (a relatively new feature for Fabric) but I'll try and check first to see if there's anything I can do on my end. If not, I'll forward this bug to Fabric.

commented

So after looking into it, this is a normal part of Fabric API clearing out its structure registry names. The API adds structure spacing to all dimensions but won't spawn unless specified. It logs all this in the console for some reason.
I'll close this issue here but I'll see if I can get in contact with the Fabric team to see if they can disable the constant logging in future updates.

commented

The problem is that it's not clearing it, it's just discarding it every time it encounters one, which means that every single time you re-enter a chunk/reload the world, it will start spamming.

Either way thanks for looking into it.