# 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.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }