Tags
Creators
Details
Licensed GPL-3.0-or-later
Published 8 months ago
Updated 3 weeks ago
All versions
1.0.24+26.2
Release
Collapsible Game Rules 1.0.24+26.2last month 46
Compatibility
Minecraft: Java Edition
26.3
26.2
Platform
Fabric
Supported environments
Client-side
Required content
Any compatible version
Any compatible version
Changes
[1.0.24+26.2]
- Interactive Integer Sliders (
IntegerRuleEntryMixin): Replaced vanilla text edit boxes with interactiveIntegerSliderWidgetfor bounded integer game rules (random_tick_speed,respawn_radius,players_sleeping_percentage,max_entity_cramming, etc.). - Graceful Unbounded Fallback: Automatically preserves vanilla
EditBoxfor unbounded rules (max_command_sequence_length,max_command_forks, etc.), ensuring full player flexibility for arbitrary numeric entry. - Discrete Step Snapping & Value Sync: Snaps slider position and handle cleanly to configured step intervals (e.g. 5% increments for
players_sleeping_percentage), seamlessly updating vanilla game rules viainput.setValue(). - Bounded Integer Slider Metadata & Helper Registry: Created
GameRuleSliderHelperdefining safe numerical bounds, step intervals, and unit formatters for standard vanilla integer rules with comprehensive automated JUnit 5 test coverage. - Modern Boolean Toggle Switch Hook (
BooleanRuleEntryMixin): WiredBooleanToggleWidgetintoBooleanRuleEntry, replacing vanilla checkboxes with the modern emerald/ruby toggle switch across all boolean game rules with precision right-alignment (getContentRight() - 45). - Superclass Shadow Mixin Fix: Eliminated superclass
@Shadowcalls onextractLabelandchildren, permanently fixing theInvalidMixinExceptionthat caused the screen to freeze on"Retrieving game rules... o O o".
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:lObgjyJl:H6K6nUo7"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:lObgjyJl:H6K6nUo7"
}

