Structure Spawner

About

StructureSpawner is a Minecraft Fabric mod for version *.21.4 that triggers random structure generation when the player places any block. Upon block placement, the mod selects a random structure from a predefined list and spawns it five blocks away from the placed block's position, in a random horizontal direction. The mod ensures stability by validating spawn locations, preventing crashes through proper world interaction checks, and handling edge cases such as unloaded chunks or invalid positions. It integrates seamlessly with vanilla world generation, offering configurable structure lists and spawn distance options for server administrators.