Tags
Creators
Details
1.1.3
Compatibility
Changes
This is a maintenance release focused on versioning and improving maintainability. No functional behavior has changed.
Changes
- Bump project version to 1.1.3.
- Refactor complex methods to reduce cyclomatic complexity.
Issues
-
Complex Method (cyclomatic complexity = 19)
- File: src/main/java/com/bubblecraft/bubblereset/BubbleReset.java:289-319
- Context: Scheduler tick
run()insidestartAutoResetScheduler()
-
Complex Method (cyclomatic complexity = 16)
- File: src/main/java/com/bubblecraft/bubblereset/ResourceWorldMenu.java:239-301
- Context:
onInventoryClick(InventoryClickEvent event)
-
Complex Method (cyclomatic complexity = 16)
- File: src/main/java/com/bubblecraft/bubblereset/ResourceWorldMenu.java:122-185
- Context:
createCustomSkull(String textureBase64)
Actions (Implemented)
-
BubbleReset.java (scheduler
run())- Extracted fixed-time vs interval scheduling into separate private methods.
- Reduced nesting with guard clauses.
- Extracted warning broadcast + reset scheduling helpers.
-
ResourceWorldMenu.java (
onInventoryClick)- Centralized action extraction (PDC first, lore fallback).
- Simplified click handler using helpers + early returns.
-
ResourceWorldMenu.java (
createCustomSkull)- Extracted texture normalization + profile application helpers.
- Isolated base64/url parsing + skin application.
Notes
- Unit tests passed after the refactor.
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:ELVXMw22:ELIyO3hn"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ELVXMw22:ELIyO3hn"
}

