Tags
Creators
Details
8.0.0+26.3
Compatibility
Changes
A major release. The item picker's match modes, the cycle strip, and several unused types are gone. Upgrading has every replacement. A mod built for 7.x declares "menukit": ">=8.0.0 <9.0.0" once it's rebuilt.
Added
HotbarDecorations.under(id, decoration)draws on the HUD hotbar's slots under their items, andHotbarDecorations.hideItem(id, rule)leaves a slot's own item out while a mod draws it elsewhere. Concepts.MK.drawBackdrop(screen, graphics, partialTick)draws a screen that isn't open as it looks open, behind a screen opened over it. Concepts.Panel.transformscales and fades a panel about a point without moving its layout. Concepts.ItemAnimation.HIDDENhides a slot's item along with its count, durability bar, and cooldown.DrawAlphaandItemOutlineare public, for mods that draw their own item copies with a fade or an outline. Concepts.SlotDecorations.draw(under, graphics, screen, slot, stack, x, y)draws a slot's decorations at a place of the caller's choosing.ListViewrows can hang their controls outside the panel's edge (controlsOutside).Floating.atplaces an element at a screen point. A null point skips the element that frame.Panel.litWhileDimmedkeeps a panel lit through another panel's dim.PanelPosition.pixelBottomLeftanchors a panel by its bottom edge.- An item picker's
open(screen)opens its dialog over any screen, andbutton(...)andonDone(...)add a mod's own button to the dialog and apply a draft on Done. ScrollContainer.Builder.fitRoom(step, least)gives rows back from a list in a dialog taller than the window, andFlow.Builder.ownWidths()lays a row's children out at their own widths.
Changed
- The item picker is one panel, with its advanced settings in a column beside the grid behind a "Show advanced settings" box. The item always counts, each field filled in narrows the match, and a blank field isn't checked. The picker chooses what it offers with
name(),enchantments(),components(), andcount(). Concepts. - Picker enchantments are multi-select, with a level per row. A blank level matches any level (
ItemMatch.anyLevel()). - The picker's count is a slider from N/A to the item's stack size, left out for items that don't stack. It's a number for the mod, read with
rule.count(), and never matched. - Rules saved by 7.x load as they matched, except that an
exactrule now matches a stack that has more than the rule. - A modal keeps an explicit pixel placement instead of centering.
- Panels draw over the recipe book, whoever draws it, and take the clicks they claim on it. Side panels sit beside it.
- A tab row takes clicks only on its tabs and reserves its height.
- A transformed panel at alpha 0 stays laid out, so its slots stay its own.
- A
Slider's label is made every frame.
Removed
ItemMatch.Match,match(...),playerChoosesMatch(),ignoring(...),ignoringCount(), and the picker dialog's Search and Edit tabs.HudCycleStripand the cycle strip. A ring beside the hotbar is a mod's ownHudPanel, and an arc over the slots is aHotbarDecorations.under.AlertDialog,InfoBox,HudNotificationwithMK.notifyandMK.registerNotification,HudPanel.Builder.slot(...)withHudPanel.STATUS_SCALE,ElementSpec,ScreenKind.OPTIONSandCONTAINER,ScrollContainer.OPTIONS_INSET_XandOPTIONS_INSET_Y, andOwnHost.add(Panel, PanelPosition, int).
Fixed
- A click beside a tab row's tabs drops a held item, as anywhere else outside the frame.
- The picker's "Show advanced settings" box starts hidden each time it opens, unless the slot already has a count, name, enchantments, or components set.
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:TFFFqGGb"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:3vGajyPr:TFFFqGGb"
}

