Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Please comment any ideas you may have to improve this mod. Any and all feedback is greatly appreciated :)
Additionally, if you make any configs you think other people would enjoy, send it to me on Discord and I'll be happy to upload it here!
All datapack versions work on Forge, NeoForge and Fabric.
This is a template datapack for my structure mod, Moogs Voyager Structures. Look at the info below to see how to use it.
This guide will help you customize the Moog's Voyager Structures datapack by explaining how to:
- Remove unwanted structures
- Change the rarity of structures
- Modify biome tags
1. Removing Unwanted Structures
To remove unwanted structures, you need to modify the relevant structure files in the data/mvs/worldgen/structure_set
directory and remove the section spawning the structure.
For example, to remove the "crimson_enchanting_table" structure:
- Open the file
data/mvs/worldgen/structure_set/other_decoration/crimson_enchanting_table.json
. - Modify the JSON to remove the structure spawning section, so it looks like this:
{
"structures":[
],
"placement": {
"type": "mvs:advanced_random_spread",
"salt": 836845261,
"spacing": 77,
"separation": 58
}
}
2. Changing the Rarity of Structures
To change the rarity of structures, modify the spacing
and separation
attributes in the relevant structure_set files in the data/mvs/worldgen/structure_set
directory.
For example, to change the rarity of the "crimson_enchanting_table" structure:
- Open the file
data/mvs/worldgen/structure_set/other_decoration/crimson_enchanting_table.json
. - Modify the
spacing
andseparation
attributes to adjust its rarity.
{
"structures":[
{
"structure": "mvs:other_decoration/crimson_enchanting_table",
"weight": 1
}
],
"placement": {
"type": "mvs:advanced_random_spread",
"salt": 836845261,
"spacing": 100, // Increase this value to make the structure less common
"separation": 80 // Ensure this value is smaller than spacing
}
}
Explanation of attributes:
spacing
: Average distance between two neighboring generation attempts. Value between 0 and 4096 (inclusive).separation
: Minimum distance (in chunks) between two neighboring attempts. Value between 0 and 4096 (inclusive). Has to be strictly smaller thanspacing
. The maximum distance of two neighboring generation attempts is2*spacing - separation
.
3. Modifying Biome Tags
To modify biome tags, edit the relevant JSON files in the data/mvs/tags/worldgen/biome/has_structure
directory.
For example, to add or remove biomes from the "snowy_biomes" tag:
- Open the file
data/mvs/tags/worldgen/biome/has_structure/snowy_biomes.json
. - Add or remove biomes from the
values
array.
{
"replace": true,
"values": [
// Add or remove biomes here
"minecraft:snowy_taiga",
{
"id": "byg:frosted_taiga",
"required": false
}
]
}
When modifying biome tags, note the following:
- Biome IDs should be written as
"minecraft:snowy_taiga"
. - Biome tags should be written with a hashtag in front, such as
"#minecraft:is_jungle"
. - When adding modded biomes, they must be written with
"required": false
, like this:{ "id": "#biomesoplenty:is_savanna", "required": false }
- Make sure to set
"replace": true
to ensure the changes take effect.
The best and fastest way to get help is to join our Discord server.