CubicStruct

⭐ — (6 endorsements) 📥 1,943 downloads 📌 v1.3.2 📅 4/17/2023
🟠 Updated over a year ago

By Abstrusle · adventure

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 12/20/2024 📅 Created: 4/17/2023
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.3% endorsement rate
  • 🏆 #142 of 538 adventure mods in this game by downloads

📋 About This Mod

# About CubicStruct is a mod intended to implement custom structures (nbt files) into world generation, with compatibility for Cubic World Gen. For each structure, it offers settings for biome, maximum decay, placement, and more through their respective .json files. If you're creative, perhaps you'll never need another structure mod. Additionally, for a means to implement custom loot tables into said structures without creating a mod or pasting into every world, see (https://gitlab.com/Absthistle/iloot). ## Usage ### Vanilla/CC Compatibility Warnings - If using Cubic Chunks without Cubic World Gen, minX and minY settings *must* be adjusted, or worldgen will attempt to spawn structures by tracing from the absurd top of the world. - While not a required dependency, this mod was developed specifically for structure compatibility with Cubic World Gen; regular worlds with or without Cubic Chunks may produce unintended effects (such as failed spawns). For ideal results without CWG, set minX and minY to structure-appropriate values. ### Acquiring structure .nbt To acquire any structure with .nbt format, simply save it using Minecraft's vanilla structure block. The new file will be found within the save's 'structures' directory, which you can then paste into the generated 'cubic_structures' folder, located in the base Minecraft directory. #### Data Blocks CubicStruct implements additional features for data blocks, which manifest on natural worldgen (unimplemented for manual loading) which are listed below (`<<>> - required`; `<> - optional`): - `villager <(profession (string/int))> <(career (int))>` - spawns a random villager with the given profession and career. - Professions available are `farmer`, `librarian`, `cleric`, `blacksmith`, `butcher`, and `nitwit`. Alternatively, use id. - `spawner` - generates a random monster spawner, from the dungeon pool. - `block <<{blocks:}>> <(seed ((int))>` - generates a random block from the provided list. Providing a seed allows multiple blocks within a structure to generate similarly (only the blocks themselves, not for any nbt associated). A formatting example would be `block {blocks:} 7`. ### Initializing the structure #### General The .nbt will be initialized on game/mod reload, and a new directory will be produced from it. The new directory will contain a .json which can be modified at will to alter how the structure spawns. The values are all preset, and determine spawn as follows: - **file** - (default: filename, required) - the only required parameter which isn't auto-assumed (will still be auto-generated). Do not modify this unless missing, moving the .nbt into a group, or also altering the filename of whatever is being edit. - **name** - (default: filename) - name for the structure. - **description** - (default: "No description provided.") - brief description for the structure. - **spawnChance** - (default: 1.0) - percent chance that an attempt will be made to spawn the structure within a chunk. Note that this value is relative, and may be impacted by generation failures; structures which are very likely to fail generating should be provided a higher value. - **surfaceLevel** - (default: 0) - the Y level offset relative to the structure's height to begin spawning onto a surface/ceiling. When placementType is set to `surface`, `0` results in spawning from the bottom of the structure, while the reverse is true of `ceiling`. For example, if a structure extends 8 blocks into the ground ('ground' being whatever surface/ceiling it latches onto), this should be set to `-8`. `block` and `force` ignore this. - **dimensions** - (default: ) - list of all dimensions this structure can spawn in (-1 = nether, 0 = overworld, 1 = end). This feature is currently nonfunctional in CWG worlds; use biome lists instead. - **biomeWhiteList** - (default: false) (conflicts with blacklist) - whether or not the structure is limited to specific biomes. - **biomeBlackList** - (default: false) (conflicts with whitelist) - whether or not the structure is restricted from spawning within specific biomes. - **biomes** - (default: minecraft:plains) - biomes to spawn in, if whitelist/blacklist is enabled. - **maxDecay** - (default: 0) - percent value denoting the amount of possible integrity loss when spawning the structure. Higher values will increase missing blocks. - **airSpawn** - (default: false) - whether or not the structure will only attempt spawning in air (as opposed to liquid). Conflicts with `liquidSpawn`, and ignored by `block` placement type. **Enable this if placement type is `surface`, or structure will also spawn in liquids.** - **liquidSpawn** - (default: false) - whether or not the structure will only attempt spawning in liquids. Conflicts with `airSpawn`, and ignored by `block` placement type. - **rotate** - (defau

