-
Notifications
You must be signed in to change notification settings - Fork 0
Structure Generator
Jupiter Dev edited this page Jun 10, 2025
·
1 revision
This page explains how to use the Structure generator in mDirt to add custom structures to your Minecraft datapack.
- In the Menu Bar, go to New Element β Structure
- The main area will update with fields for configuring your structure.
- The internal ID for your structure (e.g.,
ruby_vein
) - Must:
- Be all lowercase
- Contain no spaces
- Use underscores (
_
) between words
- Upload the
.nbt
file of your custom structure. - This should be exported from Minecraft using the
/structure save
command or structure block.
Defines when in world generation your structure will spawn. Options:
-
RAW_GENERATION
β Small End islands -
LAKES
β Lava lakes -
LOCAL_MODIFICATIONS
β Amethyst geodes, icebergs -
UNDERGROUND_STRUCTURES
β Dungeons, overworld fossils -
SURFACE_STRUCTURES
β Desert wells, ice patches -
STRONGHOLDS
β Not used in vanilla -
UNDERGROUND_ORES
β Ore veins, gravel/dirt/clay disks -
UNDERGROUND_DECORATION
β Infested blocks, Nether ores -
FLUID_SPRINGS
β Lavafalls and waterfalls -
VEGETAL_DECORATION
β Trees, bamboo, kelp, etc. -
TOP_LAYER_MODIFICATION
β Surface freezing
Determines how the structure adapts to the terrain. Options:
-
none
β No terrain adaptation -
beard_thin
β Used by Pillager outposts, villages -
beard_box
β Used by Ancient cities -
bury
β Used by Strongholds -
encapsulate
β Used by Trial Chambers
- Sets the vertical placement of the structure using an offset.
- This offset is relative to the selected heightmap below.
- Choose a heightmap to project the Start Height against.
- Examples:
WORLD_SURFACE
OCEAN_FLOOR
MOTION_BLOCKING
MOTION_BLOCKING_NO_LEAVES
- The average distance between two attempts to generate the structure.
- Higher values = rarer structures.
- The minimum number of chunks between two structure spawn attempts.
- Must be strictly less than
Spacing
.
- A list of biomes where this structure can generate.
- Shown as a set of checkboxes in the UI.
- You can check as many as you'd like β mDirt will only generate this structure in the selected biomes.
- Examples include:
Plains
Desert
Savanna
Made with β€οΈ by Faith & Code Technologies
Need help? Open an issue or visit the FAQs page.
Want to contribute? Check out Contributing
Β© 2025 mDirt β All rights reserved.