Formations is a library mod which adds additional features to datapacks for generating structures!
Features
Structure Types
Formations adds two new structure types: formations:simple
and formations:pieced
. These essentially correspond to the vanilla regular and jigsaw structure types, but with better placement and a clearer json format.
Both types can choose from the following placements:
Identifier | Description |
---|---|
surface |
Will place the structure at the top layer of solid blocks |
ceiling |
Will place the at the bottom layer of solid blocks |
on_water |
Will place the structure at the top layer of blocks if those blocks are water |
on_lava |
Will place the structure at the top layer of blocks if those blocks are lava |
underground |
Will place the structure somewhere between the top and bottom layers of blocks |
underground_surface |
Will place the structure between the top and bottom layers of blocks, at the bottom of an open area |
underground_ceiling |
Will place the structure between the top and bottom layers of blocks, at the top of an open area |
underground_buried |
Will place the structure between the top and bottom layers of blocks, such that it is not exposed to any open area |
underground_on_lava |
Will place the structure between the top and bottom layers of blocks, in an open area on top of lava |
Structure Pool Element Types
Formations adds one new structure pool element type, formations:single_pool_element
. The element type allows setting a different ground level rather than vanilla's fixed ground level of 0. The ground level can be set through the ground_level
key.
Structure Processors
Formations adds a bunch of new structure processors.
Identifier | Parameters | Description |
---|---|---|
formations:random_bed_color |
- | Randomizes the color of any beds |
formations:biome_replacements |
- | Replaces certain blocks, such as wood, bricks and grass, based on the biome |
formations:fill_brewing_stands |
slotFillChance , maxBlazePowder |
Fills brewing stands with random potions and blaze powder ` |
formations:fill_chiseled_bookshelves |
slotFillChance |
Fills chiseled bookshelves with enchanted books |
formations:block_age |
mossiness , degradation , disintegration |
Randomly replaces regular blocks with mossy or cracked variants, full blocks with slabs or stairs, random blocks with air |
formations:random_plant_growth |
minGrowth , maxGrowth |
Randomizes the growth stage of any crops |
formations:respawn_anchor_charges |
minCharges , maxCharges |
Randomizes the number of charges of any respawn anchors |
Examples
For examples usage of the features, you can check out Formations Overworld and Formations Nether
FAQ
Can I use your mod in my modpack?
Yes, feel free to use my mod in your modpack
Discord
For future content, upcoming mods, and discussion, feel free to join the SuperMartijn642 discord server!
Legal Stuff
Formations is the property of SuperMartijn642 and is protected under copyright law and may not be altered or reuploaded without direct permission from SuperMartijn642.
External resources
Project members
SuperMartijn642
Owner