CubicStruct is a mod intended to implement custom structures (nbt files) into world generation, with compatibility for Cubic World Gen. For each structure, it offers settings for biome, maximum decay, placement, and more through their respective .json files. If you're creative, perhaps you'll never need another structure mod. Additionally, for a means to implement custom loot tables into said structures without creating a mod or pasting into every world, see (https://gitlab.com/Absthistle/iloot).

### Vanilla/CC Compatibility Warnings

  • If using Cubic Chunks without Cubic World Gen, minX and minY settings must be adjusted, or worldgen will attempt to spawn structures by tracing from the absurd top of the world.
  • While not a required dependency, this mod was developed specifically for structure compatibility with Cubic World Gen; regular worlds with or without Cubic Chunks may produce unintended effects (such as failed spawns). For ideal results without CWG, set minX and minY to structure-appropriate values.

### Acquiring structure .nbt

To acquire any structure with .nbt format, simply save it using Minecraft's vanilla structure block. The new file will be found within the save's 'structures' directory, which you can then paste into the generated 'cubic_structures' folder, located in the base Minecraft directory.

#### Data Blocks

CubicStruct implements additional features for data blocks, which manifest on natural worldgen (unimplemented for manual loading) which are listed below (`<<>> - required`; `<> - optional`): - `villager <(profession (string/int))> <(career (int))>` - spawns a random villager with the given profession and career. - Professions available are `farmer`, `librarian`, `cleric`, `blacksmith`, `butcher`, and `nitwit`. Alternatively, use id. - `spawner` - generates a random monster spawner, from the dungeon pool. - `block <<{blocks:[{<>,,}]}>> <(seed ((int))>` - generates a random block from the provided list. Providing a seed allows multiple blocks within a structure to generate similarly (only the blocks themselves, not for any nbt associated). A formatting example would be `block {blocks:[{id:"minecraft:gravel"},{id:"minecraft:chest",data:1,nbt:{LootTable:"iloot:chests/fish"}}]} 7`.

### Initializing the structure

#### General

The .nbt will be initialized on game/mod reload, and a new directory will be produced from it. The new directory will contain a .json which can be modified at will to alter how the structure spawns. The values are all preset, and determine spawn as follows: - file - (default: filename, required) - the only required parameter which isn't auto-assumed (will still be auto-generated). Do not modify this unless missing, moving the .nbt into a group, or also altering the filename of whatever is being edit. - name - (default: filename) - name for the structure. - description - (default: "No description provided.") - brief description for the structure. - spawnChance - (default: 1. 0) - percent chance that an attempt will be made to spawn the structure within a chunk. Note that this value is relative, and may be impacted by generation failures; structures which are very likely to fail generating should be provided a higher value. - surfaceLevel - (default: 0) - the Y level offset relative to the structure's height to begin spawning onto a surface/ceiling. When placementType is set to `surface`, `0` results in spawning from the bottom of the structure, while the reverse is true of `ceiling`. For example, if a structure extends 8 blocks into the ground ('ground' being whatever surface/ceiling it latches onto), this should be set to `-8`. `block` and `force` ignore this. - dimensions - (default: ) - list of all dimensions this structure can spawn in (-1 = nether, 0 = overworld, 1 = end). This feature is currently nonfunctional in CWG worlds; use biome lists instead. - biomeWhiteList - (default: false) (conflicts with blacklist) - whether or not the structure is limited to specific biomes. - biomeBlackList - (default: false) (conflicts with whitelist) - whether or not the structure is restricted from spawning within specific biomes. - biomes - (default: minecraft:plains) - biomes to spawn in, if whitelist/blacklist is enabled. - maxDecay - (default: 0) - percent value denoting the amount of possible integrity loss when spawning the structure. Higher values will increase missing blocks. - airSpawn - (default: false) - whether or not the structure will only attempt spawning in air (as opposed to liquid). Conflicts with `liquidSpawn`, and ignored by `block` placement type. Enable this if placement type is `surface`, or structure will also spawn in liquids. - liquidSpawn - (default: false) - whether or not the structure will only attempt spawning in liquids. Conflicts with `airSpawn`, and ignored by `block` placement type. - rotate - (defau

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
Abstrusle
Version
1.3.2
Downloads
1,943
Endorsements
6
Category
adventure
Created
4/17/2023
Updated
12/20/2024
Game Versions
1.12.2
Tags
adventure, management, worldgen

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does CubicStruct support?

The author lists 1.12.2. Other versions may work but are untested by the author.

What is the latest version of CubicStruct?

Version 1.3.2, published 2024-12-20 with 1,943 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More adventure 👤 More by Abstrusle 🔎 Similar Mods 🌐 Best adventure (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods