CubicStruct
The CubicStruct mod provides the ability to add custom structures to Minecraft's procedural world generation. It supports .nbt format files and offers advanced placement settings through configuration JSON files.
Main Features
CubicStruct allows integration of custom structures into the world, creating unique landscapes and constructions. The mod works particularly well with Cubic World Gen but also supports standard worlds with specific settings.
Important Compatibility Notes
When using Cubic Chunks without Cubic World Gen, it's necessary to adjust minX and minY parameters to avoid incorrect structure placement. For optimal results in regular worlds, it's recommended to set appropriate minimum coordinate values.
Working with Structures
Obtaining .nbt Files
Any structure can be saved in .nbt format using Minecraft's standard structure block. The resulting files are placed in the save's 'structures' folder, after which they can be moved to the created 'cubic_structures' folder in the Minecraft root directory.
Additional Data Blocks
The mod implements special functions for data blocks that activate during natural world generation:
villager <profession> <career>- creates a random villager with the specified professionspawner- generates a random monster spawner from dungeonsblock- creates a random block from the provided list with seed assignment capability
Generation Configuration
After adding an .nbt file, a configuration JSON is automatically created with parameters:
- file - structure filename (required parameter)
- spawnChance - chance of structure appearing in a chunk
- surfaceLevel - height offset relative to surface
- dimensions - list of dimensions for generation
- biomeWhiteList/BlackList - biome restrictions
- maxDecay - percentage of structure decay during generation
- placementType - placement method (force, block, surface, liquidsurface, ceiling)
- enabled - structure activation (don't forget to set to true!)
Structure Groups
To create complex complexes, structures can be combined into groups. For this, a group.json file is created with parameters:
- origins - group starting points
- maxSpreadXZ/Y - maximum distance between structures
- minSize/maxSize - minimum and maximum number of structures
- spacing - minimum distance between elements
Each structure in a group can have additional parameters: minCount, maxCount, and weight to control appearance frequency.
Loading and Application
After configuring all parameters, reload the mod with the /csreload command or restart the game. Structures will begin appearing in new chunks according to your settings.
The mod opens endless possibilities for creative building and creating unique Minecraft worlds.