Every time a BetterStronghold spawns, the server main thread freezes for 15,120ms, disconnecting players and risking chunk corruption.
Cause: ModStructureTemplate is being instantiated inside piece generation methods (generateHall, generateCross, generateHallLevel) instead of cached at startup. Each piece creation runs the full Forge CompoundDataFixer chain from scratch. Since the structure generates recursively with many pieces, this compounds into a ~15s freeze. LoliASM v5.31 is present and softening the NBT/ResourceLocation spam but cannot prevent the freeze at this scale.
Fix: Load templates once at init, reuse them, don't call new ModStructureTemplate(...) inside generation methods.

Every time a BetterStronghold spawns, the server main thread freezes for 15,120ms, disconnecting players and risking chunk corruption.
Cause: ModStructureTemplate is being instantiated inside piece generation methods (generateHall, generateCross, generateHallLevel) instead of cached at startup. Each piece creation runs the full Forge CompoundDataFixer chain from scratch. Since the structure generates recursively with many pieces, this compounds into a ~15s freeze. LoliASM v5.31 is present and softening the NBT/ResourceLocation spam but cannot prevent the freeze at this scale.
Fix: Load templates once at init, reuse them, don't call new ModStructureTemplate(...) inside generation methods.