Structure Layout Optimizer

Structure Layout Optimizer

Mod

Attempts to optimize the generation of Jigsaw Structures and NBT pieces

Server OptimizationWorld Generation

45.0k downloads
46 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...

v1.1.1

Fixed bug in last memory optimization where I made a field static that reeeeeeally should not be static.

v1.1.0

Added in a paletted version of the StructureBlockInfo list to reduce memory usage in vanilla's StructureTemplate. Care was given to try and make this compatible with other mods but more testing is needed. Marking as beta for now. Special thanks to contaria's Glacier mod for the original form of this optimization. See mod description for more info.

Fixed bug where structure layout can be different than in vanilla. Was accidentally calling an random number generator a second time.

Backported to 1.16.1 for speedrunners

FORGE: Fixed jar file's mixin's not being remapped properly

Added a new optimization to skip checking child rigid pieces if the parent Jigsaw Block is entirely blocked off. This is because there is no room to spawn any piece so all rigid children will fail the check. Thus making it safe for us to do this optimization and save us from doing expensive Jigsaw Block match up checks in structures that have excessive amounts of Jigsaw Blocks.

Fixed a rare and obscure bug with this mod where a structure piece might not place blocks in all chunks it intersects because the piece had no blocks to place in one of those chunks. Now it should always place all of its blocks correctly.

FORGE: Fixed jar file's mixin remap not being built correctly.

Added a new optimization to skip checking child rigid pieces if the parent Jigsaw Block is entirely blocked off. This is because there is no room to spawn any piece so all rigid children will fail the check. Thus making it safe for us to do this optimization and save us from doing expensive Jigsaw Block match up checks in structures that have excessive amounts of Jigsaw Blocks.

Fixed a rare and obscure bug with this mod where a structure piece might not place blocks in all chunks it intersects because the piece had no blocks to place in one of those chunks. Now it should always place all of its blocks correctly.

FORGE: Put back the requirement for 47.3.12 or newer Forge because I am using a feature from 47.3.12 Forge. This will now provide the better and more clear error message when using outdated Forge

FORGE: Upload the remapped jar. My bad in the conversion to Legacy ModDevGradle

FORGE: Fixed Forge jar not working due to ForgeGradle being broken junk. Switched to Legacy ModDevGradle and now the Forge jar is created properly.

Added a new optimization to skip checking child rigid pieces if the parent Jigsaw Block is entirely blocked off. This is because there is no room to spawn any piece so all rigid children will fail the check. Thus making it safe for us to do this optimization and save us from doing expensive Jigsaw Block match up checks in structures that have excessive amounts of Jigsaw Blocks.

Fixed a rare and obscure bug with this mod where a structure piece might not place blocks in all chunks it intersects because the piece had no blocks to place in one of those chunks. Now it should always place all of its blocks correctly.