PhantomRain's worldgen lib provides enhanced extension tools for Minecraft world generation, simplifying structure generation and dimension management workflows in datapacks and mod development.
🛠️ Core Features
Fixed-location structure generation
Allows generating structures at specific fixed coordinates. The generation height (Y-axis) is determined by the corresponding structure file.
Single NBT simple structure registration
Addresses the complexity of vanilla jigsaw structures and the difficulty of fine-tuning Y-axis positions. Supports fixed height generation (with random integer support) and heightmap scanning with Y-axis offsets for terrain adaptation (e.g., buried structures).
Dimension presets
Provides a generator to quickly build void dimensions. Supports saving specific chunk data as preset structures, automatically extracting and applying these presets when creating new saves.
Real-time dimension resetting
Allows dynamic resetting of specific dimensions during server runtime. Supports scheduled auto-resets, auto-resetting when dimensions are empty, pre-reset warnings, forced player eviction, and triggering via in-game commands or KubeJS.
For detailed feature usage, please refer to the GitHub repository.
🚧 Planned Features
- Seed-variable dimension resets
- Dimension clone creation

