This mod is specifically created for the GrinnsRPG modpack, using it standalone will not work properly for the time being and is HIGHLY not recommended.
This mod aims to provide a bit more control on how far from world spawn point certain structures should be generated, as well as handling what bosses need to be defeated before a player can enter certain structures and restoring structures to their original state when a boss encounter is finished.
This mod features...
- Distance based structure gating, basically prevents the spawning of structures unless it is a certain distance away from world spawn point. This is achieved via config, and has serveral toggle to suit the needs of the world you may want to create including world border rules, dimension scale overrides (for dimensions that scale differently from the overworld, for example 1 block traveled = 8 blocks traveled in the overworld), and relocation options.
- Boss Requirements per structure, if a player hasn't defeated a certain boss to unlock access to a structure then the player is kicked out of the structure in question. This is very useful for story-based progression to make sure the player isn't skipping content creators want them to experience. This is also achieved via config and includes a message informing the player of the required boss needed to gain free access to the structure they are trying to enter.
- Structure Reset, this handles if a structure should be reset upon a specific entity being defeated. This is my attempt at fixing a problem with older servers where players feel they are missing the experience they are supposed to have in a dungeon because another player already cleared the encounter. Structures cache both blocks (not including loot chests/barrels) and entities that initially spawn into the structure and are cached per chunks explored by players, so if a player starts exploring but doesn't fully complete the encounter then the structure remains the same until completed later. This of course is also achieved via config, with support for if a boss needs to be defeated multiple times to clear the dungeon, as well as the option to only regenerate broken/placed blocks or to just regenerate the entire structure (HIGHLY NOT RECOMMENDED FOR MASSIVE STRUCTURES).
That's pretty much it in terms of what this mod provides, if you have any questions feel free to ask in the GrinnsRPG modpack server!

