Tags
Creators
Details
4.0.0+26.2
Compatibility
Required content
Changes
4.0.0: Created slots are drawn by vanilla now. See MenuKit 4.0.0 for the whole picture. SlotElement positions the slot and draws the frame, nothing more. A slot that no frame presents is parked off screen instead of being left where it last sat.
Breaking: MKCSlot.renderX, MKCSlot.renderY and MKCSlot.setRenderPosition are removed. A created slot's only presentation position is vanilla's Slot.x and Slot.y.
3.1.0: no changes in this artifact. Requires MenuKit 3.1.0, released alongside it.
3.0.0: the Java package is now com.trevlar.menukit (was com.trevorschoeny.menukit); update imports. MenuKit and MenuKit: Containers now share one repository and one set of docs at github.com/trevorschoeny/menukit. No class or method names changed.
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:xQUBXV8I:cuzWdX8w"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:xQUBXV8I:cuzWdX8w"
}

