Modscraper Modscraper Minecraft
Structure Gel API logo

Structure Gel API

Mod

by ModdingLegacy

An API for simplifying the developer end of creating generated structures.

Type

Mod

CurseForge Downloads

122,136,145

CurseForge ID

378802

Modrinth Downloads

5,088,029

Modrinth ID

T8TGycIQ

Last Updated

Sep 12, 2026

Description

undefined

Modding Legacy Discord Server Contribute to Structure Gel API by helping break the language barrier by translating on Weblate! If you like what we do, please consider supporting us on Ko-fi! Thank you! Built with NeoForge

Follow us! ModdingLegacy Twitter Follow us! moddinglegacy.com Bluesky Subscribe to us on YouTube!

An API for simplifying the developer end of creating generated structures.

Structure Gel is an API mod designed to make creating structures easier on the developers, specifically ones using the jigsaw system. All code is open source and documented. Some of its features include:

📚 Read the Structure Gel API Documentation Here

For an open source working example of this api, check out Dungeons Plus

You can find detailed information on how to develop and use this API by Minecraft version.

Latest Documentation

🧪 Latest Features

🛠️ Building Tools

The Building Tool is a new creative mode only item used to perform various large scale block alterations.

  • It can be found in the Structure Items creative mode tab.
  • Right click the Building Tool in the air to open the GUI. Once open, you can select what mode you want to use, undo, redo, select your position, and more. Building Tool GUI

GUI

The GUI contains various buttons to modify the Building Tool's settings, as well as some convienent tools.

  • Pressing, enter, e, escape, or clicking anywhere on the screen that isn't a button will close the GUI.
  • Hovering over any item on the GUI will display a tooltip on the right side to explain what it does and how to use it.
  • Using the radial menu, you can select which mode you want to use.
  • Some modes support positions. If they do, a button will appear on the top left to select a position based on your current location. This is mainly useful when right clicking a block isn't possible or is highly inconvenient.
  • The Undo and Redo buttons on the left exist to do exactly what they say. They attempt to undo or redo the last action you performed with the Building Tool. Up to 32 actions are saved and can be undone.
  • Some modes have additional settings, these settings will appear below the undo and redo buttons.
  • The button in the middle is used to select what block you want to use. When you click it, a text box will open for you to type a block state. This can be done in game as well, but some blocks like water are more than difficult to click on.

Controls

  • Middle Click: Selects the current block state you're looking at (also can be done in the GUI).
  • Left Click: This is the general key for "do the thing" depending on what mode you're in.
  • Right Click Air: Opens the GUI.
  • Right Click Block: Some modes use this to set positions, but ones that don't also allow this to "do the thing" as well.
  • Shift + Right Click: Clears the currently selected positions.

Modes

Building Tool Modes are different operations that the Building Tool can perform.

  • Extend: Detects a pattern based on the side of the block you click, and attempts to place blocks in front of that to continue that pattern. If you're familiar with the old Builder's Wands mod, it's essentially the same idea. Building Tool Extend

  • Flood: Fills all air blocks within the y level slice that you click, until it hits a border, then continues to fill going downward. This is useful for filling a lake with water for example.

  • Fill: Very similar to the vanilla fill command. Select two corners and then left click to fill the area between with the currently selected block. Has options for replacing specific blocks and only placing a frame or hollow box.

  • Line: Places a line of blocks between the selected positions using the currently selected block.

  • Clone: Copies the selected region and pastes it where you click. Allows for rotating, mirroring, and cutting instead of copying. Building Tool Clone

  • Move: Moves the selected region in the direction that you punch.

  • Clear: Removes all blocks within the selected positions.

  • Shape: Places a shape where you click. The shape and what blocks will be replaced can be changed though the mode's properties in the GUI.

Building Tool Shape

Mode Properties

Some modes support additional settings to modify their behavior. Some examples include:

  • Integrity: Determines how many blocks will actually place.
  • Replace: Determines what the mode will replace when placing blocks. All replaces everything, Air replaces only air, and Clicked replaces the block you clicked on.
  • Rotation and Mirror: Rotates or mirrors the cloned region. Allows for selecting a random value as well.

🍡 Structure Gel Block

This block is a creative tool to fill the insides of structures easily. The gel is replaced with air when your structure generates while all air is ignored when being placed. This ensures that your structures won't have natural terrain where it shouldn't be. The gel block behaves similarly to structure voids in that you can walk through it, while actually being visible.

When placing gel while sneaking, you can trigger the spreading mechanic. Each gel spreads differently, and you can read how they work by hovering over the item.

🍮 Meet the Gels!

🟥 Red Gel

Red gel uses the default spreading mechanic, spreading along the cardinal directions, only replacing air.

Red Gel

🟦 Blue Gel

Blue gel functions similarly to red, except it won't spread into locations where the sky can be seen.

