
hxwi1structures
An NBT structure generator for modpack makers. Visual GUI config, four placement modes, biome tags, dimensions, Y range, chance, min distance. High‑performance, no Mixin, good compatibility. For 1.20.1 Forge / 1.21.1 NeoForge.
- Загрузки
- 143
- Подписчики
- 2
- Обновлён
- 2 июня 2026 г.
- Лицензия
- MIT
Опубликован 30 мая 2026 г.
Hxwi1Structures
NBT structure generation mod designed for modpack authors – visual config, high performance, ready to use.
📦 Overview
Tired of manually writing JSON to configure structure generation? Hxwi1Structures lets you manage all your NBT structure generation rules through a visual GUI. Drop your buildings, click a few times, and the world will generate them automatically.
| Feature | Description |
|---|---|
| 🎮 Visual Config | /hxwi1 config – dual-panel GUI, left pane auto‑scans NBT files, right pane editable fields |
| 🔄 Hot‑Reload | Configuration reloads automatically after saving – no need to restart |
| 🌍 Four Placement Modes | Snap to Surface, Snap to Water Surface, Dock Mode, Underwater Mode |
| 🎲 Fine‑Grained Control | Biomes (tag support), dimensions, Y range, chance, conflict ratio, min chunk distance, rotations, Y offset, etc. |
| 🪓 Extra Block Removal | clear_blocks – manually specify blocks to remove (solves compatibility with Dynamic Trees and similar mods) |
| ⛏️ Flatten Ground | flatten_ground + ground_block – automatically fills gaps under the structure |
| 💬 Debug Commands | /hxwi1 biomeinfo – shows current biome and spawnable structures, /hxwi1 spawn for manual testing |
| ⚡ High Performance | Chunk post‑processing + tick throttling + LRU cache, negligible TPS impact |
| 🔌 Excellent Compatibility | No Mixin – works with major terrain/optimisation mods (verified with Better MC / ATM10) |
📥 Installation
- Download the JAR for your game version (1.20.1 Forge or 1.21.1 NeoForge).
- Put it into the
mods/folder. - Start the game – config files will be generated in
config/hxwi1structures/. - Place your structure‑block exported
.nbtfiles intoconfig/hxwi1structures/structures/(subfolders supported). - Run
/hxwi1 configto set up generation rules.
🛠️ Quick Start
- Add structures: Drop
.nbtfiles into thestructures/folder – the mod auto‑detects them. - Configure rules: Pick an NBT file in the GUI, set biomes, chance, Y range, etc.
- Test: Use
/hxwi1 spawn <filename>to spawn a structure at your current position. - Debug:
/hxwi1 biomeinfoshows which structures can generate in your current biome.
📖 Documentation
An in‑game multi‑language tutorial file is auto‑generated at: config/hxwi1structures/readme.txt
It contains a complete field reference, workflow examples, and FAQ.
⚠️ Current Version Status
- v0.3.1-alpha – core features stable, above‑ground generation has been validated in large modpacks.
- Known issue: Underground generation does not have collision detection and may overlap with other mods‘ dungeons. Mitigate by adjusting Y range or increasing
min_chunk_distance. - Semi‑compatible with Dynamic Trees: may require manually adding Dynamic Trees’ blocks to
clear_blocksfor complete removal.
🧪 Compatibility
- ✅ Better MC v58 (BMC4)
- ✅ All the Mods 10 - 7.0
- ✅ C2ME, TerraForged, Terralith, Biomes O’ Plenty, etc.
- ⚠️ Dynamic Trees (semi‑compatible, may need extra
clear_blocksconfiguration)
📝 License & Open Source
- Code: MIT License
- NBT structure assets: Copyright retained by their creators. Redistribution of extracted NBT files for other mods is prohibited. They may be distributed as part of an entire modpack together with this mod.
🔗 Links
- GitHub: https://github.com/hxwi1/hxwi1structures
- Feedback: [email protected]
If you like this mod, recommend it to your favourite modpack authors!
Ченджлог
0.3.1Альфа1.20.1 · 2 июня 2026 г.
v0.3.1-alpha
Added
- Configuration GUI —
/hxwi1 configopens a dual-panel GUI- Left panel automatically scans NBT files
- Right panel scrollable form for editing all fields
- Auto‑serializes to JSON on save
- Config reload —
/hxwi1 reloadhot‑reloads rules without restart - Flatten ground —
flatten_groundfield: fills gaps under the structure with a specified block before placement - Ground block —
ground_blockfield: customisable block for flattening (defaultminecraft:dirt) - Extra block removal —
clear_blocksfield: manually specify blocks to remove (solves trees from mods that don’t register standard tags) - Biome tag support —
biomesfield supports tags like#minecraft:is_forest, can be mixed with exact IDs - Command —
/hxwi1 biomeinfoshows current biome and list of NBT files that can generate there - Command —
/hxwi1 spawn <file>manually spawns a structure at your current position (Tab‑completion, supports subfolders) - NBT subfolders — recursively scans all
.nbtfiles insidestructures/ - Entity placement — entities inside the template (villagers, armour stands, etc.) are spawned with the structure
- Rotation offset —
rotation_offsetcorrects orientation errors from saved NBT files - README — tutorial file supports hot‑reload, no game restart required
- Language support — UI and readme tutorial auto‑switch between Chinese and English; other languages are outdated but still usable, planned to be fully updated in the future
- Command toggle —
mod_settings.jsonallows disabling all/hxwi1debug commands - Auto‑backup — automatically backs up config when saving to prevent accidental deletion (backup count configurable via
max_backups)
Fixes
- Flowers and replaceable plants are now treated as replaceable by default, preventing structures from floating
place_on_waterrenamed toSnap to Water Surface- Fixed border rendering on the right panel of ConfigScreen; scissor cropping prevents control overflow
Compatibility testing
- Verified to run normally in Better MC v58 (BMC4) and All the Mods 10 - 7.0, with negligible performance impact
- Semi‑compatible with Dynamic Trees mod; may require extra configuration in
clear_blocksto fully remove Dynamic Trees blocks
New configuration options
commands_enabled— modpack/server owners can disable all/hxwi1commandsmax_backups— number of backups to keep (0–20, default 2)enabled— each rule can be individually toggled on/offmin_chunk_distance— minimum chunk distance between same‑type structures (default 5 chunks)
Known issues
- Underground generation does not have collision detection enabled and may overlap with other mods’ dungeons. Mitigate by adjusting Y range or increasing
min_chunk_distance.
0.3.1Альфа1.21.1 · 2 июня 2026 г.
v0.3.1-alpha
Added
- Configuration GUI —
/hxwi1 configopens a dual-panel GUI- Left panel automatically scans NBT files
- Right panel scrollable form for editing all fields
- Auto‑serializes to JSON on save
- Config reload —
/hxwi1 reloadhot‑reloads rules without restart - Flatten ground —
flatten_groundfield: fills gaps under the structure with a specified block before placement - Ground block —
ground_blockfield: customisable block for flattening (defaultminecraft:dirt) - Extra block removal —
clear_blocksfield: manually specify blocks to remove (solves trees from mods that don’t register standard tags) - Biome tag support —
biomesfield supports tags like#minecraft:is_forest, can be mixed with exact IDs - Command —
/hxwi1 biomeinfoshows current biome and list of NBT files that can generate there - Command —
/hxwi1 spawn <file>manually spawns a structure at your current position (Tab‑completion, supports subfolders) - NBT subfolders — recursively scans all
.nbtfiles insidestructures/ - Entity placement — entities inside the template (villagers, armour stands, etc.) are spawned with the structure
- Rotation offset —
rotation_offsetcorrects orientation errors from saved NBT files - README — tutorial file supports hot‑reload, no game restart required
- Language support — UI and readme tutorial auto‑switch between Chinese and English; other languages are outdated but still usable, planned to be fully updated in the future
- Command toggle —
mod_settings.jsonallows disabling all/hxwi1debug commands - Auto‑backup — automatically backs up config when saving to prevent accidental deletion (backup count configurable via
max_backups)
Fixes
- Flowers and replaceable plants are now treated as replaceable by default, preventing structures from floating
place_on_waterrenamed toSnap to Water Surface- Fixed border rendering on the right panel of ConfigScreen; scissor cropping prevents control overflow
Compatibility testing
- Verified to run normally in Better MC v58 (BMC4) and All the Mods 10 - 7.0, with negligible performance impact
- Semi‑compatible with Dynamic Trees mod; may require extra configuration in
clear_blocksto fully remove Dynamic Trees blocks
New configuration options
commands_enabled— modpack/server owners can disable all/hxwi1commandsmax_backups— number of backups to keep (0–20, default 2)enabled— each rule can be individually toggled on/offmin_chunk_distance— minimum chunk distance between same‑type structures (default 5 chunks)
Known issues
- Underground generation does not have collision detection enabled and may overlap with other mods’ dungeons. Mitigate by adjusting Y range or increasing
min_chunk_distance.
0.1.2Альфа1.21.1 · 30 мая 2026 г.
v0.2.0-alpha
Added
- Visual configuration editor – entry point not yet available
- Left pane automatically scans NBT files
- Right pane scrollable form to edit all fields
- Auto‑serialises to JSON on save
- NeoForge 1.21.1 support
- Structure density control –
grid_intervalglobal sampling interval - Underwater mode –
underwater_modeonly generates in water - Dock mode –
dock_modeautomatically detects water edge orientation - Y offset –
y_offsetvertical fine‑tuning - Clear trees –
clear_treesBFS removes logs and leaves - Loot tables –
loot_tableautomatically injects into containers - Multi‑language readme – auto‑generated tutorial in 10 languages
Fixes
- Structure overlapping across chunk borders
- Duplicate generation after server restart (SavedData persistence)
- Over‑aggressive tree clearing (BFS radius reduced from 2 to 1)
v0.1.0 (internal version)
- JSON‑driven NBT structure generation
- Biome / dimension / chance / Y range filtering
- Snap to surface, place on water, collision detection
- Delayed queue processing (2 chunks per tick)
- LRU template cache
- Default example rules and NBT files
0.1.2Альфа1.20.1 · 30 мая 2026 г.
v0.2.0-alpha
Added
- Visual configuration editor – entry point not yet available
- Left pane automatically scans NBT files
- Right pane scrollable form to edit all fields
- Auto‑serialises to JSON on save
- NeoForge 1.21.1 support
- Structure density control –
grid_intervalglobal sampling interval - Underwater mode –
underwater_modeonly generates in water - Dock mode –
dock_modeautomatically detects water edge orientation - Y offset –
y_offsetvertical fine‑tuning - Clear trees –
clear_treesBFS removes logs and leaves - Loot tables –
loot_tableautomatically injects into containers - Multi‑language readme – auto‑generated tutorial in 10 languages
Fixes
- Structure overlapping across chunk borders
- Duplicate generation after server restart (SavedData persistence)
- Over‑aggressive tree clearing (BFS radius reduced from 2 to 1)
v0.1.0 (internal version)
- JSON‑driven NBT structure generation
- Biome / dimension / chance / Y range filtering
- Snap to surface, place on water, collision detection
- Delayed queue processing (2 chunks per tick)
- LRU template cache
- Default example rules and NBT files
Комментарии
Загружаем…