Download Formations (Structure Library) — Minecraft Mods — MetaMods

Formations (Structure Library)

Active

Downloads

2

Last update

3 months ago

Versions

1.19.2 — 1.21.9
Server
Fabric
Forge
Neoforge
Quilt
Adventure
Libraries

Formations Banner

Formations - Library for Extending Structure Datapack Capabilities

Formations is a library mod that significantly expands the possibilities of structure generation through datapacks in Minecraft.

Separator

Main Features

Structure Types

The library adds two new structure types: formations:simple and formations:pieced. These types correspond to standard vanilla structures but offer improved placement and a more understandable JSON format.

Both types support the following placement options:

  • surface - placement on the top layer of solid blocks
  • ceiling - placement on the bottom layer of solid blocks
  • on_water - placement on the top layer of blocks if those blocks are water
  • on_lava - placement on the top layer of blocks if those blocks are lava
  • underground - underground placement between top and bottom block layers
  • underground_surface - underground placement at the bottom of an open area
  • underground_ceiling - underground placement at the top of an open area
  • underground_buried - completely buried underground placement without access to open areas
  • underground_on_lava - underground placement in an open area above lava

Structure Pool Elements

Added a new type of structure pool element - formations:single_pool_element. This element allows setting an arbitrary ground level instead of the standard level 0 in vanilla game through the ground_level parameter.

Structure Processors

Formations includes numerous new structure processors:

  • formations:random_bed_color - random bed color changes
  • formations:biome_replacements - replacement of certain blocks (wood, bricks, grass) depending on the biome
  • formations:fill_brewing_stands - filling brewing stands with random potions and blaze powder with parameters slotFillChance and maxBlazePowder
  • formations:fill_chiseled_bookshelves - filling chiseled bookshelves with enchanted books with parameter slotFillChance
  • formations:block_age - adding block aging effect with parameters mossiness, degradation, disintegration, replacing regular blocks with mossy or cracked variants
  • formations:random_plant_growth - random change of plant growth stage with parameters minGrowth and maxGrowth
  • formations:respawn_anchor_charges - randomization of respawn anchor charges with parameters minCharges and maxCharges
  • formations:waterlogging - management of block waterlogging with parameter handling

Separator

Usage Examples

To study the practical application of library functions, you can explore the Formations Overworld and Formations Nether projects.

Separator

Frequently Asked Questions

Can I use your mod in my modpack? Yes, you are free to include this mod in your modpacks.

Separator

Separator

Project members
SuperMartijn642

SuperMartijn642

Developer

Created: 6 Oct 2023

ID: 872