Tags
Creators
Details
Licensed ARR
Published 3 years ago
Updated last month
All versions
2.22.0
Release
Structure Gel API v2.22.0last month 957
Uploaded by
Compatibility
Minecraft: Java Edition
26.1.2
Platform
NeoForge
Supported environments
Client and server
Changes
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.
- The GUI contains the following:
JigsawCapability
- Added
void modifyGenerationContext(JigsawStructureContext context).- Allows changing values used to generate an
ExtendedJigsawStructure.- Currently only allows for changing the generation height.
- Allows changing values used to generate an
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
StructurePieceorStructurePoolElement- Applied to
TemplateStructurePiece,PoolElementStructurePiece, andSinglePoolElementthrough mixin.
- Applied to
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.
- Tooltips are added during the
Commands
/structure_gel distancenow also logs the average search time.\
Fixes
- Fixed
JigsawPoolBuildernot 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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:T8TGycIQ:lLeRd3r4"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:T8TGycIQ:lLeRd3r4"
}