Blue Gel

🟩 Green Gel

Green gel spreads the same as red gel, with the addition of also spreading diagonally. This allows it to get through corners created by vines or other complex builds. Be careful not to let it leak outside of your build.

Green Gel

🟦 Cyan Gel

Cyan gel acts as a combination of green and blue gel, by both spreading diagonally and avoiding the sky.

Cyan Gel

🟧 Orange Gel

Orange gel behaves the same as red gel, but the distance it spreads is determined by how many you're holding when you place it, making it handy for builds in open areas.

Orange Gel

🟨 Yellow Gel

Yellow gel will only spread along the plane that you're facing when you place it, making it great for sealing off walls, windows, or other holes that the gel would otherwise go through.

Yellow Gel

Removing Gels

Gel can be removed by using gunpowder on it. Doing this will trigger a chain reaction, removing all connected gels of the same type.

Removing Gel

Examples

Here's an example of how it could be used in a build. If this structure were loaded into the game, the gel inside would be replaced with air, while the air outside would not be placed.

House Example

The code for this block is designed in a way such that you can easily extend it and hook into its behavior with methods in blocks.IStructureGel, should you need behavior not already implemented.

This is a core mod that modifies a few internal classes. If you get a crash with this mod that only occurs when mixed with another mod, this may be the cause. Please test before reporting.

🌐 Translate Structure Gel API - Help break the language barrier!

All translators are credited here. Thanks to OneSkyApp, you can translate easily!

undefined

 

Flag for Deutsch Deutsch translations by: A1403, Barion
Flag for Português (Brasil) Português (Brasil) translations by: gabisaoo, simsgameboh
Flag for Nederlands (Nederland) Nederlands (Nederland) translations by: faas.mr
Flag for Español (España) Español (España) translations by: Minaderm , guillermojuegostablet, juggernogk
Flag for Українська (Ukrayins'ka) Українська (Ukrayins'ka) translations by: Queez
Flag for Türkçe (Türkiye) Türkçe (Türkiye) translations by: asimemir58, demirgokler406
Flag for עברית ('Ivriyþ) עברית ('Ivriyþ) translations by: pecan1245
Flag for Español (Argentina) Español (Argentina) translations by: patriciofagetti
Flag for Italiano (Italia) Italiano (Italia) translations by: antonioauciello226
Flag for Lietuvių Lietuvių translations by: WaryRGMCA

🤚 Support: If you have questions or any issues with our mods, read the FAQ! You can also either submit an issue on the issue tracker, or come into our Discord server where we can help you!

Modding Legacy Discord Server

Compatibility

Mod Loaders

Forge Neoforge

Game Versions

1.16.5 1.18.2 1.19.2 1.19.4 1.20.1 1.20.4 1.21.4 26.1.2

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Screenshots

Similar Mods

Included in Modpacks (1,030)

