Structure Gel API

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

Structure Gel 26.1.2-v2.22.0

File namestructure_gel-26.1.2-2.22.0.jar
Uploader
silver_davidsilver_david
Uploaded
Sep 10, 2026
Downloads
107
Size
1.3 MB
Mod Loaders
NeoForge
File ID
8852215
Type
R
Release
Supported game versions
  • 26.1.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:structure-gel-api-378802:8852215"

Learn more about Curse Maven

What's new

26.1.2-v2.22.0

Loot Sampler

  • New creative mode block used to test loot tables.
    • The GUI contains the following:
      • Text field at the top to enter a loot table ID.
      • Button to generate loot in the provided inventory.
      • Button to refresh the probability display menu.
      • Button that toggles if the loot is from a player kill.
      • A menu to the left side that displays item probabilities and amounts.
    • When a valid loot table is entered, it will sample that loot table a large number of times to get an in-game accurate approximation of how likely you will obtain each item from it. All current equipment is taken into account, such as a held pickaxe with fortune or a sword with looting.

JigsawCapability

  • Added void modifyGenerationContext(JigsawStructureContext context).
    • Allows changing values used to generate an ExtendedJigsawStructure.
      • Currently only allows for changing the generation height.

ITemplateNameGetter

  • Obtains the ID of the structure template used for generation.
  • Call the static Optional<Identifier> ITemplateNameGetter.getTemplateName(StructurePiece piece) method to get the structure template ID.
  • Interface to be applied to StructurePiece or StructurePoolElement
    • Applied to TemplateStructurePiece, PoolElementStructurePiece, and SinglePoolElement through mixin.

StructureProcessor

  • Added RetainExistingProcessor
    • Only places a block if the existing block was replaceable.

ITooltipBlock

  • Interface to put on blocks that should have a tooltip.
    • Tooltips are added during the ItemTooltipEvent.

Commands

  • /structure_gel distance now also logs the average search time.\

Fixes

  • Fixed JigsawPoolBuilder not sorting values properly causing unnecessary data gen file changes.
  • Removed fog from Building Tool and Structure Bounds rendering due to inaccuracies created with thick fog, such as in the Nether.
  • Fixed scrolling issues in the Data Handler screen.
  • Data handlers properly display all loot tables instead of just showing loot table aliases.
  • Sorted Structure Gel items added to the Operator Utilities creative mode tab.

This mod has no additional files