Structure Gel API
An API mod that significantly simplifies the process of creating generated structures for developers, especially those working with the jigsaw system. All source code is open and well-documented.
🛠️ Building Tool
The Building Tool is a new item available only in creative mode, designed for performing various large-scale block alterations.
- Located in the Structure Items tab in creative mode
- Right-clicking in the air opens an interface where you can select work modes, undo actions, choose positions, and much more

Controls
- Middle click: selects the current block you're looking at
- Left click: main action depending on the selected mode
- Right click in air: opens the interface
- Right click on block: sets positions in some modes
- Shift + right click: clears selected positions
Work Modes
The tool offers several modes for different construction tasks:
- Extend: detects a pattern based on the block side and continues it
- Fill: fills an area with selected blocks with replacement options
- Line: creates a line of blocks between selected positions
- Clone: copies and pastes areas with rotation and mirroring capabilities

- Move: moves the selected area in the direction of the punch
- Clear: removes all blocks in the selected area
- Shape: places geometric shapes at the specified location

🍡 Structure Gel
This block serves as a creative tool for easily filling the interiors of structures. When the structure generates, the gel is replaced with air, while natural air is ignored during placement, preventing natural terrain from appearing where it shouldn't be.
Gel Varieties
Red Gel Spreads along cardinal directions, replacing only air.

Blue Gel Functions similarly to red, but won't spread into locations where the sky is visible.

Green Gel Spreads like red gel, but also moves diagonally, allowing it to penetrate through corners and complex constructions.

Cyan Gel Combines properties of green and blue gel - spreads diagonally and avoids open sky.

Orange Gel Spread distance depends on the amount of gel held when placing, convenient for construction in open areas.

Yellow Gel Spreads only in the plane you're facing when placing, perfect for sealing walls and windows.

Removing Gel
Gel can be removed using gunpowder. This triggers a chain reaction, removing all connected gels of the same type.

Usage Example
Here's an example of application in construction. When such a structure is loaded into the game, the gel inside is replaced with air, while external air is not placed.

The block code is designed to be easily extended and behavior customized through blocks.IStructureGel methods if functionality not implemented by default is required.
This is a core mod that modifies several internal classes. If a crash occurs only when used with another mod, incompatibility is possible. Testing is recommended before reporting issues.