Show fewer
Invicta 2 Invicta 2 Permafrost - Eyes of the Storm Permafrost - Eyes of the Storm PERFECTION PERFECTION Not Too Complicated 2 Not Too Complicated 2 Avalon Forge Avalon Forge BETTER FANTASY - Overture BETTER FANTASY - Overture Ragnamod VII Ragnamod VII Island Adventure - Complete Overhaul | Now with Quests! Island Adventure - Complete Overhaul | Now with Quests! New Age - Welcome To The Medieval Era | MEDIEVAL QUESTS UPDATE! New Age - Welcome To The Medieval Era | MEDIEVAL QUESTS UPDATE! Christmas Holidays - Ideal For Festivities | Christmas Quests Update! Christmas Holidays - Ideal For Festivities | Christmas Quests Update! The Man From The Fog+Cave Dweller The Man From The Fog+Cave Dweller Ice and Fire Magic Ice and Fire Magic MineColonies - Create & Conquer MineColonies - Create & Conquer Solo Leveling - Shadows Solo Leveling - Shadows QSMP Experience (UNOFFICIAL) QSMP Experience (UNOFFICIAL) Sword Art Online (SAO) Sword Art Online (SAO) Beyond Ocean Beyond Ocean Another Quality Modpack 3 - AQM3 Another Quality Modpack 3 - AQM3 Project -  Arcane Frontier Project - Arcane Frontier MC DripCraft MC DripCraft The Decursio Project - Expert The Decursio Project - Expert TerraFirma: Rebirth TerraFirma: Rebirth RHCraft (RLCraft - Renewed) - Unofficial RHCraft (RLCraft - Renewed) - Unofficial A Distant Journey A Distant Journey Roguelike Adventures and Dungeons 3 Roguelike Adventures and Dungeons 3 Mastering Magic | A Magic World with Quests! Mastering Magic | A Magic World with Quests! Resurvival Resurvival Fantasy Skies Fantasy Skies The Final Frontier 2 The Final Frontier 2 Prey: An Expansive RPG Nightmare Modpack Prey: An Expansive RPG Nightmare Modpack Cave Horror Project 2 Cave Horror Project 2 Survive 100 days in all horror Survive 100 days in all horror Conquest of Dragons - A New Dragons Adventure | QUESTS UPDATE! Conquest of Dragons - A New Dragons Adventure | QUESTS UPDATE! Guns&Fun Guns&Fun Apocalypssia     -    [TACZ] modern appocalyps zombie modpack Apocalypssia - [TACZ] modern appocalyps zombie modpack Skyopolis 5 Skyopolis 5 Echoes of Hyrule: The Ultimate Zelda Experience Echoes of Hyrule: The Ultimate Zelda Experience Calamycraft Calamycraft Solo Leveling - Reawakening Server (Solo Leveling Ultimate) Solo Leveling - Reawakening Server (Solo Leveling Ultimate) Prominence™ I Classic (Legacy) Prominence™ I Classic (Legacy) Less Tech More Dragon [RETIRED] Less Tech More Dragon [RETIRED] Kingdoms and Colonies Rebirth Kingdoms and Colonies Rebirth StonksCraft 2 StonksCraft 2 Fiefdom - Medieval Fantasy RPG Fiefdom - Medieval Fantasy RPG Valhelsia: Origins Valhelsia: Origins Beyond Viltrum - Invincible Inc Beyond Viltrum - Invincible Inc Remain [Zombie + SCP Apocalypse] Remain [Zombie + SCP Apocalypse] World Terra World Terra Mowzie's Modpack Mowzie's Modpack Black Clover Resolution Black Clover Resolution Ultimate Anime Pack [Dropped] Ultimate Anime Pack [Dropped] MC UFC: Primal and Medieval MC UFC: Primal and Medieval NeoForge Foundry NeoForge Foundry Hexxit Enhanced (Hexxit Remake) Hexxit Enhanced (Hexxit Remake) Demon SlayerCraft: Rise of the Slayers Demon SlayerCraft: Rise of the Slayers Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Ragnamod VI In the Sky Ragnamod VI In the Sky EternalCraft EternalCraft Create Evolution - With Create 6.0 and Quests! | +35 Create Addons Create Evolution - With Create 6.0 and Quests! | +35 Create Addons Create: New Horizon Create: New Horizon Horrorland - With Horror Quests! Horrorland - With Horror Quests! Odyssey: Space - A New Beginning Odyssey: Space - A New Beginning A True Prime Piece Experiance A True Prime Piece Experiance Dungeons, Dragons and Space Shuttles 2 Dungeons, Dragons and Space Shuttles 2 TerraFirmaAdventure TerraFirmaAdventure The Biggest Modpack The Biggest Modpack TasteTheSno Jujutsu Kaisen x Fantasy World TasteTheSno Jujutsu Kaisen x Fantasy World ABOE 3 - A Bit of Everything 3 ABOE 3 - A Bit of Everything 3 Creative Drawers Producer Creative Drawers Producer Craft in Chaos Craft in Chaos Rhinocraft Rhinocraft Cryptopolis Cryptopolis Stone Technology Ultimate Stone Technology Ultimate Tinkers' Survival Official Tinkers' Survival Official Avalon Reborn Avalon Reborn Worldly Galaxies 4 | Multiplayer Questing Modpack (1200+ QUESTS) Worldly Galaxies 4 | Multiplayer Questing Modpack (1200+ QUESTS) FreshCraft Classic FreshCraft Classic Tropical Colonies Tropical Colonies Beyond Depth Insanity Beyond Depth Insanity Realistic Mod-Pack Realistic Mod-Pack Prehistoric Dawn - with The Dawn Era | SERVER COMPATIBILITY! Prehistoric Dawn - with The Dawn Era | SERVER COMPATIBILITY! Era do Futuro 2022 Era do Futuro 2022 Go Create Go Create Druidic Quest: Expert Druidic Quest: Expert Kimetsu No Yaiba: Isekai (Demon Slayer: Different World) Kimetsu No Yaiba: Isekai (Demon Slayer: Different World) ChickenBlock ChickenBlock City Life 2 City Life 2 Back to Back Back to Back HeroCraft - RPG Adventure HeroCraft - RPG Adventure Project SkyQ 2 Project SkyQ 2 Brass Brass The Fallen World - Prehistoric Corruption The Fallen World - Prehistoric Corruption Angel Tale : Shadows of Apollyon Angel Tale : Shadows of Apollyon Chroma Endless Chroma Endless Elden Block Elden Block Be QUIET {HORROR} Be QUIET {HORROR} EL MINE MAS EPICO 2 EL MINE MAS EPICO 2 Sky Farm Sky Farm Strictly Medieval [FORGE] Strictly Medieval [FORGE] Crazy Crave 5 Crazy Crave 5

External Resources