Tags
Creators
Details
Licensed MIT
Published 6 months ago
Updated 5 hours ago
All versions
6.2.0+26.3
Release
MenuKit 6.2.0+26.32 weeks ago 107
Uploaded by
Compatibility
Minecraft: Java Edition
26.3
Platform
Fabric
Supported environments
Client-side
Client and server
Required content
Any compatible version
Changes
6.2.0
Tooltips dock at the bottom or top of the screen instead of choosing a side of the cursor.
Changed
MKTooltip.avoidCoverWhen(BooleanSupplier)now docks a tooltip. While it holds, every tooltip vanilla would place beside the cursor (vanilla's items, MenuKit elements, other mods) sits centred at the bottom of the screen,MKTooltip.EDGE(4 pixels) above the edge. When the cursor is withinMKTooltip.DOCK_MARGIN(20 pixels, a bit more than a slot) of where that tooltip would sit, not only directly over it, it goes to the top centre instead. Nothing wraps or changes side any more, and what is on the screen no longer matters.clampWhen,wrapWhen,scrollByandhideWhenwork on a docked tooltip as before, with the title still first, and a tooltip taller than the screen behaves as it does underclampWhen. A tooltip vanilla places somewhere fixed, such as one anchored to a widget for the keyboard, stays there. While no registered condition holds, tooltips are placed exactly as vanilla places them. The method keeps its name and signature, so a mod that registers it needs no change.
Deprecated
MKTooltip.MIN_WRAP_WIDTH. Nothing reads it now thatavoidCoverWhenno longer wraps. It goes in 7.0.0.
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:3vGajyPr:3MqbRvfs"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:3vGajyPr:3MqbRvfs"
}

