Index

A B C D E F G H I K L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values

A

"A rejected insert must NOT fire onInsert" - Section in class com.trevlar.menukit.window.WindowReactions
 
aboveSlots(AbstractContainerScreen, GuiGraphicsExtractor, int, int) - Static method in class com.trevlar.menukit.inject.ContainerScreenLayers
extractContents RETURN — after vanilla's slot pass.
AbstractPanelElement<SELF> - Class in com.trevlar.menukit.core
Abstract base for library-provided PanelElement implementations.
AbstractPanelElement() - Constructor for class com.trevlar.menukit.core.AbstractPanelElement
 
accepts(Predicate) - Method in class com.trevlar.menukit.core.SlotSpec
Convenience over SlotSpec.gate: a place-only filter.
acknowledgeLabel(Component) - Method in class com.trevlar.menukit.core.dialog.AlertDialog.Builder
Override the Acknowledge button label.
actingPlayer() - Method in class com.trevlar.menukit.core.GatingContext
Who is acting (a ServerPlayer for a real interaction; null for automation).
Acting player (the ThreadLocal) - Section in class com.trevlar.menukit.core.GatingContext
 
actingPlayerCapable() - Method in class com.trevlar.menukit.core.GatingContext
Whether the acting player can see slot-state (i.e.
activePanelIds() - Static method in class com.trevlar.menukit.core.SlotElementRegistry
The panel ids that currently have at least one attached SlotElement.
Adapter lifecycle - Section in class com.trevlar.menukit.inject.ScreenPanelRegistry
 
add(ElementSpec) - Method in class com.trevlar.menukit.core.layout.Column.Builder
Append an element to this column.
add(ElementSpec) - Method in class com.trevlar.menukit.core.layout.Row.Builder
Append an element to this row.
add(ElementSpec) - Method in class com.trevlar.menukit.core.Panel.Builder
Appends an element declared as an ElementSpec — the same fluent shape the dialog and Row/Column builders consume.
add(PanelElement) - Method in class com.trevlar.menukit.core.layout.Column.Builder
Append an ALREADY-CONSTRUCTED element (Pass 3) — bridges the common case of laying out pre-built widgets, including under CrossAlign.FILL.
add(PanelElement) - Method in class com.trevlar.menukit.core.layout.Row.Builder
Append an ALREADY-CONSTRUCTED element (Pass 3).
add(PanelElement) - Method in class com.trevlar.menukit.core.Panel.Builder
Appends a single element to the panel's element list.
addColumn(Consumer) - Method in class com.trevlar.menukit.core.layout.Column.Builder
Append a nested column to this column.
addColumn(Consumer) - Method in class com.trevlar.menukit.core.layout.Row.Builder
Append a nested column to this row.
addEventListener(MKCHandledScreen.ScreenEventListener) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Registers a screen event listener.
Additive - Section in class com.trevlar.menukit.window.ClientWindowVisibility
 
address() - Method in class com.trevlar.menukit.core.MKCSlot
This slot's menu-independent created Address — the key behavior is resolved by.
address() - Method in record class com.trevlar.menukit.window.ReactEvent
Returns the value of the address record component.
address() - Method in class com.trevlar.menukit.window.WindowHandle
The Address this handle names — the side-table key for its behavior.
address(String, String, int) - Static method in class com.trevlar.menukit.core.MKCContainerPanel
THE canonical Address of one slot created by a container-parity define(...) — use this to name a define()-created slot when arming behavior or reading state by address.
address(String, String, int) - Static method in class com.trevlar.menukit.screen.MKCScreenHandler
THE canonical Address of one slot in a custom-menu group declared on this handler's builder — use it to name a custom-menu slot when arming behavior or reading per-slot state by address.
Address - Record Class in com.trevlar.menukit.window
THE keystone of THE ONE WINDOW: one kind-agnostic value that names ANY addressable thing — a vanilla slot, a created slot, a panel element, or a panel itself — so the engine can resolve every behavior by address without ever asking what kind it is.
Address(OwnerRef, Token, KindTag) - Constructor for record class com.trevlar.menukit.window.Address
Creates an instance of a Address record class.
Address-keyed, by design - Section in class com.trevlar.menukit.window.WindowSignals
 
addressOf(MKCSlot) - Static method in class com.trevlar.menukit.core.CreatedSlotAdapter
The canonical Address of a created slot — the single source of truth shared by resolution (here) and minting.
addressOf(String, String, int) - Static method in class com.trevlar.menukit.core.CreatedSlotAdapter
The canonical Address of a created slot from its DECLARED IDENTITY — the created-slot counterpart to PanelAddressing.ofPanel(String) / PanelAddressing.ofElement(String, String), needing NO live slot.
addressOf(Container, int) - Static method in class com.trevlar.menukit.window.VanillaAddressing
The container-based Address of a slot reached WITHOUT a menu — an automation seam (hopper/dispenser) that has only (container, index).
addressOf(AbstractContainerMenu, Slot) - Static method in class com.trevlar.menukit.window.ClientSlotAddressing
The Address of slot in menu under the installed rule.
addressOf(AbstractContainerMenu, Slot) - Method in interface com.trevlar.menukit.window.ClientSlotAddressing.SlotAddressFn
 
addressOf(AbstractContainerMenu, Slot) - Static method in class com.trevlar.menukit.window.VanillaAddressing
The Address of inMenuSlot on menu.
addRow(Consumer) - Method in class com.trevlar.menukit.core.layout.Column.Builder
Append a nested row to this column.
addRow(Consumer) - Method in class com.trevlar.menukit.core.layout.Row.Builder
Append a nested row to this row.
addSlot(SlotSpec) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Adds a slot group to this panel (its recipe + its on-screen presentation).
addToGrave(ServerPlayer, GraveInventoryMask.ItemConsumer) - Method in class com.trevlar.menukit.compat.UniversalGravesAdapter
 
addWidget(Screen, T) - Static method in class com.trevlar.menukit.core.MKFocus
Registers a widget with the given screen for input dispatch AND MK-managed focus semantics.
after() - Method in record class com.trevlar.menukit.window.ReactEvent
Returns the value of the after record component.
AlertDialog - Class in com.trevlar.menukit.core.dialog
Builder for a modal acknowledge dialog.
AlertDialog.Builder - Class in com.trevlar.menukit.core.dialog
Builder for an AlertDialog Panel.
all() - Static method in class com.trevlar.menukit.inject.ScreenMatcher
Every inventory-bearing screen — the parity default.
allExcept(Class...) - Static method in class com.trevlar.menukit.inject.ScreenMatcher
Every inventory-bearing screen except the named ones (and their subclasses).
alt() - Method in record class com.trevlar.menukit.core.Click
Returns the value of the alt record component.
anchor() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the anchor record component.
anchor(MKHudAnchor, int, int) - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Sets the screen-edge anchor and offset (default: TOP_CENTER, 0, 10).
anchor(MKHudAnchor, int, int) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Sets the screen-edge anchor and offset.
anchorPanelId() - Method in record class com.trevlar.menukit.core.PanelPosition
Returns the value of the anchorPanelId record component.
ANVIL_INPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
ANVIL_OUTPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
anyGraveModPresent() - Static method in class com.trevlar.menukit.compat.GraveModPresence
True if any known grave-container mod is installed.
anyPanelCoversCursor() - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
 
anyPanelCoversPoint(double, double) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
M9 query: is the cursor currently inside any visible opaque panel on the active screen? Convenience boolean wrapper around ScreenPanelRegistry.findCoveringPanelAt(Screen, double, double) for callers that don't need the adapter and have the mouse coords already (e.g., the slot-hover mixin which receives mouseX/mouseY as method parameters).
API surface - Section in class com.trevlar.menukit.core.Dropdown
 
API surface - Section in class com.trevlar.menukit.core.DropdownMulti
 
appendProjectedSlots(AbstractContainerMenu, Player) - Static method in class com.trevlar.menukit.core.MKCSlotProjection
Appends every matching projected slot onto menu.
appliesTo() - Method in record class com.trevlar.menukit.window.BehaviorKey
Returns the value of the appliesTo record component.
appliesTo(KindTag) - Method in record class com.trevlar.menukit.window.BehaviorKey
Whether this behavior is valid on kind (the call-boundary applicability check).
applyEverywhereDefault() - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
Applies the everywhere-default to region-based adapters that reached the first screen-open without declaring targeting.
applyState(boolean) - Method in class com.trevlar.menukit.core.Toggle
Commits a state transition.
applyTo(AbstractContainerMenu, Player) - Static method in class com.trevlar.menukit.core.ParitySlotRegistry
Builds every registered recipe's slots onto menu for player, via the proven MKCSlots path (so render / click→Storage / creative / sync all ride the same vanilla-slot machinery the inventory slot already uses).
arm(Runnable) - Method in class com.trevlar.menukit.screen.MKCMenu.Builder
A behavior-arming hook, invoked by register() after the MenuType + id are live, so a custom menu's slot behavior is armed in the same define chain as the menu it belongs to and cannot be forgotten in a separate pass.
asBoolean() - Method in enum class com.trevlar.menukit.window.TriBool
 
asMKCSlot(Slot) - Static method in class com.trevlar.menukit.core.MKCSlotAccess
The registered slot slot is or wraps, or null if it is an ordinary slot.
at(int, int) - Method in class com.trevlar.menukit.core.AbstractPanelElement
Fluent positioning sugar — sets this element's panel-local position and returns the concrete element for chaining.
at(int, int) - Method in class com.trevlar.menukit.core.Dropdown.Builder
Panel-local position.
at(int, int) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Panel-local position.
at(int, int) - Static method in class com.trevlar.menukit.core.layout.Column
Begin a column layout at the given panel-local origin.
at(int, int) - Method in interface com.trevlar.menukit.core.layout.ElementSpec
Construct the element positioned at the given panel-local coordinates.
at(int, int) - Static method in class com.trevlar.menukit.core.layout.Row
Begin a row layout at the given panel-local origin.
at(int, int) - Method in class com.trevlar.menukit.core.ScrollContainer.Builder
Sets the panel-local origin for this ScrollContainer.
at(int, int) - Method in class com.trevlar.menukit.core.Slider.Builder
Panel-local position.
at(int, int) - Method in class com.trevlar.menukit.core.TextField.Builder
Panel-local position.
at(MenuRegion, int) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Region placement + explicit content padding (default-priority stacking).
at(RegionAnchor, int) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Region placement with an explicit stacking priority + padding.
at(String) - Static method in class com.trevlar.menukit.core.SlotSpec
Begins a slot-group spec.
at(Supplier, int) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Pixel-precision placement (§0057 Revision — Trev's call, 2026-07-01): the panel's outer top-left comes from origin, re-evaluated every frame, in absolute screen pixels.
attachmentId() - Method in record class com.trevlar.menukit.core.attachment.PlayerSlotCapture.CapturedSlot
Returns the value of the attachmentId record component.
AuthoritativeDeclarations - Interface in com.trevlar.menukit.window
Port (MK defines, MKC implements): the READ side of the server tier — AXIS-1 of the cascade.
Authority + the presence fast-path - Section in class com.trevlar.menukit.core.BehaviorBindingTable
 
autoSize() - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Enables auto-sizing — panel grows to fit its children.
autoSize() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the autoSize record component.
availableMenuHeight(MenuRegion, ScreenBounds, int, int) - Static method in class com.trevlar.menukit.core.RegionMath
OUTER available height (padding-inclusive) for a MenuContext region panel before it crosses the screen-edge margin, given the (chrome-extended) menu frame and the screen height.
availableMenuWidth(MenuRegion, ScreenBounds, int, int) - Static method in class com.trevlar.menukit.core.RegionMath
OUTER available width (padding-inclusive) for a MenuContext region panel before it crosses the screen-edge margin, given the (chrome-extended) menu frame and the screen width.
availableScreenEdgeWidth(int, int) - Static method in class com.trevlar.menukit.core.RegionMath
OUTER available width for a screen-edge-anchored panel (HUD / VanillaScreen contexts).
availableSlotGroupWidth(SlotGroupRegion, SlotGroupBounds, int, int) - Static method in class com.trevlar.menukit.core.SlotGroupRegionMath
OUTER available width for a slot-group-anchored panel before it crosses the screen-edge margin (Pass 3).
axialPrefix(Panel, MenuRegion) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Computes the axial stacking prefix for a panel — total extent (plus gap) contributed by visible preceding panels in the same region.
axialPrefix(Panel, ScreenRegion) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Axial prefix (vertical pixels) for a VanillaScreenContext panel — sum of preceding visible panels' heights + padding + STACK_GAP per preceding panel.
axialPrefix(Panel, SlotGroupCategory, SlotGroupRegion) - Static method in class com.trevlar.menukit.inject.SlotGroupRegionRegistry
Axial prefix for a SlotGroupContext panel anchored in a given (category, region) pair.
axialPrefix(MKHudPanelDef, HudRegion) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Axial prefix for a HUD panel.

B

backdrop() - Method in class com.trevlar.menukit.core.TextLabel
Enables the backdrop plate.
backdrop() - Method in class com.trevlar.menukit.hud.MKHudPanel.TextBuilder
 
backdrop(boolean) - Method in class com.trevlar.menukit.core.TextLabel
Toggles a translucent dark backdrop plate behind the text (folded from MKHudText — HUD readability over the world).
backingId() - Method in record class com.trevlar.menukit.window.OwnerScope.Sub
Returns the value of the backingId record component.
bar(int, int, int, int) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds a progress bar and returns a BarBuilder for configuration.
BEACON_PAYMENT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
before() - Method in record class com.trevlar.menukit.window.ReactEvent
Returns the value of the before record component.
beforeSlot(AbstractContainerScreen, GuiGraphicsExtractor, Slot, int, int) - Static method in class com.trevlar.menukit.inject.ContainerScreenLayers
extractSlot HEAD, for every slot vanilla is about to draw.
behavior(BehaviorKey) - Method in class com.trevlar.menukit.window.WindowHandle
The fully-resolved value of key at this address — never null (cascade → libraryDefault).
BehaviorBindingTable - Class in com.trevlar.menukit.core
MKC's server-authoritative behavior store — the implementation of MK's two server-tier ports (ServerTierBridge write side, AuthoritativeDeclarations read/AXIS-1 side).
BehaviorKey<V> - Record Class in com.trevlar.menukit.window
Names ONE behavior the window can resolve — gating, visibility, a panel's opacity, a reaction, and so on.
BehaviorKey(Identifier, Class, V, Tier, EnumSet) - Constructor for record class com.trevlar.menukit.window.BehaviorKey
Creates an instance of a BehaviorKey record class.
BehaviorKeys - Class in com.trevlar.menukit.window
The library's built-in BehaviorKeys.
bgColor(int) - Method in class com.trevlar.menukit.hud.MKHudPanel.BarBuilder
 
bind(Supplier) - Method in class com.trevlar.menukit.core.StorageAttachment
Binds via a live supplier for owners whose reference can change during the menu lifetime (notably ItemStack, which vanilla may replace during interactions).
bind(O) - Method in class com.trevlar.menukit.core.StorageAttachment
Binds this attachment to a specific owner instance.
binding() - Method in class com.trevlar.menukit.core.SlotSpec
Equivalent to binding(true).
binding(boolean) - Method in class com.trevlar.menukit.core.SlotSpec
Enrolls every slot in this group in Curse-of-Binding enforcement (a bound item can't be taken out while alive, survival only; creative bypasses, §0051) — sugar for set(MKCBehaviorKeys.BINDING, ...).
BINDING - Static variable in class com.trevlar.menukit.core.MKCBehaviorKeys
Whether Curse of Binding is enforced on this slot — a bound item (PREVENT_ARMOR_CHANGE) can't be taken out while the player is alive, survival only (creative bypasses, matching vanilla armor slots; §0051).
bindingDeniesPickup(Slot, Player) - Static method in class com.trevlar.menukit.core.WindowGating
Whether Curse of Binding (BINDING set on this slot) blocks taking the item out — a bound item (PREVENT_ARMOR_CHANGE) can't be removed while the player is alive, survival only (creative bypasses).
BLOCK - Static variable in record class com.trevlar.menukit.inject.SlotHoverResult
Inside a revealed slot panel but on a gap — block (inert covered slot).
BlockEntityKey(BlockPos, ResourceKey) - Constructor for record class com.trevlar.menukit.core.PersistentContainerKey.BlockEntityKey
Creates an instance of a BlockEntityKey record class.
blockScoped(String, String, int) - Static method in class com.trevlar.menukit.core.StorageAttachment
Persists slot-group content on a BlockEntity via a Fabric attachment.
blockScopedAttachments() - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Snapshot of all registered block-scoped attachments, for drop-on-break iteration.
BlockScopedDropHandler - Class in com.trevlar.menukit.core.attachment
Drops all block-scoped M7 attachment contents at a given BlockEntity position before the BE is destroyed.
blurOnOutsideBounds(Screen, double, double) - Static method in class com.trevlar.menukit.core.MKFocus
Core focus-janitor rule, shared by the afterMouseClick listener AND the MK panel-adapter in-panel dispatch sites.
body(Component) - Method in class com.trevlar.menukit.core.dialog.AlertDialog.Builder
Body text shown below the title.
body(Component) - Method in class com.trevlar.menukit.core.dialog.ConfirmDialog.Builder
Body text shown below the title.
BODY - Enum constant in enum class com.trevlar.menukit.core.PanelPosition.Mode
Stacks vertically in a single centred column.
BODY - Static variable in record class com.trevlar.menukit.core.PanelPosition
Default position: body panel, stacks vertically.
BODY_GAP - Static variable in class com.trevlar.menukit.screen.MKScreen
Vertical gap between body panels.
bordered(boolean) - Method in class com.trevlar.menukit.core.TextField.Builder
Optional bordered mode (text_field sprite background).
BOTH - Enum constant in enum class com.trevlar.menukit.core.QuickMoveParticipation
Items can be shift-clicked both into and out of this group.
bottom() - Method in record class com.trevlar.menukit.inject.MenuChrome.ChromeExtents
Returns the value of the bottom record component.
BOTTOM - Enum constant in enum class com.trevlar.menukit.hud.MKHudNotification.SlideDirection
 
BOTTOM_ALIGN_LEFT - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
 
BOTTOM_ALIGN_LEFT - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
 
BOTTOM_ALIGN_RIGHT - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
 
BOTTOM_ALIGN_RIGHT - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
 
BOTTOM_CENTER - Enum constant in enum class com.trevlar.menukit.core.HudRegion
 
BOTTOM_CENTER - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
Below the menu's container frame, centered on the horizontal axis (Phase 3b — Item 4a).
BOTTOM_CENTER - Enum constant in enum class com.trevlar.menukit.core.ScreenRegion
 
BOTTOM_CENTER - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
Below the slot-group bounding rectangle, centered on the horizontal axis.
BOTTOM_CENTER - Enum constant in enum class com.trevlar.menukit.hud.MKHudAnchor
 
BOTTOM_LEFT - Enum constant in enum class com.trevlar.menukit.core.HudRegion
 
BOTTOM_LEFT - Enum constant in enum class com.trevlar.menukit.core.ScreenRegion
 
BOTTOM_LEFT - Enum constant in enum class com.trevlar.menukit.hud.MKHudAnchor
 
BOTTOM_RIGHT - Enum constant in enum class com.trevlar.menukit.core.HudRegion
 
BOTTOM_RIGHT - Enum constant in enum class com.trevlar.menukit.core.ScreenRegion
 
BOTTOM_RIGHT - Enum constant in enum class com.trevlar.menukit.hud.MKHudAnchor
 
BOTTOM_TO_TOP - Enum constant in enum class com.trevlar.menukit.core.ProgressBar.Direction
 
bounds() - Method in record class com.trevlar.menukit.core.MainRegionLayout.Result
Returns the value of the bounds record component.
bounds() - Method in record class com.trevlar.menukit.core.PanelTreeLayout
Returns the value of the bounds record component.
BOX_SIZE - Static variable in class com.trevlar.menukit.core.Checkbox
Size of the checkbox square, in pixels.
BOX_SIZE - Static variable in class com.trevlar.menukit.core.Radio
Size of the radio square, in pixels.
BREWING_FUEL - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
BREWING_INGREDIENT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
BREWING_POTIONS - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
build() - Method in class com.trevlar.menukit.core.dialog.AlertDialog.Builder
Construct the configured dialog Panel.
build() - Method in class com.trevlar.menukit.core.dialog.ConfirmDialog.Builder
Construct the configured dialog Panel.
build() - Method in class com.trevlar.menukit.core.Dropdown.Builder
 
build() - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
 
build() - Method in class com.trevlar.menukit.core.layout.Column.Builder
Finalize layout and emit positioned elements.
build() - Method in class com.trevlar.menukit.core.layout.Row.Builder
Finalize layout and emit positioned elements.
build() - Method in class com.trevlar.menukit.core.Panel.Builder
Builds the configured Panel.
build() - Method in class com.trevlar.menukit.core.ScrollContainer.Builder
Builds the configured ScrollContainer.
build() - Method in class com.trevlar.menukit.core.Slider.Builder
 
build() - Method in class com.trevlar.menukit.core.TextField.Builder
 
build() - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Builds and registers the notification template with MenuKit.
build() - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Builds the HUD panel definition and registers it with MenuKit.
build(int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.Builder
Produces the configured handler.
build(MenuType, int, Inventory) - Method in interface com.trevlar.menukit.screen.MKCMenu.HandlerFactory
 
builder() - Static method in class com.trevlar.menukit.core.dialog.AlertDialog
Begins an AlertDialog builder.
builder() - Static method in class com.trevlar.menukit.core.dialog.ConfirmDialog
Begins a ConfirmDialog builder.
builder() - Static method in class com.trevlar.menukit.core.Dropdown
 
builder() - Static method in class com.trevlar.menukit.core.DropdownMulti
 
builder() - Static method in class com.trevlar.menukit.core.ScrollContainer
Begins a builder.
builder() - Static method in class com.trevlar.menukit.core.Slider
 
builder() - Static method in class com.trevlar.menukit.core.TextField
 
builder(String) - Static method in class com.trevlar.menukit.core.Panel
Starts a fluent builder for a Panel with the given id.
builder(String) - Static method in class com.trevlar.menukit.hud.MKHudNotification
Creates a new notification builder.
builder(String) - Static method in class com.trevlar.menukit.hud.MKHudPanel
Creates a new HUD panel builder.
builder(MenuType) - Static method in class com.trevlar.menukit.screen.MKCScreenHandler
Creates a builder for declaratively constructing a MKCScreenHandler.
button() - Method in record class com.trevlar.menukit.core.Click
Returns the value of the button record component.
button(int, int, int, int, Component, Consumer) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a button element at the given position within the panel content area.
Button - Class in com.trevlar.menukit.core
An interactive button within a Panel.
Button(int, int, int, int, Component, Consumer) - Constructor for class com.trevlar.menukit.core.Button
Convenience: always-enabled button.
Button(int, int, int, int, Component, Consumer, BooleanSupplier) - Constructor for class com.trevlar.menukit.core.Button
 
BUTTON_GAP - Static variable in class com.trevlar.menukit.core.dialog.ConfirmDialog
Horizontal gap between buttons in the button bar.
BUTTON_H - Static variable in class com.trevlar.menukit.core.dialog.AlertDialog
Default button height — matches vanilla's confirm-screen button proportions.
BUTTON_H - Static variable in class com.trevlar.menukit.core.dialog.ConfirmDialog
Default button height — matches vanilla's confirm-screen button proportions.
BUTTON_W - Static variable in class com.trevlar.menukit.core.dialog.AlertDialog
Default button width.
BUTTON_W - Static variable in class com.trevlar.menukit.core.dialog.ConfirmDialog
Default button width.
byId(Identifier) - Static method in class com.trevlar.menukit.screen.MKCMenu
Resolves a menu by the id carried in an open payload, or null if no menu was registered under that id.

C

cancelLabel(Component) - Method in class com.trevlar.menukit.core.dialog.ConfirmDialog.Builder
Override the Cancel button label.
candidatesFor(ServerPlayer) - Method in interface com.trevlar.menukit.core.MendingCandidates.Provider
Extra candidates for this player (server-side).
Canonical usage - Section in class com.trevlar.menukit.core.dialog.AlertDialog
 
Canonical usage - Section in class com.trevlar.menukit.core.dialog.ConfirmDialog
 
captureAndClear(ServerPlayer) - Static method in class com.trevlar.menukit.core.attachment.PlayerSlotCapture
For every death-droppable player content slot on player, read the non-empty stack and CLEAR the slot.
CapturedSlot(Identifier, int, ItemStack) - Constructor for record class com.trevlar.menukit.core.attachment.PlayerSlotCapture.CapturedSlot
Creates an instance of a CapturedSlot record class.
captureReturnAction() - Static method in class com.trevlar.menukit.screen.MKCHandledScreen
Captures a "return to this container" action for the currently-displayed MKC container screen, or null if the current screen is not one.
CARTOGRAPHY_ADDITIONAL - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
CARTOGRAPHY_MAP - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
CARTOGRAPHY_OUTPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
cause() - Method in record class com.trevlar.menukit.window.ReactEvent
Returns the value of the cause record component.
center() - Static method in record class com.trevlar.menukit.core.PanelPosition
Centres the panel on the screen as an overlay — excluded from the layout, auto-centred on the screen window, and drawn on top.
CENTER - Enum constant in enum class com.trevlar.menukit.core.HudRegion
Below the crosshair, horizontally centered, flows down.
CENTER - Enum constant in enum class com.trevlar.menukit.core.layout.CrossAlign
Center children on the cross axis.
CENTER - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
Centered within the menu's container frame.
CENTER - Enum constant in enum class com.trevlar.menukit.core.PanelPosition.Mode
Centred on the screen as an overlay — excluded from the body stack's layout + extent, auto-centred on the screen window, and drawn on top of the body in the overlay pass.
CENTER - Enum constant in enum class com.trevlar.menukit.core.ScreenRegion
Centered horizontally and vertically.
CENTER - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
Centered within the slot-group bounding rectangle.
CENTER - Enum constant in enum class com.trevlar.menukit.hud.MKHudAnchor
 
CENTER_CROSSHAIR_CLEARANCE - Static variable in enum class com.trevlar.menukit.core.HudRegion
Vertical clearance below screen-center for the HudRegion.CENTER region, derived as half-crosshair (8) + breathing gap (8) = 16px in GUI-scaled pixel units.
CENTER_LEFT - Enum constant in enum class com.trevlar.menukit.hud.MKHudAnchor
 
CENTER_RIGHT - Enum constant in enum class com.trevlar.menukit.hud.MKHudAnchor
 
centeredHeight(int, int, int) - Static method in class com.trevlar.menukit.core.RegionMath
Room for a panel centered on centerY that must stay clear of BOTH screen-edge margins — symmetric about the center, binding edge is whichever is nearer.
centeredWidth(int, int, int) - Static method in class com.trevlar.menukit.core.RegionMath
Room for a panel centered on centerX that must stay clear of BOTH screen-edge margins — symmetric about the center, so the binding edge is whichever is nearer.
checkbox(int, int, boolean, Component, Consumer) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a labeled checkbox with the fixed-label form.
Checkbox - Class in com.trevlar.menukit.core
A two-state boolean control rendered as a small square with a check-mark indicator and an adjacent label.
Checkbox(int, int, boolean, Supplier, Consumer) - Constructor for class com.trevlar.menukit.core.Checkbox
 
Checkbox(int, int, boolean, Supplier, Consumer, BooleanSupplier) - Constructor for class com.trevlar.menukit.core.Checkbox
 
Checkbox(int, int, boolean, Component, Consumer) - Constructor for class com.trevlar.menukit.core.Checkbox
 
Checkbox(int, int, boolean, Component, Consumer, BooleanSupplier) - Constructor for class com.trevlar.menukit.core.Checkbox
 
CHECKMARK_SPRITE - Static variable in class com.trevlar.menukit.core.Checkbox
Vanilla check-mark sprite used for the checked state (9×8 pixels).
CHEST_STORAGE - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
childX - Variable in class com.trevlar.menukit.core.AbstractPanelElement
Element X within the panel content area.
childY - Variable in class com.trevlar.menukit.core.AbstractPanelElement
Element Y within the panel content area.
chrome(Supplier) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
The panel's display elements (buttons, labels, decorations), built lazily on the client only.
ChromeExtents(int, int, int, int) - Constructor for record class com.trevlar.menukit.inject.MenuChrome.ChromeExtents
Creates an instance of a ChromeExtents record class.
Clamping - Section in class com.trevlar.menukit.core.ProgressBar
 
clear(BehaviorKey) - Method in class com.trevlar.menukit.window.WindowHandle
Clear a per-address declaration back to inheriting (sugar for set(key, Decl.inherit())).
clear(Screen) - Static method in class com.trevlar.menukit.core.MKFocus
Clears focus from any widget currently focused on the given screen.
clearActingPlayer() - Static method in class com.trevlar.menukit.core.GatingContext
Always call in a finally — never rely on returns.
clearAllRow(Component, Runnable) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Optional: configure a "Clear all" pinned-top action row.
clearContent() - Method in class com.trevlar.menukit.core.StorageContainerAdapter
 
clearPressed(Object) - Static method in class com.trevlar.menukit.core.MKPressedTracker
Removes a widget's pressed-state entry.
clearSelection() - Static method in class com.trevlar.menukit.window.WindowSignals
Clear the selection (MKClient, when a container screen closes).
Click - Record Class in com.trevlar.menukit.core
A mouse click as seen by a PanelElement: which button, plus the modifier keys held at the moment the click was dispatched.
Click(int, boolean, boolean, boolean) - Constructor for record class com.trevlar.menukit.core.Click
Creates an instance of a Click record class.
CLICK - Static variable in record class com.trevlar.menukit.window.ReactCause
A player placed/took via a direct slot click (clicked).
Click behavior - Section in class com.trevlar.menukit.core.DropdownMulti
 
clickLandsOnActiveSlot(AbstractContainerScreen, double, double, int, int) - Static method in class com.trevlar.menukit.core.MKClickOutsideHelper
Returns true when the click lands on any active slot's bounds.
clickMenuButton(Player, int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler
Toggles a panel's visibility by index.
CLIENT - Enum constant in enum class com.trevlar.menukit.window.Tier
 
Client-only - Section in class com.trevlar.menukit.core.MKCSlotInput
 
Client-only, by contract - Section in interface com.trevlar.menukit.window.VisibilityRule
 
Client-render-only (§0047) - Section in class com.trevlar.menukit.core.SlotFlowElement
 
ClientSlotAddressing - Class in com.trevlar.menukit.window
The single client-side "live slot → Address" mapping that every client slot-observer shares — observed reactions (ObservedReactions) and slot interaction signals (WindowSignals).
ClientSlotAddressing.SlotAddressFn - Interface in com.trevlar.menukit.window
Maps a live slot to its Address; swapped for the kind-aware MKC one when present.
ClientWindowVisibility - Class in com.trevlar.menukit.window
The one client-side gate that folds the engine VISIBILITY behavior into the panel dispatch — the bridge between "set visibility through the window" and "the renderer/input loop actually honors it."
codec() - Method in record class com.trevlar.menukit.core.SlotStateChannel
Returns the value of the codec record component.
CODEC - Static variable in record class com.trevlar.menukit.core.attachment.PlayerSlotCapture.CapturedSlot
 
color(int) - Method in class com.trevlar.menukit.hud.MKHudPanel.BarBuilder
 
color(int) - Method in class com.trevlar.menukit.hud.MKHudPanel.TextBuilder
 
COLOR_DARK - Static variable in class com.trevlar.menukit.core.TextLabel
Dark gray with shadow off — matches vanilla container labels on light backgrounds.
COLOR_LIGHT - Static variable in class com.trevlar.menukit.core.TextLabel
White with shadow on — readable on dark panel backgrounds.
Column - Class in com.trevlar.menukit.core.layout
Build-time vertical layout helper.
Column.Builder - Class in com.trevlar.menukit.core.layout
Builder for a single column layout.
com.trevlar.menukit - package com.trevlar.menukit
 
com.trevlar.menukit.compat - package com.trevlar.menukit.compat
 
com.trevlar.menukit.core - package com.trevlar.menukit.core
 
com.trevlar.menukit.core.attachment - package com.trevlar.menukit.core.attachment
 
com.trevlar.menukit.core.dialog - package com.trevlar.menukit.core.dialog
 
com.trevlar.menukit.core.layout - package com.trevlar.menukit.core.layout
 
com.trevlar.menukit.hud - package com.trevlar.menukit.hud
 
com.trevlar.menukit.inject - package com.trevlar.menukit.inject
 
com.trevlar.menukit.input - package com.trevlar.menukit.input
 
com.trevlar.menukit.screen - package com.trevlar.menukit.screen
 
com.trevlar.menukit.window - package com.trevlar.menukit.window
 
component(Supplier) - Method in class com.trevlar.menukit.hud.MKHudPanel.TextBuilder
 
compute(AbstractContainerScreen) - Method in interface com.trevlar.menukit.inject.MenuChrome.ChromeProvider
 
computeSize() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Computes the panel's size from its children + padding.
ConfirmDialog - Class in com.trevlar.menukit.core.dialog
Builder for a modal confirm/cancel dialog.
ConfirmDialog.Builder - Class in com.trevlar.menukit.core.dialog
Builder for a ConfirmDialog Panel.
confirmLabel(Component) - Method in class com.trevlar.menukit.core.dialog.ConfirmDialog.Builder
Override the Confirm button label.
Construction — prefer #spec / .at(x,y) - Section in class com.trevlar.menukit.core.Button
 
Construction — prefer #spec / .at(x,y) - Section in class com.trevlar.menukit.core.TextLabel
 
Consumer contract - Section in class com.trevlar.menukit.core.MKFocus
 
Consumer custom elements - Section in class com.trevlar.menukit.core.AbstractPanelElement
 
container() - Method in record class com.trevlar.menukit.core.SlotIdentity
Returns the value of the container record component.
CONTAINER_FAMILY - Static variable in class com.trevlar.menukit.window.VanillaAddressing
The constant root family of container-identified vanilla slots (menu-independent).
Container-based when possible, menu-based as a fallback - Section in class com.trevlar.menukit.window.VanillaAddressing
 
ContainerScreenLayers - Class in com.trevlar.menukit.inject
The one owner of frame composition order on a container screen — what MenuKit draws, and where in vanilla's frame it lands.
containerSlot() - Method in record class com.trevlar.menukit.core.SlotIdentity
Returns the value of the containerSlot record component.
contains(Address) - Method in class com.trevlar.menukit.window.GroupKey
Whether address is a member of this group.
containsSlot(Slot) - Method in class com.trevlar.menukit.core.VirtualSlotGroup
Returns true if the given slot belongs to this group.
content(List) - Method in class com.trevlar.menukit.core.ScrollContainer.Builder
Sets the pre-positioned content list.
contentHeight(int) - Method in class com.trevlar.menukit.core.ScrollContainer.Builder
Explicit override for the total content height.
contentsToList(ItemContainerContents, int) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Converts ItemContainerContents to a mutable NonNullList.
Context-parity with other rendering contexts - Section in class com.trevlar.menukit.inject.ScreenPanelAdapter
 
ControlStyle - Enum Class in com.trevlar.menukit.core
Visual style for INTERACTIVE controls — currently Button and Dropdown/DropdownMulti.
Coordinate contract - Section in interface com.trevlar.menukit.core.PanelElement
 
Coordinate convention - Section in class com.trevlar.menukit.core.MainRegionLayout
 
count(int) - Method in class com.trevlar.menukit.core.SlotSpec
Number of logical slots in this group (default 1).
CRAFTER_GRID - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
CRAFTER_RESULT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
CRAFTING_INPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
CRAFTING_OUTPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
create(MKCScreenHandler, Inventory, Component) - Method in interface com.trevlar.menukit.screen.MKCMenuScreenFactory
Constructs the screen for the given handler / player inventory / title.
CREATED_SLOT - Enum constant in enum class com.trevlar.menukit.window.KindTag
A slot brought into being through MKC creation (a real synced slot in menu space).
createdSlot(ScreenFamilyKey, OwnerScope, Identifier, String) - Static method in record class com.trevlar.menukit.window.Address
A created slot, owned by its panel, identified by a declaration id.
CreatedSlotAdapter - Class in com.trevlar.menukit.core
MKC's implementation of MK's CreatedSlotResolver port — resolves a CREATED_SLOT Address to its live in-menu slot (position is read off that slot's own x/y, like a vanilla slot's).
Created-slot identity is MENU-INDEPENDENT - Section in class com.trevlar.menukit.core.CreatedSlotAdapter
 
CreatedSlotResolver - Interface in com.trevlar.menukit.window
Port (MK defines, MKC implements): resolve a CREATED_SLOT Address to its live in-menu slot.
Creative/survival parity (§0051) - Section in class com.trevlar.menukit.core.MKCSlots
 
CreativeSlotWrapper - Class in com.trevlar.menukit.core
A library-built stand-in for vanilla's package-private CreativeModeInventoryScreen$SlotWrapper, used to carry a registered MKCSlot into the creative non-inventory tabs so it draws and routes there exactly as it does on the inventory tab (§0051 creative parity, extended to all tabs).
CreativeSlotWrapper(MKCSlot, int, int) - Constructor for class com.trevlar.menukit.core.CreativeSlotWrapper
 
crossAlign(CrossAlign) - Method in class com.trevlar.menukit.core.layout.Column.Builder
Cross-axis (horizontal) alignment policy.
crossAlign(CrossAlign) - Method in class com.trevlar.menukit.core.layout.Row.Builder
Cross-axis (vertical) alignment policy.
CrossAlign - Enum Class in com.trevlar.menukit.core.layout
Cross-axis alignment policy for Row and Column layout helpers.
Cross-context applicability - Section in class com.trevlar.menukit.core.Dropdown
 
Cross-context applicability - Section in class com.trevlar.menukit.core.DropdownMulti
 
Cross-context applicability - Section in class com.trevlar.menukit.core.Slider
 
Cross-context applicability - Section in class com.trevlar.menukit.core.TextField
 
Cross-context applicability - Section in class com.trevlar.menukit.core.dialog.ConfirmDialog
 
ctrl() - Method in record class com.trevlar.menukit.core.Click
Returns the value of the ctrl record component.
current() - Static method in class com.trevlar.menukit.core.GatingContext
The context for the current thread (the captured acting player, if any).
currentState() - Method in class com.trevlar.menukit.core.Toggle
Returns the Toggle's current boolean state.
CursorContinuity - Class in com.trevlar.menukit.input
Phase 16h — utility for preserving OS cursor position across screen transitions.
custom(int, int, int, int, Consumer) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds a custom render region.
custom(CustomAttachmentSpec) - Static method in class com.trevlar.menukit.core.StorageAttachment
Wraps a CustomAttachmentSpec as a StorageAttachment.
CustomAttachmentSpec<O,C> - Interface in com.trevlar.menukit.core.attachment
Consumer-implemented interface for M7's extension point.
customPlayerAttached(CustomAttachmentSpec) - Static method in class com.trevlar.menukit.core.StorageAttachment
customPlayerDeathSpecs() - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Snapshot of the death-enrolled custom player specs + their rules, for the death handler.

D

DARK - Enum constant in enum class com.trevlar.menukit.core.PanelStyle
Dark — dark translucent panel like the effects/status background.
deathDropRuleOf(AttachmentType) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
The configured death-drop rule for a type, or null if it isn't death-enrolled.
Death handling - Section in com.trevlar.menukit.core.StorageAttachment.playerAttached(String, String, int)
 
decl(String) - Static method in interface com.trevlar.menukit.window.Token
 
Decl<V> - Interface in com.trevlar.menukit.window
A behavior declaration at ONE specificity level (per-slot, per-group, …).
Decl.Inherit<V> - Record Class in com.trevlar.menukit.window
Explicit deferral; the cascade falls through to the next level.
Decl.Set<V> - Record Class in com.trevlar.menukit.window
An explicit declared value; the cascade stops here.
declare(Address, BehaviorKey, Decl) - Method in class com.trevlar.menukit.core.BehaviorBindingTable
 
declare(Address, BehaviorKey, Decl) - Method in interface com.trevlar.menukit.window.ServerTierBridge
Declare a server-tier behavior on one address (per-slot specificity).
declareGroup(GroupKey, BehaviorKey, Decl) - Method in class com.trevlar.menukit.core.BehaviorBindingTable
 
declareGroup(GroupKey, BehaviorKey, Decl) - Method in interface com.trevlar.menukit.window.ServerTierBridge
Declare a server-tier behavior as a group default (per-group specificity).
declId() - Method in record class com.trevlar.menukit.window.Token.DeclToken
Returns the value of the declId record component.
declId(String) - Method in class com.trevlar.menukit.core.AbstractPanelElement
Assigns an explicit, stable declaration id for this element within its panel, overriding the default position-based identity.
DeclToken(String) - Constructor for record class com.trevlar.menukit.window.Token.DeclToken
Creates an instance of a DeclToken record class.
DEFAULT - Enum constant in enum class com.trevlar.menukit.core.DropRule
 
DEFAULT_BG_COLOR - Static variable in class com.trevlar.menukit.core.ProgressBar
Default background color — dark gray.
DEFAULT_COLOR - Static variable in class com.trevlar.menukit.core.Divider
Default separator color — vanilla inventory-label dark gray.
DEFAULT_DIRECTION - Static variable in class com.trevlar.menukit.core.ProgressBar
Default direction — left-to-right.
DEFAULT_FILL_COLOR - Static variable in class com.trevlar.menukit.core.ProgressBar
Default fill color — white.
DEFAULT_GAP - Static variable in class com.trevlar.menukit.core.Flow
Default inter-child gap on both axes, in pixels.
DEFAULT_LABEL_COLOR - Static variable in class com.trevlar.menukit.core.Checkbox
Default label color — vanilla inventory-label dark gray.
DEFAULT_LABEL_COLOR - Static variable in class com.trevlar.menukit.core.Radio
Default label color — vanilla inventory-label dark gray.
DEFAULT_MAX_WIDTH - Static variable in class com.trevlar.menukit.core.MKTooltip
Library-default maximum hover-tooltip width, in GUI pixels.
DEFAULT_PADDING - Static variable in class com.trevlar.menukit.inject.ScreenPanelAdapter
Default content padding — matches MKScreen.PANEL_PADDING.
DEFAULT_PADDING - Static variable in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Default content padding — matches ScreenPanelAdapter.DEFAULT_PADDING.
DEFAULT_PADDING - Static variable in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Default content padding — matches ScreenPanelAdapter.DEFAULT_PADDING.
DEFAULT_PRIORITY - Static variable in record class com.trevlar.menukit.core.RegionAnchor
Default priority for region-anchored panels.
DEFAULT_SIZE - Static variable in class com.trevlar.menukit.core.ItemDisplay
Native item render size — vanilla renders items at this size.
DEFAULT_SIZE - Static variable in class com.trevlar.menukit.core.SlotRendering
Default slot size (18×18) — 16px item area + 1px padding each side.
DEFAULT_TEXT_COLOR - Static variable in class com.trevlar.menukit.core.InfoBox
Default text color — vanilla inventory-label dark gray.
DEFAULT_THICKNESS - Static variable in class com.trevlar.menukit.core.Divider
Default thickness in pixels.
defaultEmpty(int) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Produces an empty ItemContainerContents of the given size.
defaultFactory() - Method in interface com.trevlar.menukit.core.attachment.CustomAttachmentSpec
Produces a fresh default content when no stored value exists yet.
defaultValue() - Method in record class com.trevlar.menukit.core.SlotStateChannel
Returns the value of the defaultValue record component.
Default visual - Section in class com.trevlar.menukit.core.Divider
 
define(String) - Static method in class com.trevlar.menukit.core.MKCContainerPanel
Begins a container-parity panel registration with the given panel id.
define(Identifier, MKCMenu.HandlerFactory) - Static method in class com.trevlar.menukit.screen.MKCMenu
Begins a custom-menu definition.
DESTROY - Enum constant in enum class com.trevlar.menukit.core.DropRule
 
dimension() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.BlockEntityKey
Returns the value of the dimension record component.
dimsBehind() - Method in class com.trevlar.menukit.core.Panel
Returns whether this panel dims the screen behind it.
dimsBehind(boolean) - Method in class com.trevlar.menukit.core.Panel
Sets whether the screen dims visually behind this panel when visible.
direction(ProgressBar.Direction) - Method in class com.trevlar.menukit.hud.MKHudPanel.BarBuilder
 
DISABLED_LABEL_COLOR - Static variable in class com.trevlar.menukit.core.Checkbox
Muted label color when disabled.
DISABLED_LABEL_COLOR - Static variable in class com.trevlar.menukit.core.Radio
Muted label color when disabled.
disabledWhen(BooleanSupplier) - Method in class com.trevlar.menukit.core.Dropdown.Builder
Optional disabled predicate (Phase 3b — Item 8).
disabledWhen(BooleanSupplier) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Optional disabled predicate (Phase 3b — Item 8).
disabledWhen(BooleanSupplier) - Method in class com.trevlar.menukit.core.ScrollContainer.Builder
Optional disabled predicate (Phase 3b — Item 8).
disabledWhen(BooleanSupplier) - Method in class com.trevlar.menukit.core.Slider.Builder
Optional disabled predicate (Phase 3b — Item 8).
dispatchCoveredClick(Screen, double, double, int) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
M9 opaque click dispatch — combined dispatch + eat decision called from MKModalMouseHandlerMixin at the HEAD of MouseHandler.onButton.
dispatchCoveredRelease(Screen, double, double, int) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
M9 opaque release dispatch — symmetric counterpart to ScreenPanelRegistry.dispatchCoveredClick(Screen, double, double, int).
dispatchCoveredScroll(Screen, double, double, double, double) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
DISPENSER - Static variable in record class com.trevlar.menukit.window.ReactCause
A dispenser/dropper fired the slot.
DISPENSER_STORAGE - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
Divider - Class in com.trevlar.menukit.core
A horizontal or vertical line separating content sections within a panel.
done() - Method in class com.trevlar.menukit.hud.MKHudPanel.BarBuilder
 
done() - Method in class com.trevlar.menukit.hud.MKHudPanel.ItemBuilder
 
done() - Method in class com.trevlar.menukit.hud.MKHudPanel.SlotBuilder
 
done() - Method in class com.trevlar.menukit.hud.MKHudPanel.TextBuilder
 
drainContents() - Method in class com.trevlar.menukit.core.EphemeralStorage
Atomically reads all items and clears the storage.
drawSlotBackground(GuiGraphicsExtractor, int, int, int, boolean) - Static method in class com.trevlar.menukit.core.SlotRendering
Slot background.
DROP - Enum constant in enum class com.trevlar.menukit.core.DropRule
 
dropAllAt(Level, BlockPos, BlockEntity) - Static method in class com.trevlar.menukit.core.attachment.BlockScopedDropHandler
For every block-scoped attachment registered on this BE, drop its content as item entities at the given position.
dropAllOnDeath(Player, ServerLevel) - Static method in class com.trevlar.menukit.core.attachment.PlayerDeathDropHandler
For every death-droppable player content attachment the player carries, resolve each stack's DropRule and act: drop (vanilla player drop) + clear, destroy + clear, or keep.
Dropdown<T> - Class in com.trevlar.menukit.core
Single-selection dropdown control.
Dropdown.Builder<T> - Class in com.trevlar.menukit.core
 
DropdownMulti<T> - Class in com.trevlar.menukit.core
Multi-selection dropdown control.
DropdownMulti.Builder<T> - Class in com.trevlar.menukit.core
 
DropRule - Enum Class in com.trevlar.menukit.core
Per-attachment death-drop policy for player-scoped slot content (death handling, Phase 1).
dropsOnDeath(DropRule) - Method in class com.trevlar.menukit.core.StorageAttachment.PlayerStorageAttachment
Sets this player attachment's death-drop policy.
duration(int) - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Total display duration in milliseconds; includes fade-out (default 3000).
Dynamic-width limitation with supplier labels - Section in class com.trevlar.menukit.core.Checkbox
 
Dynamic-width limitation with supplier labels - Section in class com.trevlar.menukit.core.Radio
 
Dynamic-width limitation with supplier text - Section in class com.trevlar.menukit.core.InfoBox
 
Dynamic-width limitation with supplier text - Section in class com.trevlar.menukit.core.TextLabel
 

E

EDGE_INSET - Static variable in class com.trevlar.menukit.core.RegionConstants
Screen-edge inset (pixels, GUI-scaled) for the HUD + vanilla-screen contexts.
Edge inset - Section in class com.trevlar.menukit.core.RegionConstants
 
editable(boolean) - Method in class com.trevlar.menukit.core.TextField.Builder
Optional read-only mode.
element(PanelElement) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds any panel element directly.
element(PanelElement) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds an arbitrary panel element (for custom element types).
element(Address) - Method in class com.trevlar.menukit.window.WindowView
A handle on a panel element named by address.
element(String, String) - Static method in class com.trevlar.menukit.window.Window
A handle on element elementDeclId within panel panelId.
element(String, String) - Method in class com.trevlar.menukit.window.WindowView
A handle on element elementDeclId within panel panelId.
ElementHandle - Class in com.trevlar.menukit.window
A typed handle on a panel element (label, button, outline) — a created thing that is NOT a slot.
elements() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the elements record component.
elements(List) - Method in class com.trevlar.menukit.core.Panel.Builder
Replaces the accumulated element list with the given one.
elementShown(Panel, PanelElement) - Static method in class com.trevlar.menukit.window.ClientWindowVisibility
Client-side: should this element of panel display/interact (own visibility AND engine VISIBILITY)?
ElementSpec - Interface in com.trevlar.menukit.core.layout
A factory for a PanelElement whose final position is computed by an M8 layout helper (Row, Column).
ENCHANTING_INPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
ENCHANTING_LAPIS - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
END - Enum constant in enum class com.trevlar.menukit.core.layout.CrossAlign
Align children to the high edge of the cross axis.
EnderChest(UUID) - Constructor for record class com.trevlar.menukit.core.PersistentContainerKey.EnderChest
Creates an instance of a EnderChest record class.
endFrame(AbstractContainerScreen) - Method in class com.trevlar.menukit.core.MKCSlotScreenHook
 
endFrame(AbstractContainerScreen) - Method in interface com.trevlar.menukit.inject.SlotScreenHook
Fired once per frame at the end of ContainerScreenLayers, after every panel has rendered.
entityAttached(String, String, int) - Static method in class com.trevlar.menukit.core.StorageAttachment
Persists slot-group content on a generic Entity via a Fabric attachment.
entityId() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.EntityKey
Returns the value of the entityId record component.
EntityKey(UUID) - Constructor for record class com.trevlar.menukit.core.PersistentContainerKey.EntityKey
Creates an instance of a EntityKey record class.
ephemeral(int) - Static method in class com.trevlar.menukit.core.StorageAttachment
Session-scoped, in-memory storage.
EphemeralStorage - Class in com.trevlar.menukit.core
In-memory storage that is not persisted.
EphemeralStorage(int) - Constructor for class com.trevlar.menukit.core.EphemeralStorage
Creates an ephemeral storage with the given number of slots.
equals(Object) - Method in record class com.trevlar.menukit.core.attachment.PlayerSlotCapture.CapturedSlot
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.Click
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.MainRegionLayout.Result
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.MKCSlotInput.Resolution
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.MKCSlots.RegisteredSlots
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.PanelBounds
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.PanelPosition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.PanelTreeLayout
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.PersistentContainerKey.BlockEntityKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.PersistentContainerKey.EnderChest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.PersistentContainerKey.EntityKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.PersistentContainerKey.Modded
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.PersistentContainerKey.PlayerInventory
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.RegionAnchor
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.RenderContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.SlotGroupCategory
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.SlotIdentity
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.inject.MenuChrome.ChromeExtents
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.inject.ScreenBounds
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.inject.ScreenOrigin
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.inject.SlotGroupBounds
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.inject.SlotHoverResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.inject.SlotScreenRect
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.Address
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.BehaviorKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.Decl.Inherit
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.Decl.Set
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.trevlar.menukit.window.GroupKey
 
equals(Object) - Method in record class com.trevlar.menukit.window.OwnerRef.NestedOwner
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.OwnerRef.RootOwner
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.OwnerScope.Primary
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.OwnerScope.Sub
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.OwnerScope.Tab
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.ReactCause
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.ReactEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.ScreenFamilyKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.Token.DeclToken
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.Token.IndexToken
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.Token.RegToken
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.trevlar.menukit.window.VanillaSlotIdentity.Resolved
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.trevlar.menukit.window.WindowHandle
 
Explicit verbs, not a guess - Section in class com.trevlar.menukit.window.WindowReactions
 
exports() - Method in enum class com.trevlar.menukit.core.QuickMoveParticipation
Returns true if items can be shift-clicked out of this group.
EXPORTS - Enum constant in enum class com.trevlar.menukit.core.QuickMoveParticipation
Items can be shift-clicked OUT of this group, but not into it.
extend(Class, SlotGroupResolver) - Static method in class com.trevlar.menukit.inject.SlotGroupCategories
Registers an additional resolver for a menu class, contributing extra categories without replacing the primary.
Extension points for consumer subclasses - Section in class com.trevlar.menukit.core.Button
 
extractContents(GuiGraphicsExtractor, int, int, float) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Renders panel backgrounds and slot backgrounds in screen space.
extractLabels(GuiGraphicsExtractor, int, int) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
 
extractRenderState(GuiGraphicsExtractor, int, int, float) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
 
extraLayoutHeight() - Method in class com.trevlar.menukit.core.Button
Extra vertical pixels this button occupies BEYOND its authored box height because its label wrapped under Button.layoutWithin(int) — i.e.
extraLayoutHeight() - Method in class com.trevlar.menukit.core.Checkbox
Extra vertical pixels this checkbox occupies BEYOND its authored square because the label wrapped — i.e.
extraLayoutHeight() - Method in class com.trevlar.menukit.core.Dropdown
Extra vertical pixels the trigger occupies BEYOND its authored box because the selection label wrapped — getHeight() - triggerHeight when wrapped, else 0.
extraLayoutHeight() - Method in class com.trevlar.menukit.core.Flow
Extra height the flow occupies BEYOND a single row because it wrapped — so the owning Panel's reflow pushes elements below the flow down by exactly the wrap's growth (the same contract a multi-line Button honors).
extraLayoutHeight() - Method in class com.trevlar.menukit.core.InfoBox
Extra box height beyond a single line once wrapped — drives panel reflow.
extraLayoutHeight() - Method in interface com.trevlar.menukit.core.PanelElement
Extra vertical pixels this element occupies BEYOND its single-line / authored baseline because a label wrapped under PanelElement.layoutWithin(int).
extraLayoutHeight() - Method in class com.trevlar.menukit.core.Radio
Extra vertical pixels this Radio occupies BEYOND its authored box height because the label wrapped — i.e.
extraLayoutHeight() - Method in class com.trevlar.menukit.core.TextLabel
Extra height beyond a single line once wrapped — drives panel reflow.
extraLayoutHeight() - Method in class com.trevlar.menukit.core.Toggle
Extra vertical pixels the WRAPPED bar occupies beyond its authored height — getHeight() - height when wrapped, else 0.
extraWrapHeight() - Method in class com.trevlar.menukit.core.TextLabel
Extra vertical pixels this label occupies BEYOND a single line because it wrapped — i.e.

F

fadeOut(int) - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Fade-out duration at the tail end of the total duration (default 500).
FALSE - Enum constant in enum class com.trevlar.menukit.window.TriBool
 
family() - Method in record class com.trevlar.menukit.window.OwnerRef.RootOwner
Returns the value of the family record component.
Family - Section in class com.trevlar.menukit.window.WindowMint
 
familyOf(AbstractContainerMenu) - Static method in class com.trevlar.menukit.window.WindowMint
The stable family of a live menu.
feedRegionBudget(Panel, MenuRegion, ScreenBounds, int, int, int) - Static method in class com.trevlar.menukit.inject.RegionRegistry
The reactive-sizing step of the ONE region engine — shared verbatim by the vanilla-injection path (RegionRegistry.resolveAround(Panel, MenuRegion, ScreenBounds, int, int, int, int), frame = the menu frame) and the custom-screen path (MainRegionLayout, frame = the MAIN panel's bounds).
FILL - Enum constant in enum class com.trevlar.menukit.core.layout.CrossAlign
Stretch every FILL-CAPABLE child to the column's cross-axis extent (the width of its single widest child); intrinsic-width children keep their width and align to the column's START (left) edge — so a mixed column reads as full-width controls with left-aligned switches/checkboxes, not "everything the same width" (Pass 3 column-intrinsic-fill).
fillWidth(int) - Method in class com.trevlar.menukit.core.Button
Column-fill (Pass 3): stretch this button to the column's widest extent.
fillWidth(int) - Method in class com.trevlar.menukit.core.Divider
Column-fill (Pass 3): stretch a HORIZONTAL divider to the column's widest extent — the canonical "section separator spans the column" use.
fillWidth(int) - Method in class com.trevlar.menukit.core.Dropdown
Column-fill (Pass 3): stretch the trigger (and thus the popover) to the column's widest extent.
fillWidth(int) - Method in class com.trevlar.menukit.core.DropdownMulti
Column-fill (Pass 3): stretch the trigger (and thus the popover) to the column's widest extent.
fillWidth(int) - Method in interface com.trevlar.menukit.core.PanelElement
Stretches this element to fill the given content width (the CrossAlign.FILL / column-fill primitive, Pass 3).
fillWidth(int) - Method in class com.trevlar.menukit.core.ProgressBar
Column-fill (Pass 3): stretch this bar to the column's widest extent.
fillWidth(int) - Method in class com.trevlar.menukit.core.ScrollContainer
Column-fill (Pass 3): stretch the viewport to the column's widest extent.
fillWidth(int) - Method in class com.trevlar.menukit.core.Slider
Column-fill (Pass 3): stretch this slider to the column's widest extent.
fillWidth(int) - Method in class com.trevlar.menukit.core.TextField
Column-fill (Pass 3): stretch the field to the column's widest extent.
fillWidth(int) - Method in class com.trevlar.menukit.core.Toggle
Column-fill (Pass 3): stretch the LABELED bar form to the column's widest extent.
filter(Predicate) - Method in class com.trevlar.menukit.core.TextField.Builder
Optional input filter.
findCoveringPanelAt(Screen, double, double) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
Unified coverage query — finds the topmost (last-registered) visible panel that claims the cursor point (ScreenPanelRegistry.panelClaimsPoint(Panel, ScreenOrigin, int, double, double): an opaque background minus holes, OR a solid opaque element).
findGroup(AbstractContainerMenu, Slot) - Static method in class com.trevlar.menukit.core.HandlerRecognizerRegistry
Finds the observed SlotGroupLike a vanilla slot belongs to, by running the recognizer chain and searching the recognized groups.
findGroupForSlot(Slot) - Method in class com.trevlar.menukit.screen.MKCScreenHandler
Finds the SlotGroupLike that a slot belongs to, fast-pathing MenuKit-owned slots and delegating to MK's recognition for observed vanilla slots.
findSlotByContainerIndex(AbstractContainerMenu, PersistentContainerKey, int) - Static method in class com.trevlar.menukit.core.MKSlotState
Finds a slot in the given menu by container-relative index + container match.
fire(ReactiveHook, ReactEvent) - Method in class com.trevlar.menukit.core.ReactiveDispatchImpl
 
fire(ReactiveHook, ReactEvent) - Method in interface com.trevlar.menukit.window.ReactiveDispatch
Invoke hook for event on the server, inside the current menu transaction.
fireEndFrame(AbstractContainerScreen) - Static method in class com.trevlar.menukit.inject.SlotScreenDispatcher
End of ContainerScreenLayers — park created slots no panel presented this frame.
fireInsert(Address, ItemStack, ItemStack, ReactCause, boolean) - Static method in class com.trevlar.menukit.window.WindowReactions
Fire the insert reaction for a committed gain of content at address.
fireIsCreated(Slot) - Static method in class com.trevlar.menukit.inject.SlotScreenDispatcher
extractSlot HEAD — is this a created slot (the layer boundary)? False without MKC.
fireMouseClicked(AbstractContainerScreen, double, double, int) - Static method in class com.trevlar.menukit.inject.SlotScreenDispatcher
mouseClicked HEAD — consumer buttons + gap-block.
fireMouseReleased(AbstractContainerScreen, double, double, int) - Static method in class com.trevlar.menukit.inject.SlotScreenDispatcher
mouseReleased HEAD — finish a drag over a slot region.
fireMouseScrolled(AbstractContainerScreen, double, double, double, double) - Static method in class com.trevlar.menukit.inject.SlotScreenDispatcher
mouseScrolled HEAD — consumer scroll over a slot region.
fireResolveHover(AbstractContainerScreen, double, double) - Static method in class com.trevlar.menukit.inject.SlotScreenDispatcher
getHoveredSlot HEAD — resolve slot hover.
fireTake(Address, ItemStack, ItemStack, ReactCause, boolean) - Static method in class com.trevlar.menukit.window.WindowReactions
Fire the take reaction for a committed loss of content at address.
First-class interactive host - Section in class com.trevlar.menukit.core.Flow
 
flatEnd() - Method in record class com.trevlar.menukit.core.MKCSlots.RegisteredSlots
Returns the value of the flatEnd record component.
flatStart() - Method in record class com.trevlar.menukit.core.MKCSlots.RegisteredSlots
Returns the value of the flatStart record component.
Flow - Class in com.trevlar.menukit.core
The general reactive flow-wrap primitive — a PanelElement that holds a run of child elements and FLOWS the visible ones left-to-right into the panel's available content width, WRAPPING to new rows that grow downward when the run exceeds that width.
frameStart(AbstractContainerScreen) - Static method in class com.trevlar.menukit.inject.ContainerScreenLayers
extractContents HEAD — a new frame; layer 2 not yet drawn.
frameX() - Method in record class com.trevlar.menukit.inject.SlotScreenRect
Left edge of the 18×18 recessed frame (item box minus the 1px inset).
frameY() - Method in record class com.trevlar.menukit.inject.SlotScreenRect
Top edge of the 18×18 recessed frame.
fromItemList(NonNullList) - Method in interface com.trevlar.menukit.core.attachment.CustomAttachmentSpec
Converts a mutated item list back to the structured content, preserving any non-ItemStack fields.
FROZEN-CLOSED - Section in interface com.trevlar.menukit.window.Decl
 
FROZEN-OPEN - Section in enum class com.trevlar.menukit.window.KindTag
 
FROZEN-OPEN - Section in interface com.trevlar.menukit.window.Token
 
FURNACE_FUEL - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
FURNACE_INPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
FURNACE_OUTPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 

G

gap(int) - Method in class com.trevlar.menukit.core.Flow
Sets the inter-child gap (same value on both axes).
gap(int, int) - Method in class com.trevlar.menukit.core.Flow
Sets the horizontal + vertical inter-child gaps independently.
gate(SlotGate) - Method in class com.trevlar.menukit.core.SlotSpec
Arms a SlotGate (what every slot in this group accepts / releases / caps) — sugar for Window.slot(addr).set(MKCBehaviorKeys.GATING, gate) on each local index.
gather(ServerPlayer) - Static method in class com.trevlar.menukit.core.MendingCandidates
Gathers all registered providers' candidates for the player (empty if none).
GATING - Static variable in class com.trevlar.menukit.core.MKCBehaviorKeys
What a slot accepts / releases (and its per-item stack cap).
GatingContext - Class in com.trevlar.menukit.core
The context a SlotGate decision runs in — who/what is acting, plus the library-owned non-modded capability query.
get(Address) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Reads this channel's value at the slot named by address, in the client player's currently open menu.
get(Container, int) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Reads the SHARED value at (container, containerSlotIndex) with no Slot, no open menu, and no viewer — for automation (hopper / dropper / dispenser) that touches a placed container directly by index.
get(Player, PersistentContainerKey, int) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Reads this channel's value from persistent storage directly.
get(Player, Address) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Reads this channel's value at the slot named by address for an explicit player — resolves the slot in that player's open menu.
get(Player, Slot) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Reads this channel's value at slot with explicit player context.
get(Slot) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Reads this channel's value at slot.
getActiveOverlayBounds() - Method in class com.trevlar.menukit.core.Dropdown
Phase 14d-5 active-overlay claim — when popover is open, declares the popover's screen-space bounds as an exclusive modal-area.
getActiveOverlayBounds() - Method in class com.trevlar.menukit.core.DropdownMulti
Same active-overlay claim shape as Dropdown.
getActiveOverlayBounds() - Method in class com.trevlar.menukit.core.Flow
 
getActiveOverlayBounds() - Method in interface com.trevlar.menukit.core.PanelElement
Phase 14d-5 — active overlay bounds for exclusive-claim dispatch.
getActiveOverlayBounds() - Method in class com.trevlar.menukit.core.ScrollContainer
Surfaces an open child's active overlay (e.g.
getBgColor() - Method in class com.trevlar.menukit.core.ProgressBar
Returns the ARGB background color.
getChannel(Identifier) - Static method in class com.trevlar.menukit.core.MKSlotState
Returns the channel with the given id, or empty if not registered.
getChildX() - Method in class com.trevlar.menukit.core.AbstractPanelElement
 
getChildX() - Method in interface com.trevlar.menukit.core.PanelElement
X position within the panel's content area.
getChildX() - Method in class com.trevlar.menukit.core.SlotElement
 
getChildX() - Method in class com.trevlar.menukit.core.SlotFlowElement
 
getChildX() - Method in class com.trevlar.menukit.hud.MKHudIcon
 
getChildX() - Method in class com.trevlar.menukit.hud.MKHudSlot
 
getChildY() - Method in class com.trevlar.menukit.core.AbstractPanelElement
 
getChildY() - Method in interface com.trevlar.menukit.core.PanelElement
Y position within the panel's content area.
getChildY() - Method in class com.trevlar.menukit.core.SlotElement
 
getChildY() - Method in class com.trevlar.menukit.core.SlotFlowElement
 
getChildY() - Method in class com.trevlar.menukit.hud.MKHudIcon
 
getChildY() - Method in class com.trevlar.menukit.hud.MKHudSlot
 
getColor() - Method in class com.trevlar.menukit.core.Divider
Returns the divider's ARGB color.
getColor() - Method in class com.trevlar.menukit.core.TextLabel
Returns the ARGB text color.
getColumns() - Method in class com.trevlar.menukit.core.SlotGroup
Grid columns for slot layout.
getContainerSize() - Method in class com.trevlar.menukit.core.StorageContainerAdapter
 
getCurrentSprite() - Method in class com.trevlar.menukit.core.Icon
Returns the sprite identifier the Icon would render right now.
getCurrentStack() - Method in class com.trevlar.menukit.core.ItemDisplay
Returns the item stack the ItemDisplay would render right now.
getCurrentText() - Method in class com.trevlar.menukit.core.InfoBox
Returns the current info-box text.
getCurrentText() - Method in class com.trevlar.menukit.core.TextLabel
Returns the text content the TextLabel would render right now.
getCurrentValue() - Method in class com.trevlar.menukit.core.ProgressBar
Returns the current progress value, clamped to [0, 1].
getDirection() - Method in class com.trevlar.menukit.core.ProgressBar
Returns the fill direction.
getDurationMs() - Method in class com.trevlar.menukit.hud.MKHudNotification
Total display duration in milliseconds (excludes slide-in but includes fade-out).
getElementDeclId() - Method in class com.trevlar.menukit.core.AbstractPanelElement
 
getElementDeclId() - Method in interface com.trevlar.menukit.core.PanelElement
The element's explicit, stable declaration id within its panel, or null to use the default identity (its registration position in the panel's element list).
getElements() - Method in class com.trevlar.menukit.core.Panel
Returns the effective element list for layout / render / input dispatch.
getEscapeAction() - Method in class com.trevlar.menukit.core.Panel
Returns the Escape-dismiss action registered via Panel.onEscape(Runnable), or null if none.
getFillColor() - Method in class com.trevlar.menukit.core.ProgressBar
Returns the ARGB fill color.
getFlatIndexEnd() - Method in class com.trevlar.menukit.core.SlotGroup
Returns the end of this group's flat index range (exclusive).
getFlatIndexStart() - Method in class com.trevlar.menukit.core.SlotGroup
Returns the start of this group's flat index range (inclusive).
getGroup() - Method in class com.trevlar.menukit.core.MKCSlot
The SlotGroup that owns this slot's behavior.
getGroupContaining(int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler
Returns the SlotGroup that owns the given flat slot index, or null if the index is out of range or not a MenuKit slot.
getGroupId() - Method in class com.trevlar.menukit.core.MKCSlot
Group this slot belongs to within its panel.
getGroupsFor(String) - Method in class com.trevlar.menukit.screen.MKCScreenHandler
Returns the slot groups attached to the panel with the given id, in declaration order.
getHeight() - Method in class com.trevlar.menukit.core.Button
 
getHeight() - Method in class com.trevlar.menukit.core.Checkbox
 
getHeight() - Method in class com.trevlar.menukit.core.Divider
 
getHeight() - Method in class com.trevlar.menukit.core.Dropdown
Trigger height — grows when the selection label wraps to more than one line (Verification-4 reactive wrap, mirroring TextLabel).
getHeight() - Method in class com.trevlar.menukit.core.DropdownMulti
 
getHeight() - Method in class com.trevlar.menukit.core.Flow
 
getHeight() - Method in class com.trevlar.menukit.core.Icon
 
getHeight() - Method in class com.trevlar.menukit.core.InfoBox
 
getHeight() - Method in class com.trevlar.menukit.core.ItemDisplay
 
getHeight() - Method in class com.trevlar.menukit.core.Panel
Returns the panel's height for region-stacking math.
getHeight() - Method in interface com.trevlar.menukit.core.PanelElement
Height in pixels.
getHeight() - Method in class com.trevlar.menukit.core.ProgressBar
 
getHeight() - Method in class com.trevlar.menukit.core.Radio
 
getHeight() - Method in class com.trevlar.menukit.core.ScrollContainer
 
getHeight() - Method in class com.trevlar.menukit.core.Slider
 
getHeight() - Method in class com.trevlar.menukit.core.SlotElement
 
getHeight() - Method in class com.trevlar.menukit.core.SlotFlowElement
Hug height: one row per columns() visible slots, growing downward.
getHeight() - Method in class com.trevlar.menukit.core.TextField
 
getHeight() - Method in class com.trevlar.menukit.core.TextLabel
 
getHeight() - Method in class com.trevlar.menukit.core.Toggle
 
getHeight() - Method in class com.trevlar.menukit.hud.MKHudIcon
 
getHeight() - Method in class com.trevlar.menukit.hud.MKHudSlot
 
getHoveredGroup() - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Returns the SlotGroup of the currently hovered MKCSlot, or null.
getHoveredMKCSlot() - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Returns the currently hovered MKCSlot, or null if the mouse isn't over a MenuKit slot.
getId() - Method in class com.trevlar.menukit.core.Panel
Returns this panel's unique identifier within the screen.
getId() - Method in class com.trevlar.menukit.core.SlotGroup
Returns this group's unique identifier within its panel.
getId() - Method in interface com.trevlar.menukit.core.SlotGroupLike
Returns this group's identifier.
getId() - Method in class com.trevlar.menukit.core.VirtualSlotGroup
 
getId() - Method in class com.trevlar.menukit.screen.MKCMenu
This menu's registry id (also the open-payload key).
getItem() - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
getItem() - Method in class com.trevlar.menukit.core.MKCSlot
Returns the item in this slot, or ItemStack.EMPTY when the panel is inert.
getItem(int) - Method in class com.trevlar.menukit.core.StorageContainerAdapter
 
getKey() - Method in class com.trevlar.menukit.hud.MKHudNotification
The unique key this notification was registered under.
getLocalIndex() - Method in class com.trevlar.menukit.core.MKCSlot
Index within the group (0-based).
getMaxStackSize() - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
getMaxStackSize() - Method in class com.trevlar.menukit.core.StorageContainerAdapter
 
getMaxStackSize(ItemStack) - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
getMaxStackSize(ItemStack) - Method in class com.trevlar.menukit.core.MKCSlot
Max stack size for this slot, given a specific item.
getOrigin(ScreenBounds, AbstractContainerScreen) - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Returns the panel's screen-space origin (top-left corner of the background rectangle) for the given screen bounds, or empty when the panel is invisible or out-of-region.
getOrigin(SlotGroupBounds, SlotGroupCategory, AbstractContainerScreen) - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Returns the panel's screen-space origin for the given slot-group bounds anchored in category, or empty when the panel is invisible or the region overflows the slot group's extent.
getOriginForScreen(int, int, Screen) - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Returns the panel's screen-space origin given the current screen dimensions, or empty when the panel is hidden / out-of-region.
getOwner() - Method in class com.trevlar.menukit.core.Panel
Returns the owning handler, or null if not yet attached.
getPadding() - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Returns the content padding applied inside the panel.
getPadding() - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
 
getPadding() - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
 
getPairedWith() - Method in class com.trevlar.menukit.core.SlotGroup
Returns the list of directional pairing targets.
getPanel() - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Returns the panel this adapter wraps.
getPanel() - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
 
getPanel() - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
 
getPanel(String) - Method in class com.trevlar.menukit.screen.MKCScreenHandler
Returns the panel with the given ID, or null.
getPanelButtonId(String) - Method in class com.trevlar.menukit.screen.MKCScreenHandler
Returns the button ID for toggling a panel by name.
getPanelId() - Method in class com.trevlar.menukit.core.MKCSlot
Panel this slot belongs to.
getPanels() - Method in class com.trevlar.menukit.screen.MKCScreenHandler
Returns the ordered list of panels (immutable).
getPanels() - Method in class com.trevlar.menukit.screen.MKScreen
Returns the ordered list of panels (immutable).
getPinnedHeight() - Method in class com.trevlar.menukit.core.Panel
Returns the pinned height set via Panel.size(int,int) or Panel.pinnedHeight(int), or -1 if no pinned height is declared.
getPinnedWidth() - Method in class com.trevlar.menukit.core.Panel
Returns the pinned width set via Panel.size(int,int) or Panel.pinnedWidth(int), or -1 if no pinned width is declared.
getPosition() - Method in class com.trevlar.menukit.core.Panel
Returns how this panel is positioned in the layout.
getRawElements() - Method in class com.trevlar.menukit.core.Panel
Returns the raw original elements declared at construction, regardless of auto-scroll wrapping.
getRegion() - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
 
getRightClickHandler() - Method in class com.trevlar.menukit.core.SlotGroup
Returns the right-click handler for this group, or null.
getRowGapAfter() - Method in class com.trevlar.menukit.core.SlotGroup
0-indexed row after which to insert a visual gap, or -1 for none.
getRowGapSize() - Method in class com.trevlar.menukit.core.SlotGroup
Gap size in pixels (only meaningful if rowGapAfter >= 0).
getSelected() - Method in class com.trevlar.menukit.core.RadioGroup
Returns the currently selected value.
getShiftClickPriority() - Method in class com.trevlar.menukit.core.SlotGroup
Returns the numeric shift-click priority (higher = tried first).
getShiftClickPriority() - Method in interface com.trevlar.menukit.core.SlotGroupLike
Returns the numeric shift-click priority (higher = tried first).
getShiftClickPriority() - Method in class com.trevlar.menukit.core.VirtualSlotGroup
 
getSize() - Method in class com.trevlar.menukit.core.ItemDisplay
Returns the render size in pixels (width and height are equal).
getSlots(AbstractContainerMenu) - Method in class com.trevlar.menukit.core.SlotGroup
Returns this group's slots as a list, extracted from the handler's flat slot list.
getSlots(AbstractContainerMenu) - Method in interface com.trevlar.menukit.core.SlotGroupLike
Returns this group's slots.
getSlots(AbstractContainerMenu) - Method in class com.trevlar.menukit.core.VirtualSlotGroup
Returns this group's vanilla slots.
getStack(int) - Method in class com.trevlar.menukit.core.EphemeralStorage
 
getStack(int) - Method in class com.trevlar.menukit.core.ReadOnlyStorage
 
getStack(int) - Method in interface com.trevlar.menukit.core.Storage
Returns the stack at the given local index.
getStack(int) - Method in class com.trevlar.menukit.core.VirtualStorage
 
getStorage() - Method in class com.trevlar.menukit.core.SlotGroup
Returns where items live.
getStorage() - Method in interface com.trevlar.menukit.core.SlotGroupLike
Returns where items live.
getStorage() - Method in class com.trevlar.menukit.core.StorageContainerAdapter
Returns the backing Storage.
getStorage() - Method in class com.trevlar.menukit.core.VirtualSlotGroup
 
getStyle() - Method in class com.trevlar.menukit.core.Button
Returns the current visual style.
getStyle() - Method in class com.trevlar.menukit.core.Panel
Returns the visual style for this panel's background.
getTargets() - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Returns declared targets; null before SlotGroupPanelAdapter.on(SlotGroupCategory...) is called.
getTargets() - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
 
getText() - Method in class com.trevlar.menukit.core.Button
Returns the button's display text.
getToggleKey() - Method in class com.trevlar.menukit.core.Panel
Returns the GLFW key code that toggles this panel's visibility, or -1 for none.
getTooltipSupplier() - Method in class com.trevlar.menukit.core.AbstractPanelElement
Returns the currently-attached tooltip supplier, or null if none.
getTooltipSupplier() - Method in class com.trevlar.menukit.core.Panel
Returns the configured tooltip supplier (nullable), for callers that need to inspect.
getType() - Method in class com.trevlar.menukit.screen.MKCMenu
This menu's registered MenuType.
getValue() - Method in class com.trevlar.menukit.core.Radio
Returns this Radio's value (the identifier passed at construction).
getValue() - Method in class com.trevlar.menukit.core.Slider
Returns the slider's current internal value in [0, 1].
getValue() - Method in class com.trevlar.menukit.core.TextField
Returns the current value of the text field.
getWidth() - Method in class com.trevlar.menukit.core.Button
 
getWidth() - Method in class com.trevlar.menukit.core.Checkbox
 
getWidth() - Method in class com.trevlar.menukit.core.Divider
 
getWidth() - Method in class com.trevlar.menukit.core.Dropdown
 
getWidth() - Method in class com.trevlar.menukit.core.DropdownMulti
 
getWidth() - Method in class com.trevlar.menukit.core.Flow
 
getWidth() - Method in class com.trevlar.menukit.core.Icon
 
getWidth() - Method in class com.trevlar.menukit.core.InfoBox
 
getWidth() - Method in class com.trevlar.menukit.core.ItemDisplay
 
getWidth() - Method in class com.trevlar.menukit.core.Panel
Returns the panel's width for region-stacking math.
getWidth() - Method in interface com.trevlar.menukit.core.PanelElement
Width in pixels.
getWidth() - Method in class com.trevlar.menukit.core.ProgressBar
 
getWidth() - Method in class com.trevlar.menukit.core.Radio
 
getWidth() - Method in class com.trevlar.menukit.core.ScrollContainer
 
getWidth() - Method in class com.trevlar.menukit.core.Slider
 
getWidth() - Method in class com.trevlar.menukit.core.SlotElement
 
getWidth() - Method in class com.trevlar.menukit.core.SlotFlowElement
Hug width: the visible slots laid into at most columns() per row, hugging the content when fewer than a full row are shown.
getWidth() - Method in class com.trevlar.menukit.core.TextField
 
getWidth() - Method in class com.trevlar.menukit.core.TextLabel
 
getWidth() - Method in class com.trevlar.menukit.core.Toggle
 
getWidth() - Method in class com.trevlar.menukit.hud.MKHudIcon
 
getWidth() - Method in class com.trevlar.menukit.hud.MKHudSlot
 
getWrapWidth() - Method in class com.trevlar.menukit.core.TextLabel
Returns the current wrap width.
graphics() - Method in record class com.trevlar.menukit.core.RenderContext
Returns the value of the graphics record component.
GraveModPresence - Class in com.trevlar.menukit.compat
§0052 floor refinement — detects whether any known grave-container mod is installed (a mod that holds a dead player's items in a persistent grave, chest, or bag).
GRINDSTONE_INPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
GRINDSTONE_OUTPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
group() - Method in record class com.trevlar.menukit.core.MKCSlots.RegisteredSlots
Returns the value of the group record component.
group(String) - Method in class com.trevlar.menukit.core.MKCSlots.Builder
Slot-group id within the panel.
group(String, Storage) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a structure-only slot group (default priority 100, auto columns).
group(String, Storage, int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a slot group with explicit priority, auto columns.
group(String, Storage, int, int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a slot group with explicit priority + column count.
group(String, Storage, int, int, int, int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a slot group with full layout control including row gap.
GroupKey - Class in com.trevlar.menukit.window
A bulk-addressing group: a stable id plus a membership predicate over Addresses.
GroupKey(Identifier, Predicate) - Constructor for class com.trevlar.menukit.window.GroupKey
 
groupSlotsByContainerIdentity(AbstractContainerMenu, int, int) - Static method in class com.trevlar.menukit.core.HandlerRecognizerRegistry
Groups a range of slots by Slot.container reference identity.
growDownHeight(int, int, int) - Static method in class com.trevlar.menukit.core.RegionMath
Room for a panel whose top edge is pinned at originY and which grows downward, before the bottom screen-edge margin.
growLeftWidth(int, int) - Static method in class com.trevlar.menukit.core.RegionMath
Room for a panel whose right edge is pinned at rightEdgeX and which grows leftward, before the left screen-edge margin.
growRightWidth(int, int, int) - Static method in class com.trevlar.menukit.core.RegionMath
Room for a panel whose left edge is pinned at originX and which grows rightward, before the right screen-edge margin.
growUpHeight(int, int) - Static method in class com.trevlar.menukit.core.RegionMath
Room for a panel whose bottom edge is pinned at bottomEdgeY and which grows upward, before the top screen-edge margin.
GUI_BRIGHTNESS_INVERTED - Static variable in class com.trevlar.menukit.core.MKRenderPipelines
GUI textured pipeline whose fragment shader inverts the per-pixel HSL lightness (hue + saturation preserved).

H

handled() - Method in record class com.trevlar.menukit.core.MKCSlotInput.Resolution
Returns the value of the handled record component.
handled() - Method in record class com.trevlar.menukit.inject.SlotHoverResult
Returns the value of the handled record component.
HandlerRecognizerRegistry - Class in com.trevlar.menukit.core
Ordered registry of handler recognizers.
HandlerRecognizerRegistry() - Constructor for class com.trevlar.menukit.core.HandlerRecognizerRegistry
 
HandlerRecognizerRegistry.Recognizer - Interface in com.trevlar.menukit.core
A recognizer inspects a handler and returns its slot groups, or null if it doesn't apply to this handler type.
hasActive() - Static method in class com.trevlar.menukit.core.SlotElementRegistry
Whether any panel-hosted slot is currently attached.
hasActiveOverlayAt(double, double) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
Post-Phase 18r-5: complement to ScreenPanelRegistry.anyPanelCoversPoint(double, double) for ELEMENT-LEVEL active overlays — Dropdown popovers and any other element whose getActiveOverlayBounds() extends beyond its owning panel's bounds.
hasAnyVisibleModalTracking() - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
M9 query: is any visible panel with tracksAsModal(true) on the currently-active screen? Same as ScreenPanelRegistry.hasVisibleModalTrackingOnScreen(AbstractContainerScreen) but reads Minecraft.getInstance().gui.screen() for callers without a screen reference (tooltip suppression mixin, cursor-lock callback).
hasBinding(Address) - Method in class com.trevlar.menukit.core.BehaviorBindingTable
Whether address has any server binding (per-slot or via a group).
hasClickedOutside(double, double, int, int) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Expands "inside" detection to include all visible panel bounds.
hashCode() - Method in record class com.trevlar.menukit.core.attachment.PlayerSlotCapture.CapturedSlot
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.Click
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.MainRegionLayout.Result
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.MKCSlotInput.Resolution
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.MKCSlots.RegisteredSlots
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.PanelBounds
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.PanelPosition
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.PanelTreeLayout
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.BlockEntityKey
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.EnderChest
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.EntityKey
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.Modded
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.PlayerInventory
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.RegionAnchor
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.RenderContext
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.SlotGroupCategory
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.SlotIdentity
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.core.SlotStateChannel
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.inject.MenuChrome.ChromeExtents
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.inject.ScreenBounds
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.inject.ScreenOrigin
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.inject.SlotGroupBounds
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.inject.SlotHoverResult
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.inject.SlotScreenRect
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.Address
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.BehaviorKey
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.Decl.Inherit
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.Decl.Set
Returns a hash code value for this object.
hashCode() - Method in class com.trevlar.menukit.window.GroupKey
 
hashCode() - Method in record class com.trevlar.menukit.window.OwnerRef.NestedOwner
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.OwnerRef.RootOwner
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.OwnerScope.Primary
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.OwnerScope.Sub
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.OwnerScope.Tab
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.ReactCause
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.ReactEvent
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.ScreenFamilyKey
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.Token.DeclToken
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.Token.IndexToken
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.Token.RegToken
Returns a hash code value for this object.
hashCode() - Method in record class com.trevlar.menukit.window.VanillaSlotIdentity.Resolved
Returns a hash code value for this object.
hashCode() - Method in class com.trevlar.menukit.window.WindowHandle
 
hasHook() - Static method in class com.trevlar.menukit.inject.SlotScreenDispatcher
Whether a registered-slot hook is present (MenuKit-Containers loaded).
hasItem() - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
hasMain(List) - Static method in class com.trevlar.menukit.core.MainRegionLayout
Whether panels contains a PanelPosition.Mode.MAIN panel — the gate for using this resolver vs the legacy BODY-stack layout.
hasMouseInput() - Method in record class com.trevlar.menukit.core.RenderContext
Returns whether mouse input is present in this render pass.
hasOpaqueRegionAt(Screen, double, double) - Static method in class com.trevlar.menukit.inject.VanillaScreenPanelRegistry
Post-Phase 18r-5: does any registered vanilla-screen adapter's panel claim the cursor point on the given screen — via the unified ScreenPanelRegistry.panelClaimsPoint(Panel, ScreenOrigin, int, double, double) test (opaque background minus holes, active overlay, or solid interactive element)? Used by the widget-hover-suppression mixin so vanilla widgets covered by an MK panel or a dropdown popover stop highlighting on hover.
hasReturnAction() - Method in class com.trevlar.menukit.screen.MKScreen
Whether a return action is set (Back chrome can branch on this).
hasVisibleDimsBehindOnScreen(AbstractContainerScreen) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
M9 query: is any visible panel with dimsBehind(true) on the given screen? Gates the dim-overlay render pass in ScreenPanelRegistry.renderOverlayPanels(AbstractContainerScreen, GuiGraphicsExtractor, int, int).
hasVisibleModalTrackingOnScreen(AbstractContainerScreen) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
M9 query: is any visible panel with tracksAsModal(true) on the current screen? Gates global suppressions (cursor lock, keyboard eating, outside-bounds click eating).
height() - Method in interface com.trevlar.menukit.core.layout.ElementSpec
Height of the element in pixels (panel-local).
height() - Method in record class com.trevlar.menukit.core.PanelBounds
Returns the value of the height record component.
height() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the height record component.
height() - Method in record class com.trevlar.menukit.inject.SlotScreenRect
Returns the value of the height record component.
hidden() - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Marks this panel as hidden initially.
HIDDEN - Static variable in interface com.trevlar.menukit.window.VisibilityRule
Never shown.
hideCount() - Method in class com.trevlar.menukit.hud.MKHudPanel.ItemBuilder
 
hideCount() - Method in class com.trevlar.menukit.hud.MKHudPanel.SlotBuilder
 
hideDurability() - Method in class com.trevlar.menukit.hud.MKHudPanel.ItemBuilder
 
hideDurability() - Method in class com.trevlar.menukit.hud.MKHudPanel.SlotBuilder
 
hideInScreen() - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Panel hides when a screen is open (default).
hideInScreen() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the hideInScreen record component.
hint(Component) - Method in class com.trevlar.menukit.core.TextField.Builder
Optional placeholder text shown when the field is empty AND unfocused.
hitTest(double, double, int, int) - Method in class com.trevlar.menukit.core.Flow
 
hitTest(double, double, int, int) - Method in interface com.trevlar.menukit.core.PanelElement
Phase 14d-5 — interaction-bounds hit test.
HOPPER - Static variable in record class com.trevlar.menukit.window.ReactCause
A hopper moved a stack into or out of the slot.
HOPPER_STORAGE - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
horizontal(int, int, int) - Static method in class com.trevlar.menukit.core.Divider
A horizontal divider with the default color and thickness.
horizontal(int, int, int, int, int) - Static method in class com.trevlar.menukit.core.Divider
A horizontal divider with explicit color and thickness.
horizontalDivider(int, int, int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a horizontal divider with the default color and thickness.
horizontalDivider(int, int, int, int, int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a horizontal divider with explicit color and thickness.
horizontalSpec(int) - Static method in class com.trevlar.menukit.core.Divider
Layout spec for a horizontal divider with default color + thickness.
horizontalSpec(int, int, int) - Static method in class com.trevlar.menukit.core.Divider
Layout spec for a horizontal divider with explicit color + thickness.
hovered() - Static method in class com.trevlar.menukit.window.WindowSignals
The hovered slot's Address, or null if nothing is hovered.
hoveredName() - Static method in class com.trevlar.menukit.window.WindowSignals
The hovered slot's display name (e.g.
Hover-reveal & the sided-visibility subtlety - Section in class com.trevlar.menukit.core.MKCSlots
 
Hover-triggered tooltip support - Section in class com.trevlar.menukit.core.Icon
 
How it is wired (library-owned) - Section in class com.trevlar.menukit.core.MKCSlotInput
 
How it works - Section in class com.trevlar.menukit.window.ObservedReactions
 
HudRegion - Enum Class in com.trevlar.menukit.core
Named regions for positioning HUD panels against the game window.

I

icon(int, int, int, int, Supplier) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds an icon element whose sprite is driven by a supplier.
icon(int, int, int, int, Identifier) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds an icon element with a fixed sprite.
icon(int, int, int, Supplier, Consumer) - Static method in class com.trevlar.menukit.core.Button
Creates a square Button whose sprite is driven by a supplier.
icon(int, int, int, Identifier, Consumer) - Static method in class com.trevlar.menukit.core.Button
Creates a square Button that renders a centered sprite instead of a text label.
icon(int, int, Identifier, int, int) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds a sprite icon.
Icon - Class in com.trevlar.menukit.core
A sprite rendered at a fixed position and explicit size.
Icon(int, int, int, int, Supplier) - Constructor for class com.trevlar.menukit.core.Icon
Creates an Icon whose sprite is driven by a supplier.
Icon(int, int, int, int, Identifier) - Constructor for class com.trevlar.menukit.core.Icon
Creates an Icon with a fixed sprite.
id() - Method in interface com.trevlar.menukit.core.attachment.CustomAttachmentSpec
Identifier for this spec — useful for debug logging and for distinguishing specs that share an owner type.
id() - Method in record class com.trevlar.menukit.core.SlotStateChannel
Returns the value of the id record component.
id() - Method in record class com.trevlar.menukit.window.BehaviorKey
Returns the value of the id record component.
id() - Method in class com.trevlar.menukit.window.GroupKey
 
id() - Method in record class com.trevlar.menukit.window.ReactCause
Returns the value of the id record component.
id() - Method in record class com.trevlar.menukit.window.ScreenFamilyKey
Returns the value of the id record component.
id(String) - Method in class com.trevlar.menukit.core.dialog.AlertDialog.Builder
Override the Panel's id.
id(String) - Method in class com.trevlar.menukit.core.dialog.ConfirmDialog.Builder
Override the Panel's id.
identifierOf(AttachmentType) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
The Identifier a content attachment was registered under, or null if it isn't in the cache.
identify(Container, int) - Method in class com.trevlar.menukit.core.MKCVanillaSlotIdentity
 
identify(Container, int) - Method in interface com.trevlar.menukit.window.VanillaSlotIdentity
The stable, menu-independent identity of the vanilla slot at containerSlotIndex in container, or empty when the container has no stable identity (MK alone, or an unresolvable container such as an ender chest / horse-family bag).
Identity - Section in class com.trevlar.menukit.window.GroupKey
 
Identity contract - Section in record class com.trevlar.menukit.window.Address
 
Identity stability guarantees - Section in record class com.trevlar.menukit.core.SlotIdentity
 
imageHeight() - Method in record class com.trevlar.menukit.inject.ScreenBounds
Returns the value of the imageHeight record component.
imageHeight() - Method in record class com.trevlar.menukit.inject.SlotGroupBounds
Returns the value of the imageHeight record component.
imageWidth() - Method in record class com.trevlar.menukit.inject.ScreenBounds
Returns the value of the imageWidth record component.
imageWidth() - Method in record class com.trevlar.menukit.inject.SlotGroupBounds
Returns the value of the imageWidth record component.
imports() - Method in enum class com.trevlar.menukit.core.QuickMoveParticipation
Returns true if items can be shift-clicked into this group.
IMPORTS - Enum constant in enum class com.trevlar.menukit.core.QuickMoveParticipation
Items can be shift-clicked INTO this group, but not out of it.
index() - Method in record class com.trevlar.menukit.core.attachment.PlayerSlotCapture.CapturedSlot
Returns the value of the index record component.
index() - Method in record class com.trevlar.menukit.window.Token.IndexToken
Returns the value of the index record component.
index(int) - Static method in interface com.trevlar.menukit.window.Token
 
IndexToken(int) - Constructor for record class com.trevlar.menukit.window.Token.IndexToken
Creates an instance of a IndexToken record class.
INDICATOR_COLOR - Static variable in class com.trevlar.menukit.core.Radio
Color of the selection indicator (visible against INSET dark interior).
INDICATOR_SIZE - Static variable in class com.trevlar.menukit.core.Radio
Size of the selection indicator inside the radio box.
Indices, not raw slots — the address-only line holds here too - Section in interface com.trevlar.menukit.inject.SlotGroupResolver
 
inertness(TriBool) - Method in class com.trevlar.menukit.window.PanelHandle
Whether the panel makes what it covers inert.
INERTNESS - Static variable in class com.trevlar.menukit.window.BehaviorKeys
Whether a panel makes what it covers inert.
infoBox(int, int, Component) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a standalone InfoBox element — a persistent info box rendered at the declared position with a RAISED panel background.
InfoBox - Class in com.trevlar.menukit.core
A persistent info box rendered at a declared panel position.
InfoBox(int, int, Supplier) - Constructor for class com.trevlar.menukit.core.InfoBox
Creates an InfoBox whose text is driven by a supplier.
InfoBox(int, int, Component) - Constructor for class com.trevlar.menukit.core.InfoBox
Creates an InfoBox with fixed text.
inherit() - Static method in interface com.trevlar.menukit.window.Decl
 
Inherit() - Constructor for record class com.trevlar.menukit.window.Decl.Inherit
Creates an instance of a Inherit record class.
INHERIT - Static variable in interface com.trevlar.menukit.window.Decl
 
init() - Static method in class com.trevlar.menukit.core.MKFocus
Registers the global ScreenEvents.AFTER_INIT listener that wires ScreenMouseEvents.afterMouseClick on every opened screen for outside-bounds focus janitor.
init() - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
Registers the library-owned ScreenEvents.AFTER_INIT listener.
init() - Static method in class com.trevlar.menukit.inject.SlotGroupPanelRegistry
Registers the library-owned ScreenEvents.AFTER_INIT listener.
init() - Static method in class com.trevlar.menukit.MK
Common-side initialization for the MenuKit artifact.
init() - Static method in class com.trevlar.menukit.MKC
Common-side initialization.
init() - Method in class com.trevlar.menukit.screen.MKCHandledScreen
 
init() - Method in class com.trevlar.menukit.screen.MKScreen
 
initClient() - Static method in class com.trevlar.menukit.MK
Client-side initialization for the MenuKit artifact.
initClient() - Static method in class com.trevlar.menukit.MKC
Client-side initialization.
initialValue(String) - Method in class com.trevlar.menukit.core.TextField.Builder
Optional initial value.
Inline behavior verbs are sugar over the by-address engine path - Section in class com.trevlar.menukit.core.SlotSpec
 
Input contract - Section in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
 
Input contract - Section in class com.trevlar.menukit.inject.VanillaScreenPanelRegistry
 
INSET - Enum constant in enum class com.trevlar.menukit.core.PanelStyle
Inset — dark top/left, light bottom/right.
install(ClientSlotAddressing.SlotAddressFn) - Static method in class com.trevlar.menukit.window.ClientSlotAddressing
MKC installs its kind-aware SlotAddresses.of here at client init.
install(ServerTierBridge, AuthoritativeDeclarations) - Static method in class com.trevlar.menukit.window.ServerTier
MKC installs its server-tier implementation here at init.
installDispatch(ReactiveDispatch) - Static method in class com.trevlar.menukit.window.ServerTier
MKC installs its server-thread reactive firing here (additive).
installIdentity(VanillaSlotIdentity) - Static method in class com.trevlar.menukit.window.ServerTier
MKC installs its §0050-backed vanilla-slot identity here (additive).
INSTANCE - Static variable in class com.trevlar.menukit.core.BehaviorBindingTable
 
INSTANCE - Static variable in class com.trevlar.menukit.core.CreatedSlotAdapter
Singleton — the adapter is stateless (cache + encoding are static).
INSTANCE - Static variable in class com.trevlar.menukit.core.MKCVanillaSlotIdentity
 
INSTANCE - Static variable in class com.trevlar.menukit.core.ReactiveDispatchImpl
 
INTERIOR_PADDING - Static variable in class com.trevlar.menukit.core.Panel
 
interiorPadding() - Method in class com.trevlar.menukit.core.Panel
Returns the content padding the panel needs between its outer (background) bounds and the element-render origin, in pixels.
In-track label — `.label(DoubleFunction<Component>)` - Section in class com.trevlar.menukit.core.Slider
 
isActive() - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
isActive() - Method in class com.trevlar.menukit.core.MKCSlot
Returns whether this slot is active (visible and interactable).
isChecked() - Method in class com.trevlar.menukit.core.Checkbox
Returns the current checked state.
isContainerAddressed(Address) - Static method in class com.trevlar.menukit.window.VanillaAddressing
Whether address is a container-identified (menu-independent) vanilla address.
isCreated(Slot) - Method in class com.trevlar.menukit.core.MKCSlotScreenHook
 
isCreated(Slot) - Method in interface com.trevlar.menukit.inject.SlotScreenHook
Whether slot is a created (registered) slot.
isCursorCovered(double, double) - Static method in class com.trevlar.menukit.core.MKFocus
Post-Phase 18r-5: is the cursor currently covered by any visible MK content on the active screen? A point is covered when some panel claims it via the unified ScreenPanelRegistry.panelClaimsPoint(Panel, ScreenOrigin, int, double, double) test — an opaque background (minus per-element holes), an active overlay (e.g., an open Dropdown popover extending beyond its owning panel), or a solid interactive element.
isCursorCoveredAtCursor() - Static method in class com.trevlar.menukit.core.MKFocus
No-arg variant of MKFocus.isCursorCovered(double, double) for callers without mouse coords as parameters (e.g., the tooltip-suppression mixin which fires inside GuiGraphicsExtractor.setTooltipForNextFrame).
isDisabled() - Method in class com.trevlar.menukit.core.Button
Returns whether the button is currently disabled.
isDisabled() - Method in class com.trevlar.menukit.core.Checkbox
Returns whether the checkbox is currently disabled.
isDisabled() - Method in class com.trevlar.menukit.core.Dropdown
Returns whether the dropdown is currently disabled (Phase 3b — Item 8).
isDisabled() - Method in class com.trevlar.menukit.core.DropdownMulti
Returns whether the dropdown is currently disabled (Phase 3b — Item 8).
isDisabled() - Method in class com.trevlar.menukit.core.Radio
Returns whether this Radio is currently disabled.
isDisabled() - Method in class com.trevlar.menukit.core.ScrollContainer
Returns whether the container is currently disabled (Phase 3b — Item 8).
isDisabled() - Method in class com.trevlar.menukit.core.Slider
Returns whether the slider is currently disabled (Phase 3b — Item 8).
isDisabled() - Method in class com.trevlar.menukit.core.Toggle
Returns whether the toggle is currently disabled.
isElementOpaque() - Method in class com.trevlar.menukit.core.AbstractPanelElement
 
isElementOpaque() - Method in interface com.trevlar.menukit.core.PanelElement
Returns whether this element is interaction-opaque (M9 per-element opacity).
isElementOpaque() - Method in class com.trevlar.menukit.core.SlotElement
A slot is a click-through hole (see class javadoc): vanilla's slot-click machinery owns the interaction, so the panel must let the click pass rather than eat it.
isElementOpaque() - Method in class com.trevlar.menukit.core.SlotFlowElement
A slot is a click-through hole owned by vanilla's slot machinery (see SlotElement); the flow that hosts them is too, so clicks reach the slots vanilla resolves under the cursor rather than being eaten here.
isEmpty() - Method in class com.trevlar.menukit.core.BehaviorBindingTable
Whether the table holds any binding at all.
isEmpty() - Static method in class com.trevlar.menukit.core.ParitySlotRegistry
Whether any parity recipe is registered (lets the build seams short-circuit).
isEmpty() - Method in class com.trevlar.menukit.core.StorageContainerAdapter
 
isFocused() - Method in class com.trevlar.menukit.core.Slider
Returns whether the wrapped slider is currently focused.
isFocused() - Method in class com.trevlar.menukit.core.TextField
Returns whether the wrapped EditBox is currently focused.
isHorizontalFlow() - Method in enum class com.trevlar.menukit.core.MenuRegion
Returns true if panels in this region stack along the X axis.
isHorizontalFlow() - Method in enum class com.trevlar.menukit.core.SlotGroupRegion
Returns true if panels in this region stack along the X axis — matches MenuRegion.isHorizontalFlow() semantics.
isHovered() - Method in class com.trevlar.menukit.core.Button
Returns whether the mouse is currently over this button (updated each frame).
isHovered() - Method in class com.trevlar.menukit.core.Checkbox
Returns whether the mouse is currently over this element (updated each frame).
isHovered() - Method in class com.trevlar.menukit.core.Icon
Returns whether the mouse is currently over this Icon (updated each frame).
isHovered() - Method in class com.trevlar.menukit.core.Radio
Returns whether the mouse is over this Radio (updated each frame).
isHovered() - Method in class com.trevlar.menukit.core.Toggle
Returns whether the mouse is currently over this toggle (updated each frame).
isHovered(int, int, int, int) - Method in record class com.trevlar.menukit.core.RenderContext
Tests whether the mouse is over a bounded region within this context's content origin.
isHovered(RenderContext) - Method in interface com.trevlar.menukit.core.PanelElement
Returns whether the mouse is currently over this element, using the element's own bounds.
isHovered(Address) - Static method in class com.trevlar.menukit.window.WindowSignals
Whether address is the currently-hovered slot.
isInert() - Method in class com.trevlar.menukit.core.MKCSlot
Returns true when this slot's panel is hidden.
isInertUnderPanel(double, double) - Static method in class com.trevlar.menukit.core.MKFocus
THE unified inertness predicate — the single source of truth every suppression site consults so they cannot disagree about whether vanilla content at a screen point is covered by MenuKit content.
isInertUnderPanelAtCursor() - Static method in class com.trevlar.menukit.core.MKFocus
No-coord variant of MKFocus.isInertUnderPanel(double, double) — reads the cursor position from MouseHandler (for suppressors that fire without coords, e.g.
isInteractive() - Method in class com.trevlar.menukit.core.Button
Interactive — handles clicks, so it claims (blocks vanilla behind) on a non-opaque panel.
isInteractive() - Method in class com.trevlar.menukit.core.Checkbox
Interactive — handles clicks, so it claims (blocks vanilla behind) on a non-opaque panel.
isInteractive() - Method in class com.trevlar.menukit.core.Dropdown
Interactive — handles clicks/keyboard nav, so it claims (blocks vanilla behind) on a non-opaque panel.
isInteractive() - Method in class com.trevlar.menukit.core.DropdownMulti
Interactive — handles clicks/keyboard nav, so it claims (blocks vanilla behind) on a non-opaque panel.
isInteractive() - Method in class com.trevlar.menukit.core.Flow
Interactive iff any child is — so the flow claims clicks (blocks vanilla behind it on a non-opaque panel) only where a child would.
isInteractive() - Method in interface com.trevlar.menukit.core.PanelElement
Returns whether this element actually handles pointer input — i.e.
isInteractive() - Method in class com.trevlar.menukit.core.Radio
Interactive — handles clicks, so it claims (blocks vanilla behind) on a non-opaque panel.
isInteractive() - Method in class com.trevlar.menukit.core.ScrollContainer
Interactive — handles scroll/scrollbar-drag, so it claims (blocks vanilla behind) on a non-opaque panel.
isInteractive() - Method in class com.trevlar.menukit.core.Slider
Interactive — handles click/drag, so it claims (blocks vanilla behind) on a non-opaque panel.
isInteractive() - Method in class com.trevlar.menukit.core.TextField
Interactive — handles click-to-focus/typing, so it claims (blocks vanilla behind) on a non-opaque panel.
isInteractive() - Method in class com.trevlar.menukit.core.Toggle
Interactive — handles clicks, so it claims (blocks vanilla behind) on a non-opaque panel.
isLeft() - Method in record class com.trevlar.menukit.core.Click
 
isManaged(Screen, GuiEventListener) - Static method in class com.trevlar.menukit.core.MKFocus
Tests whether a widget is MK-managed on the given screen.
isMiddle() - Method in record class com.trevlar.menukit.core.Click
 
isOn() - Method in class com.trevlar.menukit.core.Toggle
Returns the current toggle state.
isOpaque() - Method in class com.trevlar.menukit.core.Panel
Returns whether this panel is interaction-opaque.
isOverlayPositioned() - Method in class com.trevlar.menukit.core.Panel
Whether this panel is positioned as a screen-centered overlay rather than flowing in the body stack.
isPressed() - Method in class com.trevlar.menukit.core.Button
Returns whether a left-click is currently held down on this button.
isPressedAndCheckRelease(Object) - Static method in class com.trevlar.menukit.core.MKPressedTracker
Returns true if the widget is currently in the pressed-state map AND the left mouse button is still held (per GLFW poll).
isRecipeBookOpen() - Static method in class com.trevlar.menukit.MK
Returns whether the recipe book is currently visible on the active screen.
isRecipeBookOpen() - Static method in class com.trevlar.menukit.MKClient
Returns whether the recipe book is currently visible on the active screen.
isRight() - Method in record class com.trevlar.menukit.core.Click
 
isSecondary() - Method in record class com.trevlar.menukit.core.Click
Any button other than left.
isSelected() - Method in class com.trevlar.menukit.core.Radio
Returns whether this Radio is currently the group's selected value.
isSelected(Address) - Static method in class com.trevlar.menukit.window.WindowSignals
Whether address is the last-selected slot.
isShiftRight() - Method in record class com.trevlar.menukit.core.Click
Right-click with shift held — the "pin this mode" gesture IP asked for.
isSlotStateCapable(ServerPlayer) - Static method in class com.trevlar.menukit.core.MKSlotState
Reports whether player's client can receive slot-state sync — i.e.
isTargetedAny() - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
 
isTargetingDeclared() - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
True if .on(...), .onAny(), or .onMatching(...) has been called.
isTargetingDeclared() - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
 
isTargetingDeclared() - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
 
isVisible() - Method in class com.trevlar.menukit.core.AbstractPanelElement
Returns whether this element is currently visible.
isVisible() - Method in class com.trevlar.menukit.core.Panel
Returns whether this panel is currently visible.
isVisible() - Method in interface com.trevlar.menukit.core.PanelElement
Returns whether this element is currently visible.
isVisible() - Method in class com.trevlar.menukit.core.SlotElement
Hidden when the slot can't be resolved on this screen, or its panel is hidden.
isVisible() - Method in class com.trevlar.menukit.core.SlotFlowElement
Visible only while at least one child slot is visible — so the owning panel reserves no space (and draws no frame) when every group is hidden.
item(int, int) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds an item icon and returns an ItemBuilder for customization.
item(int, int, Supplier) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds an item icon at native 16×16 size.
item(Supplier) - Method in class com.trevlar.menukit.hud.MKHudPanel.ItemBuilder
 
item(Supplier) - Method in class com.trevlar.menukit.hud.MKHudPanel.SlotBuilder
 
ITEM_INSET - Static variable in class com.trevlar.menukit.core.SlotRendering
Inset between slot edge and item area — where vanilla's Slot.x/y sits.
itemContainer(int) - Static method in class com.trevlar.menukit.core.StorageAttachment
Persists slot-group content on an ItemStack via vanilla's DataComponents.CONTAINER component (ItemContainerContents).
itemDisplay(int, int, int, Supplier, boolean, boolean) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds an item display with a supplier-driven stack, explicit size, explicit overlays.
itemDisplay(int, int, int, ItemStack, boolean, boolean) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds an item display with a fixed stack, explicit size, explicit overlays.
itemDisplay(int, int, Supplier) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds an item display with a supplier-driven stack, default size, overlays on.
itemDisplay(int, int, ItemStack) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds an item display with a fixed stack, default 16×16 size, overlays on.
ItemDisplay - Class in com.trevlar.menukit.core
An item icon rendered at a fixed position with optional count overlay and durability bar.
ItemDisplay(int, int, int, Supplier, boolean, boolean) - Constructor for class com.trevlar.menukit.core.ItemDisplay
Creates an ItemDisplay with a supplier-driven stack, explicit size, and explicit overlay visibility.
ItemDisplay(int, int, int, ItemStack, boolean, boolean) - Constructor for class com.trevlar.menukit.core.ItemDisplay
Creates an ItemDisplay with a fixed stack, explicit size, and explicit overlay visibility.
ItemDisplay(int, int, Supplier) - Constructor for class com.trevlar.menukit.core.ItemDisplay
Creates an ItemDisplay with a supplier-driven stack at the default 16×16 size, showing both count and durability overlays.
ItemDisplay(int, int, ItemStack) - Constructor for class com.trevlar.menukit.core.ItemDisplay
Creates an ItemDisplay with a fixed stack at the default 16×16 size, showing both count and durability overlays.
items(List) - Method in class com.trevlar.menukit.core.Dropdown.Builder
Required: the items to display in the popover.
items(List) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Required: the items to display in the popover.
itemTooltip(Function) - Method in class com.trevlar.menukit.core.Dropdown.Builder
Optional: per-item tooltip function.
itemTooltip(Function) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Optional: per-item tooltip — mirrors Dropdown.Builder.itemTooltip(Function).

K

KEEP - Enum constant in enum class com.trevlar.menukit.core.DropRule
 
KeyedStorage - Interface in com.trevlar.menukit.core
A Storage that knows its own persistent identity.
KeyedStorages - Class in com.trevlar.menukit.core
Factories for KeyedStorage — a Storage that declares its own PersistentContainerKey so M1 per-slot metadata persists for registered slots (§0045).
keyPressed(int, int, int) - Method in class com.trevlar.menukit.core.Dropdown
Keyboard navigation — the keyboard counterpart to Dropdown.mouseClicked(double, double, int), completing the dropdown's input model.
keyPressed(int, int, int) - Method in class com.trevlar.menukit.core.DropdownMulti
Keyboard navigation over the regular-item region — the keyboard counterpart to DropdownMulti.mouseClicked(double, double, int), completing the input model and mirroring Dropdown.
keyPressed(int, int, int) - Method in class com.trevlar.menukit.core.Flow
 
keyPressed(int, int, int) - Method in interface com.trevlar.menukit.core.PanelElement
Keyboard input dispatch — completes the element input model alongside PanelElement.mouseClicked(double, double, int) / PanelElement.mouseScrolled(double, double, double, double).
keyPressed(int, int, int) - Method in class com.trevlar.menukit.core.ScrollContainer
 
keyPressed(int, int, int) - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Dispatches a key press to this adapter's visible elements (keyboard-nav completion — the keyboard parallel to ScreenPanelAdapter.mouseClicked(ScreenBounds, double, double, int, AbstractContainerScreen)).
keyPressed(int, int, int) - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Dispatches a key press to this adapter's visible elements (keyboard-nav completion — keyboard parallel to VanillaScreenPanelAdapter.mouseClicked(int, int, double, double, int, Screen)).
keyPressed(KeyEvent) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Key dispatch — checks the registry first, then falls through to vanilla's keybind handling.
keyPressed(KeyEvent) - Method in class com.trevlar.menukit.screen.MKScreen
 
kind() - Method in record class com.trevlar.menukit.window.Address
Returns the value of the kind record component.
Kind-aware addressing - Section in class com.trevlar.menukit.window.ObservedReactions
 
KindTag - Enum Class in com.trevlar.menukit.window
What KIND of addressable thing an Address names — the one place THE ONE WINDOW distinguishes a slot from an element from a panel.
Known limitation - Section in class com.trevlar.menukit.core.MKCSlots
 

L

label(String) - Method in class com.trevlar.menukit.core.MKCSlots.Builder
Display label for these slots' names (a window-display concern, §0042 MK-side).
label(String) - Method in class com.trevlar.menukit.core.SlotSpec
MK display name for the group's slots, applied through the naming layer like MKCSlots.Builder.label(String): each slot is named "{label} {n}" (1-based) for a multi-slot group, or just "{label}" for a single slot.
label(Supplier) - Method in class com.trevlar.menukit.core.Toggle
Supplier-driven label (re-evaluated each frame for dynamic text).
label(DoubleFunction) - Method in class com.trevlar.menukit.core.Slider.Builder
Optional in-track label function — called on every value change to compute the displayed text rendered inside the slider track.
label(Function) - Method in class com.trevlar.menukit.core.Dropdown.Builder
Required: function to produce the displayed text for an item.
label(Function) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Required: per-row label function.
label(Supplier) - Method in class com.trevlar.menukit.hud.MKHudPanel.BarBuilder
 
label(Component) - Method in class com.trevlar.menukit.core.Toggle
Sets an on-body label: the Toggle becomes a bar that shows this label (raised = off, inset = on), auto-sized to fit it, the whole bar hovering + toggling as one — the label is the toggle's own, not text beside it.
label(Component) - Method in class com.trevlar.menukit.core.TextField.Builder
Narration label (passed through to EditBox constructor).
LABEL_COLOR - Static variable in class com.trevlar.menukit.core.Toggle
On-body label color — readable on the RAISED/INSET bar (matches Button text).
LABEL_DISABLED_COLOR - Static variable in class com.trevlar.menukit.core.Toggle
Muted on-body label color when disabled.
LABEL_GAP - Static variable in class com.trevlar.menukit.core.Checkbox
Horizontal gap between the checkbox square and the label text.
LABEL_GAP - Static variable in class com.trevlar.menukit.core.Radio
Gap between the radio square and the label.
LABEL_PAD - Static variable in class com.trevlar.menukit.core.Toggle
Horizontal inset for an on-body label inside the toggle bar.
LABEL_VPAD - Static variable in class com.trevlar.menukit.core.Toggle
Vertical inset (top == bottom) for a WRAPPED multi-line on-body label — the breathing room above the first line and below the last so the wrapped text doesn't kiss the bar's RAISED/INSET border.
Label positioning - Section in class com.trevlar.menukit.core.ProgressBar
 
layout(int, int, int) - Method in class com.trevlar.menukit.core.MKCSlots.Builder
Slot layout: screen-relative origin (added to the screen's leftPos/topPos at render time) and column count.
layoutOriginX() - Method in record class com.trevlar.menukit.core.PanelTreeLayout
Returns the value of the layoutOriginX record component.
layoutOriginY() - Method in record class com.trevlar.menukit.core.PanelTreeLayout
Returns the value of the layoutOriginY record component.
layoutWithin(int) - Method in class com.trevlar.menukit.core.Button
Resolve to the panel-assigned budget: shrink the box to min(natural, budget) so the button never bleeds past the panel, THEN wrap the label across multiple lines when the narrowed box is too small for the label on one line.
layoutWithin(int) - Method in class com.trevlar.menukit.core.Checkbox
Wrap the LABEL to the panel-assigned budget.
layoutWithin(int) - Method in class com.trevlar.menukit.core.Divider
Cap a HORIZONTAL divider to the panel's budget so it never bleeds past the edge; reversible.
layoutWithin(int) - Method in class com.trevlar.menukit.core.Dropdown
Cap the trigger to the panel's budget so it never bleeds; reversible.
layoutWithin(int) - Method in class com.trevlar.menukit.core.DropdownMulti
Cap the trigger to the panel's budget so it never bleeds; reversible.
layoutWithin(int) - Method in class com.trevlar.menukit.core.Flow
Stores the panel's content-width budget as the wrap ceiling.
layoutWithin(int) - Method in class com.trevlar.menukit.core.InfoBox
Wrap the box's text to the panel budget, growing the box taller, when the natural one-line box wouldn't fit; otherwise stay single-line.
layoutWithin(int) - Method in interface com.trevlar.menukit.core.PanelElement
Width flows DOWN: the owning Panel calls this every layout pass with the horizontal pixel budget available to this element (the panel's resolved content width minus this element's childX).
layoutWithin(int) - Method in class com.trevlar.menukit.core.ProgressBar
Cap the bar to the panel's budget so it never bleeds; reversible.
layoutWithin(int) - Method in class com.trevlar.menukit.core.Radio
Wrap the label to the panel-assigned budget.
layoutWithin(int) - Method in class com.trevlar.menukit.core.Slider
Cap the track to the panel's budget so it never bleeds; reversible.
layoutWithin(int) - Method in class com.trevlar.menukit.core.SlotFlowElement
The panel hands this the content-width budget; we store it as the wrap ceiling.
layoutWithin(int) - Method in class com.trevlar.menukit.core.TextField
Cap the field to the panel's budget so it never bleeds; reversible.
layoutWithin(int) - Method in class com.trevlar.menukit.core.TextLabel
Wrap to the panel-assigned budget.
layoutWithin(int) - Method in class com.trevlar.menukit.core.Toggle
Cap the labeled BAR to the panel's budget (reversible); a bare/sprite switch is intrinsic and ignores it, mirroring its fillWidth no-op.
left() - Method in record class com.trevlar.menukit.inject.MenuChrome.ChromeExtents
Returns the value of the left record component.
LEFT - Enum constant in enum class com.trevlar.menukit.hud.MKHudNotification.SlideDirection
 
LEFT - Static variable in record class com.trevlar.menukit.core.Click
 
LEFT_ALIGN_BOTTOM - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
 
LEFT_ALIGN_BOTTOM - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
 
LEFT_ALIGN_TOP - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
 
LEFT_ALIGN_TOP - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
 
LEFT_CENTER - Enum constant in enum class com.trevlar.menukit.core.HudRegion
 
LEFT_CENTER - Enum constant in enum class com.trevlar.menukit.core.ScreenRegion
 
LEFT_TO_RIGHT - Enum constant in enum class com.trevlar.menukit.core.ProgressBar.Direction
 
leftPos() - Method in record class com.trevlar.menukit.core.MainRegionLayout.Result
Returns the value of the leftPos record component.
leftPos() - Method in record class com.trevlar.menukit.inject.ScreenBounds
Returns the value of the leftPos record component.
leftPos() - Method in record class com.trevlar.menukit.inject.SlotGroupBounds
Returns the value of the leftPos record component.
Lens pattern (Principle 8) - Section in class com.trevlar.menukit.core.TextField
 
Lens pattern (Principle 8) — Supplier+Consumer - Section in class com.trevlar.menukit.core.Slider
 
Lens pattern (Principle 8) — Supplier+Consumer over T - Section in class com.trevlar.menukit.core.Dropdown
 
Lens pattern — Supplier<Set<T>> + toggle Consumer<T> - Section in class com.trevlar.menukit.core.DropdownMulti
 
libraryDefault() - Method in record class com.trevlar.menukit.window.BehaviorKey
Returns the value of the libraryDefault record component.
Library-not-platform alignment (§0019) - Section in class com.trevlar.menukit.input.CursorContinuity
 
Library-not-platform alignment (§0019) - Section in record class com.trevlar.menukit.core.RegionAnchor
 
Lifecycle - Section in class com.trevlar.menukit.core.MKFocus
 
Lifecycle - Section in class com.trevlar.menukit.core.Slider
 
Lifecycle - Section in class com.trevlar.menukit.core.SlotElementRegistry
 
Lifecycle - Section in class com.trevlar.menukit.core.TextField
 
Lifecycle - Section in class com.trevlar.menukit.inject.VanillaScreenPanelRegistry
 
Lifecycle parallels ScreenPanelAdapter - Section in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
 
Lifecycle semantics - Section in class com.trevlar.menukit.input.CursorContinuity
 
Lifecycle with the mixin - Section in class com.trevlar.menukit.inject.ScreenPanelAdapter
 
linked(int, int, int, int, BooleanSupplier, Consumer) - Static method in class com.trevlar.menukit.core.Toggle
Creates a Toggle whose state lives in consumer code instead of inside the element.
LIST_CODEC - Static variable in record class com.trevlar.menukit.core.attachment.PlayerSlotCapture.CapturedSlot
Codec for a whole capture — what an NBT-backed grave stores.
listToContents(NonNullList) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Converts a NonNullList to an ItemContainerContents.
Load-order independence (the init-time declaration footgun) - Section in class com.trevlar.menukit.window.ServerTier
 
localIndex() - Method in record class com.trevlar.menukit.window.VanillaSlotIdentity.Resolved
Returns the value of the localIndex record component.
Located, not held — the menu-attach lifecycle - Section in class com.trevlar.menukit.core.SlotElement
 
LOGGER - Static variable in class com.trevlar.menukit.MK
MenuKit's own logger — independent of any consuming mod's logger.
LOGGER - Static variable in class com.trevlar.menukit.MKC
Logger for the MenuKit: Containers artifact — distinct from MenuKit's own logger so init traces are distinguishable in the log output.
LOOM_BANNER - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
LOOM_DYE - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
LOOM_OUTPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
LOOM_PATTERN - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 

M

main() - Static method in record class com.trevlar.menukit.core.PanelPosition
The screen's main panel = its frame (Movement ③).
main() - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Marks this panel as the screen's MAIN panel — its frame (Movement ③).
MAIN - Enum constant in enum class com.trevlar.menukit.core.PanelPosition.Mode
The screen's frame (Movement ③) — centred on the screen window, the anchor every PanelPosition.Mode.REGION sibling resolves against.
mainH() - Method in record class com.trevlar.menukit.core.MainRegionLayout.Result
Returns the value of the mainH record component.
MainRegionLayout - Class in com.trevlar.menukit.core
Movement ③ — the custom-screen layout resolver.
MainRegionLayout.Result - Record Class in com.trevlar.menukit.core
 
mainW() - Method in record class com.trevlar.menukit.core.MainRegionLayout.Result
Returns the value of the mainW record component.
markDirty() - Method in class com.trevlar.menukit.core.EphemeralStorage
 
markDirty() - Method in class com.trevlar.menukit.core.ReadOnlyStorage
Delegates to the backing container's setChanged().
markDirty() - Method in interface com.trevlar.menukit.core.Storage
Marks this storage as dirty (contents changed).
markDirty() - Method in class com.trevlar.menukit.core.VirtualStorage
 
markDirty(O) - Method in interface com.trevlar.menukit.core.attachment.CustomAttachmentSpec
Mark the owner as needing persistence.
markPressed(Object) - Static method in class com.trevlar.menukit.core.MKPressedTracker
Records that a click has been received on the given widget.
markTargetingDeclared(SlotGroupPanelAdapter) - Static method in class com.trevlar.menukit.inject.SlotGroupPanelRegistry
markTargetingDeclared(VanillaScreenPanelAdapter) - Static method in class com.trevlar.menukit.inject.VanillaScreenPanelRegistry
Called from VanillaScreenPanelAdapter.on(Class...) / onAny() — adapter moves from PENDING to REGISTERED, ready to dispatch on matching screen opens.
matches(SlotGroupCategory) - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
True iff category is one of this adapter's declared targets.
matches(Class) - Method in class com.trevlar.menukit.inject.ScreenMatcher
Whether this matcher applies to the given opened screen's class.
matches(Class) - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Tests whether this adapter's declared targets match the given opened screen class.
matches(Screen) - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Returns true if this adapter's declared targets match the given screen via class-ancestry (or if .onAny() was called).
maxLength(int) - Method in class com.trevlar.menukit.core.TextField.Builder
Optional max character length.
maxStackAt(Slot, ItemStack, int) - Static method in class com.trevlar.menukit.core.WindowGating
The per-item stack cap for slot (gating), clamped to vanillaMax.
maxStackSize(ItemStack, int) - Method in interface com.trevlar.menukit.core.SlotGate
The per-item stack cap for this slot, given vanilla's own cap.
maxVisibleItems(int) - Method in class com.trevlar.menukit.core.Dropdown.Builder
Optional: cap the number of popover rows visible at once.
maxVisibleItems(int) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Optional: cap visible regular rows.
maybeQueueTooltip(GuiGraphicsExtractor, int, int, int, int, int, int, boolean) - Method in class com.trevlar.menukit.core.Panel
Queues the panel-level tooltip (if configured) when the cursor is over the given outer rect.
mayExtractFrom(Container, int) - Static method in class com.trevlar.menukit.core.WindowGating
Whether automation may extract from a placed-container slot (no player).
mayPickup(Player) - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
mayPickup(Player) - Method in class com.trevlar.menukit.core.MKCSlot
Can items be taken from this slot?
mayPickup(Player, GatingContext) - Method in interface com.trevlar.menukit.core.SlotGate
Whether player may take from the gated slot in this context.
mayPickup(AbstractContainerMenu, Slot, Player) - Static method in class com.trevlar.menukit.core.WindowGating
Whether player may take from slot (gating), in the acting context.
mayPickupAt(Slot, Player) - Static method in class com.trevlar.menukit.core.WindowGating
Whether player may take from slot (gating), by container address.
mayPlace(AbstractContainerMenu, Slot, ItemStack) - Static method in class com.trevlar.menukit.core.WindowGating
Whether stack may be placed into slot (gating), in the acting context.
mayPlace(ItemStack) - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
mayPlace(ItemStack) - Method in class com.trevlar.menukit.core.MKCSlot
Can this stack be placed in this slot?
mayPlace(ItemStack, GatingContext) - Method in interface com.trevlar.menukit.core.SlotGate
Whether stack may be placed into the gated slot in this context.
mayPlaceAt(Slot, ItemStack) - Static method in class com.trevlar.menukit.core.WindowGating
Whether stack may be placed into slot (gating), by container address.
mayPlaceInto(Container, int, ItemStack) - Static method in class com.trevlar.menukit.core.WindowGating
Whether automation may insert stack into a placed-container slot.
mending() - Method in class com.trevlar.menukit.core.SlotSpec
Equivalent to mending(true).
mending(boolean) - Method in class com.trevlar.menukit.core.SlotSpec
Opts every slot in this group into the XP-orb Mending repair pool (§0053) — sugar for set(MKCBehaviorKeys.MENDING, ...).
MENDING - Static variable in class com.trevlar.menukit.core.MKCBehaviorKeys
Whether items in this slot participate in XP-orb Mending — an opted-in slot joins the unified, fairly-weighted repair pool (§0053) when a mending orb is absorbed.
MendingCandidates - Class in com.trevlar.menukit.core
The mending primitive's consumer candidate hook — lets a consumer contribute EXTRA items into MKC's unified XP-repair pool, beyond the registered slots opted in by Address via the engine MKCBehaviorKeys.MENDING key.
MendingCandidates.Candidate - Interface in com.trevlar.menukit.core
One mendable item plus how to persist its repair.
MendingCandidates.Provider - Interface in com.trevlar.menukit.core
Supplies a player's extra mend candidates when an XP orb is collected.
MENU_STACK_GAP - Static variable in class com.trevlar.menukit.core.RegionConstants
Stacking gap (pixels, GUI-scaled) for the menu, slot-group, and HUD contexts.
MenuChrome - Class in com.trevlar.menukit.inject
Library-owned registry of vanilla-menu-chrome extents — the pixel amounts each AbstractContainerScreen subclass draws outside its declared imageWidth × imageHeight frame.
MenuChrome.ChromeExtents - Record Class in com.trevlar.menukit.inject
Per-side chrome extents outside the declared menu frame.
MenuChrome.ChromeProvider - Interface in com.trevlar.menukit.inject
Computes chrome extents for a live screen instance.
Menu-independent vs menu-bound - Section in class com.trevlar.menukit.window.Window
 
menuRegion() - Method in record class com.trevlar.menukit.core.PanelPosition
Returns the value of the menuRegion record component.
MenuRegion - Enum Class in com.trevlar.menukit.core
Named regions for positioning decoration panels inside vanilla menu screens.
MERCHANT_PAYMENT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
MERCHANT_RESULT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
MIDDLE - Static variable in record class com.trevlar.menukit.core.Click
 
MK - Class in com.trevlar.menukit
Mod entry point for MenuKit and the process-wide facade for HUD panels, notifications, and the recipe-book query.
MK - Enum constant in enum class com.trevlar.menukit.core.ControlStyle
 
MK() - Constructor for class com.trevlar.menukit.MK
 
mk$getTarget() - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
The unwrap seam — resolves this wrapper back to its slot (see SlotWrapperAccessor).
MKC - Class in com.trevlar.menukit
Mod entry point for the menukit-containers artifact — "MenuKit: Containers."
MKC() - Constructor for class com.trevlar.menukit.MKC
 
MKCBehaviorKeys - Class in com.trevlar.menukit.core
MKC's server-tier BehaviorKeys — the behaviors whose value types are MKC types (so the constant lives here, not in MK's BehaviorKeys).
MKCClient - Class in com.trevlar.menukit
Client-side entry point for the MenuKit: Containers artifact.
MKCClient() - Constructor for class com.trevlar.menukit.MKCClient
 
MKCContainerPanel - Class in com.trevlar.menukit.core
The one-call, no-mixin registration for a panel whose slots have container parity — they appear, click, and sync on every screen that shows the player inventory (survival, creative, and every chest/furnace/modded container), default-on, opt-out per screen.
MKCContainerPanel.Builder - Class in com.trevlar.menukit.core
Fluent configuration; terminates in register().
MKCHandledScreen - Class in com.trevlar.menukit.screen
Client-side partner to MKCScreenHandler.
MKCHandledScreen(MKCScreenHandler, Inventory, Component) - Constructor for class com.trevlar.menukit.screen.MKCHandledScreen
 
MKCHandledScreen.DragMode - Interface in com.trevlar.menukit.screen
A custom drag behavior for MenuKit slots.
MKCHandledScreen.KeyAction - Interface in com.trevlar.menukit.screen
Action triggered by a key press while this screen is open.
MKCHandledScreen.ScreenEventListener - Interface in com.trevlar.menukit.screen
Listener for events happening within a MenuKit screen.
MKClickOutsideHelper - Class in com.trevlar.menukit.core
Shared helper used by the MKHasClickedOutside*Mixin family to detect whether a click lands on any active slot's bounds.
MKClient - Class in com.trevlar.menukit
Client-side entry point for MenuKit.
MKClient() - Constructor for class com.trevlar.menukit.MKClient
 
MKCMenu - Class in com.trevlar.menukit.screen
The turnkey custom-menu primitive — one define(...).register() chain replaces the ~4 plumbing pieces a consumer used to hand-write for every custom MKCScreenHandler menu (its own MenuType registration, its own open C2S payload + receiver, its own MenuScreens.register, its own open call).
MKCMenu.Builder - Class in com.trevlar.menukit.screen
Fluent configuration; terminates in register().
MKCMenu.HandlerFactory - Interface in com.trevlar.menukit.screen
Builds the menu's MKCScreenHandler, handed the menu's own MenuType so the consumer never reaches back to the static handle the define(...).register() chain is still mid-assigning.
MKCMenuScreenFactory - Interface in com.trevlar.menukit.screen
Builds the client MKCHandledScreen for a registered MKCMenu.
MKCScreenHandler - Class in com.trevlar.menukit.screen
The structural heart of MenuKit.
MKCScreenHandler(MenuType, int, List, Map) - Constructor for class com.trevlar.menukit.screen.MKCScreenHandler
Constructs a handler from a pre-built panel list and a map of slot groups keyed by panel id.
MKCScreenHandler.Builder - Class in com.trevlar.menukit.screen
 
MKCScreenHandler.PanelBuilder - Class in com.trevlar.menukit.screen
 
MKCSlot - Class in com.trevlar.menukit.core
A vanilla Slot to the outside world.
MKCSlot(Container, int, int, int, SlotGroup, Panel, String, int) - Constructor for class com.trevlar.menukit.core.MKCSlot
 
MKCSlotAccess - Class in com.trevlar.menukit.core
Resolves a slot in a screen's menu.slots to the MKCSlot it represents — directly, or through the creative SlotWrapper that wraps it.
MKCSlotInput - Class in com.trevlar.menukit.core
Internal client-side input resolver for panel-hosted registered slots — the hover/click half of the panel-unified SlotElement path, and the slot-context enforcement of §0046 (a panel makes what it covers inert, in every context).
MKCSlotInput.Resolution - Record Class in com.trevlar.menukit.core
Resolution of a screen point against the revealed registered panels on a screen.
MKCSlotProjection - Class in com.trevlar.menukit.core
Projects InventoryMenu-bound slots onto foreign menus — chests, furnaces, donkeys, any AbstractContainerMenu — so a registered slot a consumer registered for the player inventory also appears, clicks, and syncs on a container screen.
MKCSlotProjection.ProjectionFactory - Interface in com.trevlar.menukit.core
Builds (appends) a slot onto a matching foreign menu.
MKCSlotQuickMove - Class in com.trevlar.menukit.core
Library-owned shift-click (quick-move) routing for registered slots on a foreign menu — a chest/furnace/donkey menu MenuKit didn't build, that a slot has been projected onto (MKCSlotProjection).
MKCSlots - Class in com.trevlar.menukit.core
Slots real, server-synced, persistent slots onto a vanilla menu — the library half of the §0045 "consumer-composed slot" pattern (IP Pockets, IP Equipment Slots).
MKCSlots.Builder - Class in com.trevlar.menukit.core
Fluent configuration for a single slot.
MKCSlots.RegisteredSlots - Record Class in com.trevlar.menukit.core
The result of a slot: the live Panel and SlotGroup that were created, plus the flat slot-index range appended to the menu (for consumers that need to walk the registered slots directly).
MKCSlotScreenHook - Class in com.trevlar.menukit.core
MenuKit-Containers' implementation of MenuKit's neutral SlotScreenHook — the one place panel-hosted registered-slot input resolution plugs into MenuKit's library-owned screen dispatch (§0042).
MKCSlotScreenHook() - Constructor for class com.trevlar.menukit.core.MKCSlotScreenHook
 
MKCVanillaSlotIdentity - Class in com.trevlar.menukit.core
MKC's §0050-backed implementation of MK's VanillaSlotIdentity port — the menu-independent identity of a vanilla slot.
MKFocus - Class in com.trevlar.menukit.core
MK-managed focus registration + screen-level focus utilities.
MKHudAnchor - Enum Class in com.trevlar.menukit.hud
Screen-edge anchor positions for HUD panels.
MKHudIcon - Class in com.trevlar.menukit.hud
HUD sprite icon element — renders a texture sprite at configurable size.
MKHudNotification - Class in com.trevlar.menukit.hud
HUD notification element — a timed popup that slides in, displays for a duration, then fades out.
MKHudNotification.Builder - Class in com.trevlar.menukit.hud
 
MKHudNotification.SlideDirection - Enum Class in com.trevlar.menukit.hud
Direction the notification slides in from.
MKHudPanel - Class in com.trevlar.menukit.hud
Builder entry point for HUD panels — visual elements rendered on the game's heads-up display.
MKHudPanel.BarBuilder - Class in com.trevlar.menukit.hud
Builder for customizing progress bar elements.
MKHudPanel.Builder - Class in com.trevlar.menukit.hud
 
MKHudPanel.ItemBuilder - Class in com.trevlar.menukit.hud
Builder for customizing item display elements.
MKHudPanel.SlotBuilder - Class in com.trevlar.menukit.hud
Builder for customizing HUD slot elements.
MKHudPanel.TextBuilder - Class in com.trevlar.menukit.hud
Builder for customizing text elements.
MKHudPanelDef - Record Class in com.trevlar.menukit.hud
Immutable definition of a HUD panel — created at mod init, stored in MenuKit's registry, rendered each frame by the HUD dispatch.
MKHudPanelDef(String, MKHudAnchor, int, int, int, boolean, int, int, PanelStyle, List, BooleanSupplier, boolean, MKHudPanelDef.HudRenderCallback, HudRegion) - Constructor for record class com.trevlar.menukit.hud.MKHudPanelDef
Creates an instance of a MKHudPanelDef record class.
MKHudPanelDef.HudRenderCallback - Interface in com.trevlar.menukit.hud
Callback for custom rendering on a HUD panel.
MKHudSlot - Class in com.trevlar.menukit.hud
HUD element that renders an item inside a hotbar-style slot background.
MKPressedTracker - Class in com.trevlar.menukit.core
ACCEPTED aesthetic-only exception to §0019 (see MKVanillaButtonPressedMixin class javadoc for the full carve-out rationale).
MKRenderPipelines - Class in com.trevlar.menukit.core
MenuKit-owned RenderPipelines for GUI rendering.
MKScreen - Class in com.trevlar.menukit.screen
Base class for standalone screens built with MenuKit — full-screen, client-local, interactive UIs that are not tied to a container menu.
MKScreen(Component, List) - Constructor for class com.trevlar.menukit.screen.MKScreen
 
MKSlotState - Class in com.trevlar.menukit.core
Public entry point for M1 per-slot persistent state.
MKText - Class in com.trevlar.menukit.core
Shared text-rendering helper for MK widgets that render single-line text inside a bounded width.
MKTooltip - Class in com.trevlar.menukit.core
The single library entry point for queuing a hover-float tooltip — the one place a Component tooltip becomes pixels on screen.
modal() - Method in class com.trevlar.menukit.core.Panel
Builder convenience setting all three modal flags to true.
Modal-aware - Section in class com.trevlar.menukit.core.ScrollContainer
 
Modal-with-slider (Q4 deferred per DEFERRED.md 14d-3 — inherited) - Section in class com.trevlar.menukit.core.Slider
 
Modal-with-text-input (Q4 deferred per DEFERRED.md 14d-3) - Section in class com.trevlar.menukit.core.TextField
 
Modded(Identifier, CompoundTag) - Constructor for record class com.trevlar.menukit.core.PersistentContainerKey.Modded
Creates an instance of a Modded record class.
mode() - Method in record class com.trevlar.menukit.core.PanelPosition
Returns the value of the mode record component.
MOUNT_BODY_ARMOR - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
MOUNT_SADDLE - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
MOUNT_STORAGE - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
mouseClicked(double, double, int) - Method in class com.trevlar.menukit.core.Button
Handles mouse clicks.
mouseClicked(double, double, int) - Method in class com.trevlar.menukit.core.Checkbox
 
mouseClicked(double, double, int) - Method in class com.trevlar.menukit.core.Dropdown
 
mouseClicked(double, double, int) - Method in class com.trevlar.menukit.core.DropdownMulti
 
mouseClicked(double, double, int) - Method in class com.trevlar.menukit.core.Flow
 
mouseClicked(double, double, int) - Method in interface com.trevlar.menukit.core.PanelElement
Called when the mouse is clicked on this element.
mouseClicked(double, double, int) - Method in class com.trevlar.menukit.core.Radio
 
mouseClicked(double, double, int) - Method in class com.trevlar.menukit.core.ScrollContainer
 
mouseClicked(double, double, int) - Method in class com.trevlar.menukit.core.Toggle
 
mouseClicked(int, int, double, double, int, Screen) - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Dispatches a mouse click to any visible element under the cursor.
mouseClicked(ScreenBounds, double, double, int, AbstractContainerScreen) - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Dispatches a mouse click to any visible element under the cursor.
mouseClicked(SlotGroupBounds, SlotGroupCategory, double, double, int, AbstractContainerScreen) - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Dispatches a mouse click to visible elements.
mouseClicked(AbstractContainerScreen, double, double, int) - Method in class com.trevlar.menukit.core.MKCSlotScreenHook
 
mouseClicked(AbstractContainerScreen, double, double, int) - Method in interface com.trevlar.menukit.inject.SlotScreenHook
Fired at mouseClicked HEAD.
mouseClicked(MouseButtonEvent, boolean) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Click dispatch — fires events, checks group handlers, then falls through to vanilla.
mouseClicked(MouseButtonEvent, boolean) - Method in class com.trevlar.menukit.screen.MKScreen
 
mouseDragged(MouseButtonEvent, double, double) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Drag dispatch — if a drag mode is active, route to it.
mouseReleased(double, double, int) - Method in class com.trevlar.menukit.core.Button
Clears the press-affordance state on left-button release.
mouseReleased(double, double, int) - Method in class com.trevlar.menukit.core.Flow
 
mouseReleased(double, double, int) - Method in interface com.trevlar.menukit.core.PanelElement
Called when the user releases a mouse button anywhere on the screen (not hit-tested against this element's bounds — the release fires regardless of cursor position, so drag-end detection works even when the user drags off the element).
mouseReleased(double, double, int) - Method in class com.trevlar.menukit.core.ScrollContainer
 
mouseReleased(double, double, int) - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Dispatches a mouse-release event to all visible elements.
mouseReleased(ScreenBounds, double, double, int, AbstractContainerScreen) - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Dispatches a mouse-release event to all visible elements.
mouseReleased(AbstractContainerScreen, double, double, int) - Method in interface com.trevlar.menukit.inject.SlotScreenHook
Fired at mouseReleased HEAD.
mouseReleased(MouseButtonEvent) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Drag end — if a slot-level drag mode is active, notify and clear it.
mouseReleased(MouseButtonEvent) - Method in class com.trevlar.menukit.screen.MKScreen
 
mouseScrolled(double, double, double, double) - Method in class com.trevlar.menukit.core.Dropdown
 
mouseScrolled(double, double, double, double) - Method in class com.trevlar.menukit.core.DropdownMulti
 
mouseScrolled(double, double, double, double) - Method in class com.trevlar.menukit.core.Flow
 
mouseScrolled(double, double, double, double) - Method in interface com.trevlar.menukit.core.PanelElement
Called when the user scrolls the mouse wheel with the cursor over this element's bounds.
mouseScrolled(double, double, double, double) - Method in class com.trevlar.menukit.core.ScrollContainer
 
mouseScrolled(double, double, double, double) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Phase 14d-2.7 primitive-gap fold-inline: scroll-wheel dispatch to elements.
mouseScrolled(double, double, double, double) - Method in class com.trevlar.menukit.screen.MKScreen
 
mouseScrolled(int, int, double, double, double, double, Screen) - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Dispatches a mouse-wheel scroll to any visible element under the cursor.
mouseScrolled(ScreenBounds, double, double, double, double, AbstractContainerScreen) - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Dispatches a mouse-wheel scroll to any visible element under the cursor.
mouseScrolled(AbstractContainerScreen, double, double, double, double) - Method in interface com.trevlar.menukit.inject.SlotScreenHook
Fired at mouseScrolled HEAD.
mouseX() - Method in record class com.trevlar.menukit.core.RenderContext
Returns the value of the mouseX record component.
mouseY() - Method in record class com.trevlar.menukit.core.RenderContext
Returns the value of the mouseY record component.
moveToPlayerClosest(ServerPlayer, ItemStack, int, Tag) - Method in class com.trevlar.menukit.compat.UniversalGravesAdapter
 
moveToPlayerExactly(ServerPlayer, ItemStack, int, Tag) - Method in class com.trevlar.menukit.compat.UniversalGravesAdapter
 
Multi-line body - Section in class com.trevlar.menukit.core.dialog.ConfirmDialog
 
Mutable state - Section in class com.trevlar.menukit.core.RadioGroup
 
Mutable state (via coordinator) - Section in class com.trevlar.menukit.core.Radio
 
Mutable-state exception - Section in class com.trevlar.menukit.core.Checkbox
 
Mutable-state exception to the declared-structure discipline - Section in class com.trevlar.menukit.core.Toggle
 

N

name() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the name record component.
nameOf(Address, AbstractContainerMenu, Slot) - Static method in class com.trevlar.menukit.window.SlotNames
The display name of the slot, or null if it has none (an unnamed / uncategorized vanilla slot, or a modded menu with no resolver).
namespace() - Method in record class com.trevlar.menukit.core.SlotGroupCategory
Returns the value of the namespace record component.
Namespace your panel ids - Section in class com.trevlar.menukit.screen.MKCMenu
 
Namespace your panel ids - Section in com.trevlar.menukit.screen.MKCScreenHandler.builder(MenuType)
 
naturalWidth() - Method in class com.trevlar.menukit.core.Button
Natural (unconstrained) width: the authored width when one was given, else the intrinsic label width.
naturalWidth() - Method in class com.trevlar.menukit.core.Checkbox
Natural width = box + gap + the label's single-line rendered width — what the checkbox wants when the panel has room.
naturalWidth() - Method in class com.trevlar.menukit.core.Divider
Natural (authored) length before any panel constraint.
naturalWidth() - Method in class com.trevlar.menukit.core.Dropdown
Natural (authored) trigger width before any panel constraint.
naturalWidth() - Method in class com.trevlar.menukit.core.DropdownMulti
Natural (authored) trigger width before any panel constraint.
naturalWidth() - Method in class com.trevlar.menukit.core.Flow
The ALL-children single-row width (every child's width plus the gaps between them), intentionally visibility-INDEPENDENT so the panel's min(naturalWidth, ceiling) resolves to the stable screen-edge ceiling.
naturalWidth() - Method in class com.trevlar.menukit.core.InfoBox
Natural one-line box width (text + padding) — drives the panel hug-width.
naturalWidth() - Method in interface com.trevlar.menukit.core.PanelElement
The element's NATURAL (authored / intrinsic) width before any panel width-constraint — what it wants when the panel has room.
naturalWidth() - Method in class com.trevlar.menukit.core.ProgressBar
Natural (authored) width before any panel constraint.
naturalWidth() - Method in class com.trevlar.menukit.core.Slider
Natural (authored) track width before any panel constraint.
naturalWidth() - Method in class com.trevlar.menukit.core.SlotFlowElement
All-slots single-row width — intentionally visibility-INDEPENDENT, so the panel's min(naturalWidth, ceiling) resolves to the stable ceiling (see class doc).
naturalWidth() - Method in class com.trevlar.menukit.core.TextField
Natural (authored) width before any panel constraint.
naturalWidth() - Method in class com.trevlar.menukit.core.TextLabel
Natural width = the text's single-line rendered width.
naturalWidth() - Method in class com.trevlar.menukit.core.Toggle
Natural (uncapped) bar width — the auto-widen-to-label extent, or the switch width when unlabeled.
nested(OwnerRef, Token) - Static method in interface com.trevlar.menukit.window.OwnerRef
 
NestedOwner(OwnerRef, Token) - Constructor for record class com.trevlar.menukit.window.OwnerRef.NestedOwner
Creates an instance of a NestedOwner record class.
Nesting - Section in class com.trevlar.menukit.core.layout.Row
 
NONE - Enum constant in enum class com.trevlar.menukit.core.PanelStyle
None — invisible background.
NONE - Enum constant in enum class com.trevlar.menukit.core.QuickMoveParticipation
This group does not participate in shift-click routing.
NONE - Static variable in record class com.trevlar.menukit.inject.MenuChrome.ChromeExtents
All-zero extents — the default for screens without a registered provider.
NONE - Static variable in interface com.trevlar.menukit.window.ReactiveHook
The Null-Object reaction — does nothing.
noShadow() - Method in class com.trevlar.menukit.hud.MKHudPanel.TextBuilder
 
NOT_REGISTERED - Static variable in class com.trevlar.menukit.inject.RegionRegistry
Sentinel returned by the axialPrefix variants when self is not found in its region list — i.e.
notify(String, String) - Static method in class com.trevlar.menukit.MK
Triggers a notification by key.
notify(String, String, ItemStack) - Static method in class com.trevlar.menukit.MK
Triggers a notification with text and an item icon.
notify(String, String, Item) - Static method in class com.trevlar.menukit.MK
Triggers a notification with text and an item type.
notifyClickOutsideOverlay(double, double) - Method in class com.trevlar.menukit.core.Dropdown
Outside-click dismiss — closes the open popover when a click lands outside BOTH the popover and the trigger.
notifyClickOutsideOverlay(double, double) - Method in class com.trevlar.menukit.core.DropdownMulti
Outside-click dismiss — closes the open popover when a click lands outside BOTH the popover and the trigger.
notifyClickOutsideOverlay(double, double) - Method in class com.trevlar.menukit.core.Flow
 
notifyClickOutsideOverlay(double, double) - Method in interface com.trevlar.menukit.core.PanelElement
Dismiss-side twin of PanelElement.getActiveOverlayBounds() — notifies an element with transient open state (a popover, an inline editor, a transient action menu) that a click landed somewhere NOT claimed by it, so it can close that state.
notifyOutsideClick(double, double) - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Notifies this adapter's visible elements of an outside click so popover- like elements (Dropdown/DropdownMulti) can dismiss.

O

§0019 — opt-in, consumer-triggered - Section in class com.trevlar.menukit.core.MKCSlotQuickMove
 
ObservedReactions - Class in com.trevlar.menukit.window
The client-observed half of the reactive verbs (the part the architecture says "ships working now") — a client-side detector that fires ON_INSERT_OBSERVED / ON_TAKE_OBSERVED when a slot's synced contents change.
of(boolean) - Static method in enum class com.trevlar.menukit.window.TriBool
 
of(boolean) - Static method in interface com.trevlar.menukit.window.VisibilityRule
A constant rule from a boolean.
of(int) - Static method in record class com.trevlar.menukit.core.Click
Captures the click for button with the current modifier state.
of(int) - Static method in class com.trevlar.menukit.core.EphemeralStorage
Factory method for readability in builder API.
of(Panel) - Static method in class com.trevlar.menukit.window.PanelAddressing
The Address of panel itself (its own visibility/opacity/inertness).
of(PanelElement) - Static method in interface com.trevlar.menukit.core.layout.ElementSpec
Wraps an ALREADY-CONSTRUCTED element as an ElementSpec so it can be dropped into a Row/Column (Pass 3).
of(Panel, PanelElement) - Static method in class com.trevlar.menukit.window.PanelAddressing
The Address of element within panel.
of(List) - Static method in class com.trevlar.menukit.core.Flow
Begins a flow over the given children (declaration order = flow order).
of(AbstractContainerScreen) - Static method in class com.trevlar.menukit.inject.MenuChrome
Returns the chrome extents for the given screen instance.
of(Identifier) - Static method in record class com.trevlar.menukit.window.ReactCause
Mint a cause from any identifier (consumer- or future-verb-defined).
of(Identifier) - Static method in record class com.trevlar.menukit.window.ScreenFamilyKey
Names a menu family by its stable id (menu-type id, or a synthetic id).
of(Identifier, Class, V, Tier, KindTag, KindTag...) - Static method in record class com.trevlar.menukit.window.BehaviorKey
Convenience constructor.
of(AbstractContainerMenu) - Static method in class com.trevlar.menukit.inject.SlotGroupCategories
Resolves the given menu instance's slot groups.
of(AbstractContainerMenu) - Static method in class com.trevlar.menukit.window.WindowView
A view over menu.
of(AbstractContainerMenu, Slot) - Static method in class com.trevlar.menukit.core.SlotAddresses
The Address of slot as it sits in menu, kind-dispatched.
of(Slot) - Static method in record class com.trevlar.menukit.core.SlotIdentity
Creates a SlotIdentity from a live Slot.
of(Slot) - Static method in record class com.trevlar.menukit.inject.SlotHoverResult
A revealed slot slot wins the point.
ofElement(String, String) - Static method in class com.trevlar.menukit.window.PanelAddressing
The Address of a panel element by ids.
offsetX() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the offsetX record component.
offsetY() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the offsetY record component.
ofPanel(String) - Static method in class com.trevlar.menukit.window.PanelAddressing
The Address of a panel by id.
on(SlotGroupCategory...) - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Declares the slot-group categories this adapter applies to.
on(Class...) - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Declares the screen classes this adapter applies to.
on(Class...) - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Declares the screen classes this adapter applies to.
ON_INSERT - Static variable in class com.trevlar.menukit.window.BehaviorKeys
Fires when a slot gains content, on the server inside the menu transaction (authoritative; may have game-state effects).
ON_INSERT_OBSERVED - Static variable in class com.trevlar.menukit.window.BehaviorKeys
Fires on the client when synced slot contents grow — pure UI feedback (flash, sound, badge), no authority.
ON_TAKE - Static variable in class com.trevlar.menukit.window.BehaviorKeys
Fires when a slot loses content, on the server inside the menu transaction.
ON_TAKE_OBSERVED - Static variable in class com.trevlar.menukit.window.BehaviorKeys
Fires on the client when synced slot contents shrink — pure UI feedback, no authority.
onAcknowledge(Runnable) - Method in class com.trevlar.menukit.core.dialog.AlertDialog.Builder
Fired when the user clicks the Acknowledge button.
onAny() - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Declares this adapter fires on every opened AbstractContainerScreen, including CreativeModeInventoryScreen, modded screens, and future screen classes.
onAny() - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Declares this adapter fires on every opened non-container Screen.
onAttach(Screen) - Method in class com.trevlar.menukit.core.Flow
 
onAttach(Screen) - Method in interface com.trevlar.menukit.core.PanelElement
Phase 14d-3 — screen-attach lifecycle hook.
onAttach(Screen) - Method in class com.trevlar.menukit.core.ScrollContainer
 
onAttach(Screen) - Method in class com.trevlar.menukit.core.Slider
 
onAttach(Screen) - Method in class com.trevlar.menukit.core.SlotElement
 
onAttach(Screen) - Method in class com.trevlar.menukit.core.SlotFlowElement
 
onAttach(Screen) - Method in class com.trevlar.menukit.core.TextField
 
onCancel(Runnable) - Method in class com.trevlar.menukit.core.dialog.ConfirmDialog.Builder
Fired when the user clicks the Cancel button.
onChange(Consumer) - Method in class com.trevlar.menukit.core.TextField.Builder
Optional value-change callback (lens write).
onClose() - Method in class com.trevlar.menukit.screen.MKScreen
 
onConfirm(Runnable) - Method in class com.trevlar.menukit.core.dialog.ConfirmDialog.Builder
Fired when the user clicks the Confirm button.
onDetach(Screen) - Method in class com.trevlar.menukit.core.Flow
 
onDetach(Screen) - Method in interface com.trevlar.menukit.core.PanelElement
Phase 14d-3 — screen-detach lifecycle hook.
onDetach(Screen) - Method in class com.trevlar.menukit.core.ScrollContainer
 
onDetach(Screen) - Method in class com.trevlar.menukit.core.Slider
 
onDetach(Screen) - Method in class com.trevlar.menukit.core.SlotElement
 
onDetach(Screen) - Method in class com.trevlar.menukit.core.SlotFlowElement
 
onDetach(Screen) - Method in class com.trevlar.menukit.core.TextField
 
onDrag(MKCSlot) - Method in interface com.trevlar.menukit.screen.MKCHandledScreen.DragMode
Called when the mouse moves over a new slot during a drag.
onDragEnd() - Method in interface com.trevlar.menukit.screen.MKCHandledScreen.DragMode
Called when the mouse button is released, ending the drag.
onDragStart(MKCSlot, int) - Method in interface com.trevlar.menukit.screen.MKCHandledScreen.DragMode
Called when a drag starts on a MKCSlot.
One family for the whole panel subtree - Section in class com.trevlar.menukit.window.PanelAddressing
 
onEmptySlotClick(MKCSlot, int) - Method in interface com.trevlar.menukit.screen.MKCHandledScreen.ScreenEventListener
An empty MKCSlot was clicked with an empty cursor.
onEscape(Runnable) - Method in class com.trevlar.menukit.core.Panel
Registers an action invoked when the user presses Escape while this panel is a visible modal panel.
One token shape per identity source - Section in interface com.trevlar.menukit.window.Token
 
onInitialize() - Method in class com.trevlar.menukit.MK
 
onInitialize() - Method in class com.trevlar.menukit.MKC
 
onInitializeClient() - Method in class com.trevlar.menukit.MKCClient
 
onInitializeClient() - Method in class com.trevlar.menukit.MKClient
 
onInsert(ReactiveHook) - Method in class com.trevlar.menukit.window.SlotHandle
Server-authoritative reaction when this slot gains content (MKC-only firing; the seam is owed).
onInsertObserved(ReactiveHook) - Method in class com.trevlar.menukit.window.SlotHandle
Client-observed reaction when synced contents grow — pure UI feedback, MK-alone.
onKey(KeyEvent, MKCHandledScreen) - Method in interface com.trevlar.menukit.screen.MKCHandledScreen.KeyAction
 
only(Class...) - Static method in class com.trevlar.menukit.inject.ScreenMatcher
Only the named screens (and their subclasses).
onMatching(ScreenMatcher) - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Declares this adapter fires on every screen a ScreenMatcher accepts — the parity-shaped targeting mode.
onPanelToggle(Panel, boolean) - Method in interface com.trevlar.menukit.screen.MKCHandledScreen.ScreenEventListener
A panel's visibility changed.
onPanelVisibilityChanged(Panel) - Method in interface com.trevlar.menukit.core.PanelOwner
Notifies the owner that a panel's visibility changed.
onPanelVisibilityChanged(Panel) - Method in class com.trevlar.menukit.screen.MKCScreenHandler
Called by Panel when its visibility changes.
onPlayerInventory() - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Declares this adapter fires on the player inventory in both game modes — the survival InventoryScreen and the creative CreativeModeInventoryScreen.
onQuickMove(MKCSlot, ItemStack) - Method in interface com.trevlar.menukit.screen.MKCHandledScreen.ScreenEventListener
A shift-click (quick move) is about to happen on a MKCSlot.
onRender() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the onRender record component.
onRender(MKHudPanelDef.HudRenderCallback) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds a custom render callback that fires each frame.
onRender(Runnable) - Method in class com.trevlar.menukit.core.TextLabel
Sets an optional side-effect fired at the top of each TextLabel.render(RenderContext) (folded from MKHudText — HUD render-tick counters / animation hooks).
onRender(Runnable) - Method in class com.trevlar.menukit.hud.MKHudPanel.SlotBuilder
 
onRender(Runnable) - Method in class com.trevlar.menukit.hud.MKHudPanel.TextBuilder
 
onRepaired() - Method in interface com.trevlar.menukit.core.MendingCandidates.Candidate
Called AFTER MKC repairs MendingCandidates.Candidate.stack() — persist + sync the source (write back / mark dirty).
onScreenInit(Screen) - Static method in class com.trevlar.menukit.inject.VanillaScreenPanelRegistry
Called from ScreenPanelRegistry.onScreenInit(Minecraft, Screen, int, int) when the opened screen is NOT an AbstractContainerScreen.
onSecondaryClick(Consumer) - Method in class com.trevlar.menukit.core.Button
Attaches a handler for every non-left mouse button.
onSecondaryClick(Consumer) - Method in class com.trevlar.menukit.core.Toggle
See Button.onSecondaryClick(Consumer); identical contract.
onSlotClick(MKCSlot, int) - Method in interface com.trevlar.menukit.screen.MKCHandledScreen.ScreenEventListener
A MKCSlot was clicked.
onSlotHoverEnter(MKCSlot) - Method in interface com.trevlar.menukit.screen.MKCHandledScreen.ScreenEventListener
Mouse entered a MKCSlot's hover area.
onSlotHoverExit(MKCSlot) - Method in interface com.trevlar.menukit.screen.MKCHandledScreen.ScreenEventListener
Mouse left a MKCSlot's hover area.
onSubmit(Consumer) - Method in class com.trevlar.menukit.core.TextField.Builder
Optional submission callback.
onTake(ReactiveHook) - Method in class com.trevlar.menukit.window.SlotHandle
Server-authoritative reaction when this slot loses content.
onTake(Player, ItemStack) - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
onTakeObserved(ReactiveHook) - Method in class com.trevlar.menukit.window.SlotHandle
Client-observed reaction when synced contents shrink.
onto(AbstractContainerMenu, Player) - Static method in class com.trevlar.menukit.core.MKCSlots
Begins a slot onto menu owned by player.
opacity(TriBool) - Method in class com.trevlar.menukit.window.PanelHandle
Whether the panel is interaction-opaque (eats clicks over its bounds).
OPACITY - Static variable in class com.trevlar.menukit.window.BehaviorKeys
Whether a panel is interaction-opaque (eats clicks over its bounds).
opaque(boolean) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Interaction opacity (default true — the panel eats clicks over its bounds).
opaque(boolean) - Method in class com.trevlar.menukit.core.Panel
Sets whether this panel is interaction-opaque over its bounds.
open(ServerPlayer) - Method in class com.trevlar.menukit.screen.MKCMenu
Opens this menu for the given server player — server-side direct, no networking.
OPEN - Static variable in interface com.trevlar.menukit.core.SlotGate
The permissive default — vanilla behavior (allows everything).
Ordering semantics - Section in record class com.trevlar.menukit.core.RegionAnchor
 
originX() - Method in record class com.trevlar.menukit.core.RenderContext
Returns the value of the originX record component.
originY() - Method in record class com.trevlar.menukit.core.RenderContext
Returns the value of the originY record component.
OUT_OF_REGION - Static variable in record class com.trevlar.menukit.inject.ScreenOrigin
Sentinel signaling "this panel does not fit in its region — skip render." Uses Integer.MIN_VALUE coordinates that cannot collide with any real on-screen position.
override(Address, String) - Static method in class com.trevlar.menukit.window.SlotNames
Names the slot at address (created slot / custom).
owner() - Method in record class com.trevlar.menukit.window.Address
Returns the value of the owner record component.
OWNER_KEY - Static variable in class com.trevlar.menukit.core.KeyedStorages
Payload key: owning player UUID (string form), when scope is KeyedStorages.SCOPE_PLAYER.
OwnerRef - Interface in com.trevlar.menukit.window
The owner an Address is resolved relative to — the chain that lets a handle re-bind to the live backing each call (and that makes the held-handle "wrong/no screen" case a clean no-op: an owner that doesn't resolve against the live session yields the neutral default).
OwnerRef.NestedOwner - Record Class in com.trevlar.menukit.window
A thing owned by another addressable, identified by the parent's token.
OwnerRef.RootOwner - Record Class in com.trevlar.menukit.window
Chain root: a menu family namespaced by a scope.
OwnerScope - Interface in com.trevlar.menukit.window
Namespaces an owner-coordinate when a bare (family, index) would alias — the disambiguation tool inside a RootOwner.
OwnerScope.Primary - Record Class in com.trevlar.menukit.window
The default scope — no namespacing needed (the common case).
OwnerScope.Sub - Record Class in com.trevlar.menukit.window
Composite per-backing scope (server-derivable from §0050).
OwnerScope.Tab - Record Class in com.trevlar.menukit.window
Active-creative-tab scope (CLIENT-tier only).
Owns its children's positions (§0047) - Section in class com.trevlar.menukit.core.Flow
 

P

padding() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the padding record component.
padding(int) - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Inner padding between panel edge and content (default 6).
padding(int) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Sets inner padding (space between panel edge and content).
PADDING - Static variable in class com.trevlar.menukit.core.dialog.AlertDialog
Padding inside the dialog Panel between chrome and content.
PADDING - Static variable in class com.trevlar.menukit.core.dialog.ConfirmDialog
Padding inside the dialog Panel between chrome and content.
PADDING - Static variable in class com.trevlar.menukit.core.InfoBox
Padding on all sides of the info-box text, in pixels.
pairsWith(SlotGroup) - Method in class com.trevlar.menukit.core.SlotGroup
Declares that shift-click from this group should prefer the target group over numeric priority.
pairsWith(String, String) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Declares a directional pairing from the last-added group to a target group, identified by "{panelId}.{groupId}".
panel() - Method in record class com.trevlar.menukit.core.MKCSlots.RegisteredSlots
Returns the value of the panel record component.
panel(Address) - Method in class com.trevlar.menukit.window.WindowView
A handle on a panel named by address.
panel(ScreenFamilyKey, OwnerScope, Identifier) - Static method in record class com.trevlar.menukit.window.Address
A panel itself, for its own properties.
panel(String) - Method in class com.trevlar.menukit.core.MKCSlots.Builder
Panel id (unique per slot).
panel(String) - Static method in class com.trevlar.menukit.window.Window
A handle on the panel with id panelId (its own visibility/opacity/inertness).
panel(String) - Method in class com.trevlar.menukit.window.WindowView
A handle on the panel with id panelId (its own visibility/opacity/inertness).
panel(String, Consumer) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.Builder
Adds a panel with the given configuration.
Panel - Class in com.trevlar.menukit.core
The fundamental unit of composition.
Panel(String, List) - Constructor for class com.trevlar.menukit.core.Panel
Convenience constructor — a visible panel with default style and position.
Panel(String, List, boolean) - Constructor for class com.trevlar.menukit.core.Panel
Convenience constructor — default style (RAISED), position (BODY), no toggle key.
Panel(String, List, boolean, PanelStyle, PanelPosition, int) - Constructor for class com.trevlar.menukit.core.Panel
Full constructor with all metadata.
PANEL - Enum constant in enum class com.trevlar.menukit.window.KindTag
A panel itself, for its own properties (parity, opacity, inertness).
PANEL_ELEMENT - Enum constant in enum class com.trevlar.menukit.window.KindTag
A non-slot panel element (button, label, decoration).
PANEL_FAMILY - Static variable in class com.trevlar.menukit.window.PanelAddressing
The constant family rooting every panel, panel element, and created slot.
PANEL_NOT_FOUND - Static variable in class com.trevlar.menukit.screen.MKCScreenHandler
Sentinel returned by MKCScreenHandler.getPanelButtonId(String) when no panel matches the requested id.
PANEL_PADDING - Static variable in class com.trevlar.menukit.screen.MKScreen
Padding inside each styled panel (pixels from panel edge to content).
Panel.Builder - Class in com.trevlar.menukit.core
Fluent builder for Panel.
PanelAddressing - Class in com.trevlar.menukit.window
Mints the Address of a panel and a panel element — the panel-subtree half of THE ONE WINDOW's addressing, the counterpart to VanillaAddressing (vanilla slots) and the MKC created-slot adapter (created slots).
PanelBounds - Record Class in com.trevlar.menukit.core
Computed screen-relative bounds for a Panel after layout resolution.
PanelBounds(int, int, int, int) - Constructor for record class com.trevlar.menukit.core.PanelBounds
Creates an instance of a PanelBounds record class.
PanelDispatch - Class in com.trevlar.menukit.core
Phase 16j R2 — shared element-iteration primitive across the four rendering contexts (MK standalone screens, MKC container screens, HUD overlays, vanilla-screen injection adapters).
panelElement(ScreenFamilyKey, OwnerScope, Identifier, String) - Static method in record class com.trevlar.menukit.window.Address
A non-slot panel element, owned by its panel, identified by a declaration id.
PanelElement - Interface in com.trevlar.menukit.core
A visual or interactive element within a Panel.
PanelHandle - Class in com.trevlar.menukit.window
A typed handle on a panel itself — its own visibility, opacity, and inertness.
panelId() - Method in class com.trevlar.menukit.core.SlotElement
The registered slot's panel id this element presents (its registry key).
PanelLayout - Class in com.trevlar.menukit.core
Pure layout utility.
panelOpaque(Panel) - Static method in class com.trevlar.menukit.window.ClientWindowVisibility
Client-side: is this panel interaction-opaque (eats clicks over its bounds)? The panel's own isOpaque() AND the engine OPACITY key.
PanelOwner - Interface in com.trevlar.menukit.core
Minimal interface for the owner of a Panel tree.
PanelPosition - Record Class in com.trevlar.menukit.core
Describes how a panel is positioned within a screen's layout.
PanelPosition(PanelPosition.Mode, String, ScreenRegion, MenuRegion, Supplier) - Constructor for record class com.trevlar.menukit.core.PanelPosition
Creates an instance of a PanelPosition record class.
PanelPosition.Mode - Enum Class in com.trevlar.menukit.core
How a panel is positioned.
PanelRendering - Class in com.trevlar.menukit.core
Static rendering utilities for PanelStyle backgrounds and slot backgrounds.
panelShown(Panel) - Static method in class com.trevlar.menukit.window.ClientWindowVisibility
Client-side: should this panel display/interact this frame (own visibility AND engine VISIBILITY)?
PanelStyle - Enum Class in com.trevlar.menukit.core
Visual style for a panel's background rendering.
PanelTreeLayout - Record Class in com.trevlar.menukit.core
Phase 16j R1 — shared layout primitive across the standalone-screen (MK) and container-screen (MKC) rendering contexts.
PanelTreeLayout(Map, int, int, int, int) - Constructor for record class com.trevlar.menukit.core.PanelTreeLayout
Creates an instance of a PanelTreeLayout record class.
parent() - Method in record class com.trevlar.menukit.window.OwnerRef.NestedOwner
Returns the value of the parent record component.
parentToken() - Method in record class com.trevlar.menukit.window.OwnerRef.NestedOwner
Returns the value of the parentToken record component.
parity(ScreenMatcher) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Screen scope for the panel's presentation.
ParitySlotRegistry - Class in com.trevlar.menukit.core
The side-neutral registry of container-parity slot recipes — the single source of truth both menu-build seams read so a registered slot appears on every menu the player opens, identically on both sides.
Parked, like the inventory-tab wrappers - Section in class com.trevlar.menukit.core.CreativeSlotWrapper
 
Parked when not presented - Section in class com.trevlar.menukit.core.SlotElement
 
PASS - Static variable in record class com.trevlar.menukit.inject.SlotHoverResult
No slot claims the point — vanilla resolution proceeds.
path() - Method in record class com.trevlar.menukit.core.SlotGroupCategory
Returns the value of the path record component.
payload() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.Modded
Returns the value of the payload record component.
pendingSnapshot() - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
Returns an unmodifiable snapshot of orphan (untargeted) adapters.
pendingSnapshot() - Static method in class com.trevlar.menukit.inject.SlotGroupPanelRegistry
Returns an unmodifiable snapshot of orphan slot-group adapters.
pendingSnapshot() - Static method in class com.trevlar.menukit.inject.VanillaScreenPanelRegistry
Snapshot of orphan (untargeted) adapters.
Per-context values are PRESERVED, not collapsed - Section in class com.trevlar.menukit.core.RegionConstants
 
Persistence & metadata - Section in class com.trevlar.menukit.core.MKCSlots
 
Persistence framing - Section in com.trevlar.menukit.core.Toggle.linked(int, int, int, int, BooleanSupplier, Consumer)
 
PersistentContainerKey - Interface in com.trevlar.menukit.core
Persistent identity for a Container — the owner a slot's state attaches to, in a form that survives session boundaries.
PersistentContainerKey.BlockEntityKey - Record Class in com.trevlar.menukit.core
Block-entity-backed container (chest, shulker box, furnace, hopper, etc.).
PersistentContainerKey.EnderChest - Record Class in com.trevlar.menukit.core
The player's ender chest (distinct from their main inventory).
PersistentContainerKey.EntityKey - Record Class in com.trevlar.menukit.core
Entity-backed container (donkey, llama, mule, minecart-with-chest, etc.).
PersistentContainerKey.Modded - Record Class in com.trevlar.menukit.core
Modded container type.
PersistentContainerKey.PlayerInventory - Record Class in com.trevlar.menukit.core
The player's main inventory, hotbar, armor, and offhand slots.
Phase 18s follow-up - Section in class com.trevlar.menukit.core.MKText
 
pinnedHeight(int) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Pins the panel's height to a fixed pixel extent (default: auto-size to visible content).
pinnedHeight(int) - Method in class com.trevlar.menukit.core.Panel
Sets only the pinned height (width stays auto-sized).
pinnedWidth(int) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Pins the panel's width to a fixed pixel extent (default: auto-size to visible content).
pinnedWidth(int) - Method in class com.trevlar.menukit.core.Panel
Sets only the pinned width (height stays auto-sized).
pixel(Supplier) - Static method in record class com.trevlar.menukit.core.PanelPosition
Pixel-precision position override (§0057 Revision — Trev's call, 2026-07-01): places the panel's outer top-left (the background origin; elements render inside at origin + padding) at exactly the coordinates origin supplies, in absolute screen pixels.
PIXEL - Enum constant in enum class com.trevlar.menukit.core.PanelPosition.Mode
Pixel-precision override (§0057 Revision, Trev's call) — the panel's outer origin comes from a consumer supplier, re-evaluated every frame, in absolute screen pixels.
pixelOrigin() - Method in record class com.trevlar.menukit.core.PanelPosition
Returns the value of the pixelOrigin record component.
player(Storage, Identifier, UUID) - Static method in class com.trevlar.menukit.core.KeyedStorages
Wraps backing as a player-scoped KeyedStorage.
PLAYER_ARMOR - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
PLAYER_HOTBAR - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
PLAYER_INVENTORY - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
PLAYER_OFFHAND - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
playerAttached(String, String, int) - Static method in class com.trevlar.menukit.core.StorageAttachment
Persists slot-group content on a Player via a Fabric attachment.
playerDeathDropAttachments() - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Snapshot of all death-droppable player content attachments, for the death handler.
PlayerDeathDropHandler - Class in com.trevlar.menukit.core.attachment
Drops (or keeps / destroys) all death-droppable player-scoped attachment contents when a player dies — the player-death twin of BlockScopedDropHandler.
playerId() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.EnderChest
Returns the value of the playerId record component.
playerId() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.PlayerInventory
Returns the value of the playerId record component.
PlayerInventory(UUID) - Constructor for record class com.trevlar.menukit.core.PersistentContainerKey.PlayerInventory
Creates an instance of a PlayerInventory record class.
PlayerSlotCapture - Class in com.trevlar.menukit.core.attachment
§0052 Phase 2 — the grave-capture surface.
PlayerSlotCapture.CapturedSlot - Record Class in com.trevlar.menukit.core.attachment
One captured slot: stable identity (the attachment's registered Identifier + the local slot index) plus the stack.
PlayerStorage - Interface in com.trevlar.menukit.core
Marker interface for Storage implementations that represent the player inventory side of a menu, as opposed to the container side.
PlayerStorageAttachment() - Constructor for class com.trevlar.menukit.core.StorageAttachment.PlayerStorageAttachment
 
Popover placement — auto edge-flip - Section in class com.trevlar.menukit.core.Dropdown
 
pos() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.BlockEntityKey
Returns the value of the pos record component.
position(PanelPosition) - Method in class com.trevlar.menukit.core.Panel.Builder
Sets how the panel is positioned in the layout.
Position is not part of the port - Section in interface com.trevlar.menukit.window.CreatedSlotResolver
 
Precedence semantics - Section in com.trevlar.menukit.core.Panel.showWhen(BooleanSupplier)
 
present() - Static method in class com.trevlar.menukit.window.ServerTier
Whether a real server tier (MKC) is installed.
primary() - Static method in interface com.trevlar.menukit.window.OwnerScope
The default scope — no namespacing.
Primary() - Constructor for record class com.trevlar.menukit.window.OwnerScope.Primary
Creates an instance of a Primary record class.
PRIMARY - Static variable in interface com.trevlar.menukit.window.OwnerScope
Shared instance of the default scope (Primary has no state).
Primary vs. extensions - Section in class com.trevlar.menukit.inject.SlotGroupCategories
 
priority() - Method in record class com.trevlar.menukit.core.RegionAnchor
Returns the value of the priority record component.
priority(int) - Method in enum class com.trevlar.menukit.core.HudRegion
Returns a RegionAnchor pairing this region with an explicit stacking priority.
priority(int) - Method in enum class com.trevlar.menukit.core.MenuRegion
Returns a RegionAnchor pairing this region with an explicit stacking priority.
priority(int) - Method in enum class com.trevlar.menukit.core.ScreenRegion
Returns a RegionAnchor pairing this region with an explicit stacking priority.
priority(int) - Method in enum class com.trevlar.menukit.core.SlotGroupRegion
Returns a RegionAnchor pairing this region with an explicit stacking priority.
PRIVATE - Enum constant in enum class com.trevlar.menukit.core.SlotStateChannel.Visibility
 
progressBar(int, int, int, int, float) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a progress bar with a fixed value, left-to-right direction, and default colors.
progressBar(int, int, int, int, DoubleSupplier) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a progress bar with a supplier-driven value, left-to-right direction, and default colors.
ProgressBar - Class in com.trevlar.menukit.core
A filled bar indicating progress on a 0-to-1 scale.
ProgressBar(int, int, int, int, float) - Constructor for class com.trevlar.menukit.core.ProgressBar
Creates a ProgressBar with a fixed value, left-to-right direction, default colors, and no label.
ProgressBar(int, int, int, int, float, ProgressBar.Direction, int, int, Supplier) - Constructor for class com.trevlar.menukit.core.ProgressBar
Creates a ProgressBar with a fixed value and full configuration.
ProgressBar(int, int, int, int, DoubleSupplier) - Constructor for class com.trevlar.menukit.core.ProgressBar
Creates a ProgressBar with a supplier-driven value, left-to-right direction, default colors, and no label.
ProgressBar(int, int, int, int, DoubleSupplier, ProgressBar.Direction, int, int, Supplier) - Constructor for class com.trevlar.menukit.core.ProgressBar
Creates a ProgressBar with a supplier-driven value and full configuration.
ProgressBar.Direction - Enum Class in com.trevlar.menukit.core
Fill direction for the progress bar.
project(AbstractContainerMenu, Player) - Method in interface com.trevlar.menukit.core.MKCSlotProjection.ProjectionFactory
 

Q

queue(GuiGraphicsExtractor, Component, int, int) - Static method in class com.trevlar.menukit.core.MKTooltip
Queues a hover tooltip for end-of-frame draw at the mouse position, wrapping at the library-default max width (MKTooltip.DEFAULT_MAX_WIDTH).
queue(GuiGraphicsExtractor, Component, int, int, int) - Static method in class com.trevlar.menukit.core.MKTooltip
Queues a hover tooltip with an explicit max width — the per-tooltip escape hatch from the default.
queueTooltip(RenderContext) - Method in interface com.trevlar.menukit.core.PanelElement
Queues this element's hover tooltip for the current frame when the cursor is over it.
QUICK_MOVE - Static variable in class com.trevlar.menukit.core.MKCBehaviorKeys
How a created slot participates in shift-click (quick-move) routing on a foreign menu — exports, imports, both, or neither.
quickMove(QuickMoveParticipation) - Method in class com.trevlar.menukit.core.SlotSpec
Sets how every slot in this group participates in shift-click (quick-move) routing on a foreign menu — sugar for set(MKCBehaviorKeys.QUICK_MOVE, p).
QuickMoveParticipation - Enum Class in com.trevlar.menukit.core
Declares how a SlotGroup participates in shift-click routing.
quickMoveStack(Player, int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler
Three-layer declarative shift-click routing.

R

radio(int, int, T, Component, RadioGroup) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a radio button referencing an externally-constructed RadioGroup.
Radio<T> - Class in com.trevlar.menukit.core
A single-selection control.
Radio(int, int, T, Supplier, RadioGroup) - Constructor for class com.trevlar.menukit.core.Radio
 
Radio(int, int, T, Supplier, RadioGroup, BooleanSupplier) - Constructor for class com.trevlar.menukit.core.Radio
 
Radio(int, int, T, Component, RadioGroup) - Constructor for class com.trevlar.menukit.core.Radio
 
Radio(int, int, T, Component, RadioGroup, BooleanSupplier) - Constructor for class com.trevlar.menukit.core.Radio
 
RadioGroup<T> - Class in com.trevlar.menukit.core
Coordinator for a set of Radio elements that share single-selection state.
RadioGroup(T, Consumer) - Constructor for class com.trevlar.menukit.core.RadioGroup
 
RAISED - Enum constant in enum class com.trevlar.menukit.core.PanelStyle
Raised — vanilla inventory panel look (9-slice sprite with rounded corners).
react(ReactEvent) - Method in interface com.trevlar.menukit.window.ReactiveHook
React to a contents change.
ReactCause - Record Class in com.trevlar.menukit.window
Why a reaction fired — an open, identity-tagged descriptor, deliberately not a sealed enum a consumer must switch over (architecture Part 2 §6).
ReactCause(Identifier) - Constructor for record class com.trevlar.menukit.window.ReactCause
Creates an instance of a ReactCause record class.
ReactEvent - Record Class in com.trevlar.menukit.window
What a ReactiveHook receives when a slot's contents change.
ReactEvent(Address, ItemStack, ItemStack, ReactCause) - Constructor for record class com.trevlar.menukit.window.ReactEvent
Creates an instance of a ReactEvent record class.
ReactionGuard - Class in com.trevlar.menukit.window
The frozen re-entrancy bound of the reactive contract (architecture Part 3 §3.6 / #3b).
ReactiveDispatch - Interface in com.trevlar.menukit.window
Port (MK defines, MKC implements): the firing side of server-authoritative reactions.
ReactiveDispatchImpl - Class in com.trevlar.menukit.core
MKC's implementation of the ReactiveDispatch port — the server-thread firing of authoritative reactions.
ReactiveHook - Interface in com.trevlar.menukit.window
A consumer's reaction to a slot's contents changing — the value type of the ON_INSERT/ON_TAKE behavior keys (and their observed variants).
Reactive sizing — same contract as SlotFlowElement - Section in class com.trevlar.menukit.core.Flow
 
read(O) - Method in interface com.trevlar.menukit.core.attachment.CustomAttachmentSpec
Read the stored content for this owner instance.
ReadOnlyStorage - Class in com.trevlar.menukit.core
Read-only Storage adapter for observed (non-MenuKit) screens.
Recipe - Section in class com.trevlar.menukit.core.MKCSlots
 
Recipe - Section in class com.trevlar.menukit.screen.MKCMenu
 
recognize(AbstractContainerMenu) - Static method in class com.trevlar.menukit.core.HandlerRecognizerRegistry
Recognizes the slot structure of a handler.
recognize(AbstractContainerMenu) - Method in interface com.trevlar.menukit.core.HandlerRecognizerRegistry.Recognizer
Attempts to recognize the given handler.
recordClick(AbstractContainerMenu, Slot) - Static method in class com.trevlar.menukit.window.WindowSignals
Record the last-clicked slot (MKClient, on a screen click).
reg(Identifier) - Static method in interface com.trevlar.menukit.window.Token
 
region() - Method in record class com.trevlar.menukit.core.RegionAnchor
Returns the value of the region record component.
region() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the region record component.
region(HudRegion) - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Positions this notification via a named HudRegion — the parity path with MKHudPanel.builder(String)'s .region(...).
region(HudRegion) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Positions this HUD panel via a named HudRegion.
region(MenuRegion) - Static method in record class com.trevlar.menukit.core.PanelPosition
Anchors the panel to the main panel via region (Movement ③) — the same MenuRegion vocabulary vanilla-injected panels use against the menu frame.
region(MenuRegion) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Anchors this panel to the MAIN panel via region (Movement ③) — the same MenuRegion vocabulary vanilla-injected panels use against the menu frame (RIGHT_ALIGN_TOP, BOTTOM_CENTER, …), edge-aware and clamped on-screen.
region(RegionAnchor) - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Region overload accepting a RegionAnchor — region paired with a priority.
region(RegionAnchor) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Region overload accepting a RegionAnchor — region paired with an explicit stacking priority.
REGION - Enum constant in enum class com.trevlar.menukit.core.PanelPosition.Mode
Anchored to the PanelPosition.Mode.MAIN panel via a MenuRegion (Movement ③).
RegionAnchor<R> - Record Class in com.trevlar.menukit.core
A region plus an explicit stacking priority.
RegionAnchor(R, int) - Constructor for record class com.trevlar.menukit.core.RegionAnchor
Creates an instance of a RegionAnchor record class.
RegionConstants - Class in com.trevlar.menukit.core
Single source of truth for the region-positioning layout constants — stacking gaps and edge insets — shared across all four region contexts (MenuRegion, SlotGroupRegion, HudRegion, ScreenRegion) and both pure math helpers (RegionMath, SlotGroupRegionMath).
RegionMath - Class in com.trevlar.menukit.core
Pure coordinate resolver for M5 regions.
RegionRegistry - Class in com.trevlar.menukit.inject
Internal registry mapping M5 regions to their registered panels.
register() - Static method in class com.trevlar.menukit.compat.UniversalGravesAdapter
Registers the mask with UG.
register() - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Finalises the registration.
register() - Method in class com.trevlar.menukit.core.MKCSlots.Builder
Builds the standalone Panel/SlotGroup, constructs the inertness-aware MKCSlots over a StorageContainerAdapter, and appends them to the menu (via the vanilla addSlot invoker, which keeps the sync-tracking lists consistent).
register() - Method in class com.trevlar.menukit.screen.MKCMenu.Builder
Finalises the registration.
register(HandlerRecognizerRegistry.Recognizer) - Static method in class com.trevlar.menukit.core.HandlerRecognizerRegistry
Registers a custom recognizer.
register(MendingCandidates.Provider) - Static method in class com.trevlar.menukit.core.MendingCandidates
Registers a candidate provider.
register(SlotGroupCategory, String, String...) - Static method in class com.trevlar.menukit.window.SlotNames
Registers/replaces the naming rule for a (typically consumer-defined) category.
register(Class, MenuChrome.ChromeProvider) - Static method in class com.trevlar.menukit.inject.MenuChrome
Registers a chrome provider for a screen class.
register(Class, SlotGroupResolver) - Static method in class com.trevlar.menukit.inject.SlotGroupCategories
Registers a resolver for a concrete menu class.
register(String, SlotSpec) - Static method in class com.trevlar.menukit.core.ParitySlotRegistry
Registers one parity slot recipe.
register(Predicate, MKCSlotProjection.ProjectionFactory) - Static method in class com.trevlar.menukit.core.MKCSlotProjection
Registers a projection source: project the slot built by factory onto every opened menu appliesTo accepts.
register(Identifier, Codec, StreamCodec, T) - Static method in class com.trevlar.menukit.core.MKSlotState
Registers a channel.
register(Identifier, Codec, StreamCodec, T, SlotStateChannel.Visibility) - Static method in class com.trevlar.menukit.core.MKSlotState
Registers a channel with explicit visibility (§0049).
registerAll() - Static method in class com.trevlar.menukit.inject.VanillaSlotGroupResolvers
Called once from MKClient.onInitializeClient.
registerBlockScopedAttachment(Identifier, int) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Register a block-scoped attachment.
registerContainerAttachment(Identifier, int) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Register (or retrieve) an attachment storing ItemContainerContents.
registerContainerResolver(Class, Function) - Static method in class com.trevlar.menukit.core.MKSlotState
Registers a resolver for a custom block-entity class.
registerCustomPlayerDeathSpec(CustomAttachmentSpec, DropRule) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Enroll a player-anchored custom spec for death handling at rule (or override the rule for an already-enrolled spec).
registerDragMode(MKCHandledScreen.DragMode) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Registers a drag mode.
RegisteredSlots(Panel, SlotGroup, int, int, List) - Constructor for record class com.trevlar.menukit.core.MKCSlots.RegisteredSlots
Creates an instance of a RegisteredSlots record class.
registeredSnapshot() - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
Returns an unmodifiable snapshot of registered adapters.
registeredSnapshot() - Static method in class com.trevlar.menukit.inject.SlotGroupPanelRegistry
Returns an unmodifiable snapshot of registered slot-group adapters.
registerEntityResolver(Class, Function) - Static method in class com.trevlar.menukit.core.MKSlotState
Registers a resolver for a custom entity class.
registerHud(MKHudPanelDef) - Static method in class com.trevlar.menukit.MK
Registers a HUD panel definition.
registerHud(MKHudPanelDef, HudRegion) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Back-compat overload — uses RegionAnchor.DEFAULT_PRIORITY.
registerHud(MKHudPanelDef, HudRegion, int) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Registers a HUD panel def into a region with explicit priority.
registerKey(int, MKCHandledScreen.KeyAction) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Registers a key action.
registerMenu(Panel, MenuRegion) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Back-compatible overload for consumers registering without the padding extension.
registerMenu(Panel, MenuRegion, int) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Back-compatible overload — registers with RegionAnchor.DEFAULT_PRIORITY.
registerMenu(Panel, MenuRegion, int, int) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Registers a MenuContext panel into a region with a content padding and explicit priority.
registerNotification(MKHudNotification) - Static method in class com.trevlar.menukit.MK
Registers a notification definition.
registerPlayerContentAttachment(Identifier, int) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Register (or retrieve) a PLAYER content attachment — like StorageAttachments.registerContainerAttachment(Identifier, int) but with Fabric's copyOnDeath() flag (so a KEPT bag carries across respawn) plus enrollment in the player death-drop registry at DropRule.DEFAULT (zero-config vanilla parity).
registerRestoreHook() - Static method in class com.trevlar.menukit.input.CursorContinuity
Wires the universal AFTER_INIT listener that does two things: Registers a per-screen capture listener. Every screen's eventual removed() call will stash the cursor. Restores stashed cursor. If a stash is pending (from the previous screen's removed() firing), teleport the OS cursor and clear the stash.
registerScreens() - Static method in class com.trevlar.menukit.screen.MKCMenu
Registers every defined menu's screen with MenuScreens.
registerSlotGroup(Panel, SlotGroupCategory, SlotGroupRegion, int) - Static method in class com.trevlar.menukit.inject.SlotGroupRegionRegistry
Back-compat overload — registers with RegionAnchor.DEFAULT_PRIORITY.
registerSlotGroup(Panel, SlotGroupCategory, SlotGroupRegion, int, int) - Static method in class com.trevlar.menukit.inject.SlotGroupRegionRegistry
Registers a SlotGroupContext panel into a (category, region) pair with a content padding and explicit stacking priority.
registerVanillaScreen(Panel, ScreenRegion, int, int) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Registers a VanillaScreenContext panel into a region with explicit padding + priority.
Registration & absence - Section in interface com.trevlar.menukit.inject.SlotScreenHook
 
regKey() - Method in record class com.trevlar.menukit.window.Token.RegToken
Returns the value of the regKey record component.
regKey(String) - Static method in class com.trevlar.menukit.window.PanelAddressing
A panel's id as a deterministic Identifier — the SINGLE encoding shared by panel/element minting (here) and created-slot minting (MKC's adapter), so a created slot and a PanelHandle for its panel produce the SAME RegToken.
RegToken(Identifier) - Constructor for record class com.trevlar.menukit.window.Token.RegToken
Creates an instance of a RegToken record class.
Relationship to ScreenMatcher - Section in record class com.trevlar.menukit.window.ScreenFamilyKey
 
Relationship to the rest of the kit - Section in class com.trevlar.menukit.core.MKCSlotProjection
 
RELATIVE_GAP - Static variable in class com.trevlar.menukit.screen.MKScreen
Gap between a relative panel and its anchor.
remove(int) - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
removed() - Method in class com.trevlar.menukit.screen.MKCHandledScreen
 
removed() - Method in class com.trevlar.menukit.screen.MKScreen
 
removeItem(int, int) - Method in class com.trevlar.menukit.core.StorageContainerAdapter
 
removeItemNoUpdate(int) - Method in class com.trevlar.menukit.core.StorageContainerAdapter
 
removeWidget(Screen, GuiEventListener) - Static method in class com.trevlar.menukit.core.MKFocus
Symmetric counterpart to MKFocus.addWidget(Screen, T).
render(RenderContext) - Method in class com.trevlar.menukit.core.Button
Orchestrates the render pass: coordinate compute, hover-state update, background paint, content paint, and tooltip dispatch in that order.
render(RenderContext) - Method in class com.trevlar.menukit.core.Checkbox
 
render(RenderContext) - Method in class com.trevlar.menukit.core.Divider
 
render(RenderContext) - Method in class com.trevlar.menukit.core.Dropdown
 
render(RenderContext) - Method in class com.trevlar.menukit.core.DropdownMulti
 
render(RenderContext) - Method in class com.trevlar.menukit.core.Flow
 
render(RenderContext) - Method in class com.trevlar.menukit.core.Icon
 
render(RenderContext) - Method in class com.trevlar.menukit.core.InfoBox
 
render(RenderContext) - Method in class com.trevlar.menukit.core.ItemDisplay
 
render(RenderContext) - Method in interface com.trevlar.menukit.core.PanelElement
Renders this element.
render(RenderContext) - Method in class com.trevlar.menukit.core.ProgressBar
 
render(RenderContext) - Method in class com.trevlar.menukit.core.Radio
 
render(RenderContext) - Method in class com.trevlar.menukit.core.ScrollContainer
 
render(RenderContext) - Method in class com.trevlar.menukit.core.Slider
 
render(RenderContext) - Method in class com.trevlar.menukit.core.SlotElement
 
render(RenderContext) - Method in class com.trevlar.menukit.core.SlotFlowElement
 
render(RenderContext) - Method in class com.trevlar.menukit.core.TextField
 
render(RenderContext) - Method in class com.trevlar.menukit.core.TextLabel
 
render(RenderContext) - Method in class com.trevlar.menukit.core.Toggle
Orchestrates the render pass: hover-state update, background paint (via the extension hook), tooltip dispatch.
render(RenderContext) - Method in class com.trevlar.menukit.hud.MKHudIcon
 
render(RenderContext) - Method in class com.trevlar.menukit.hud.MKHudSlot
 
render(GuiGraphicsExtractor, int, int, int, int, DeltaTracker) - Method in interface com.trevlar.menukit.hud.MKHudPanelDef.HudRenderCallback
 
render(GuiGraphicsExtractor, int, int, int, int, Screen) - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Renders the panel background (when style is not PanelStyle.NONE) and the panel's visible elements at the origin computed from the screen dimensions.
render(GuiGraphicsExtractor, ScreenBounds, int, int, AbstractContainerScreen) - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Renders the panel background (when style is not PanelStyle.NONE) and the panel's visible elements at the origin computed from the given screen bounds.
render(GuiGraphicsExtractor, SlotGroupBounds, SlotGroupCategory, int, int, AbstractContainerScreen) - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Renders the panel against the given slot-group bounds in category.
render(GuiGraphicsExtractor, DeltaTracker, int, int, long, String, ItemStack) - Method in class com.trevlar.menukit.hud.MKHudNotification
Renders this notification given its active state.
render(GuiGraphicsExtractor, Component, TextAlignment, int, int, int, int, int, boolean) - Static method in class com.trevlar.menukit.core.MKText
Renders text within the rectangle (x1..x2, y1..y2) with the requested alignment.
renderBackground(RenderContext, int, int) - Method in class com.trevlar.menukit.core.Button
Paints the button's panel background — raised when enabled, dark when disabled, plus a translucent highlight overlay when hovered.
renderBackground(RenderContext, int, int, boolean, boolean, boolean) - Method in class com.trevlar.menukit.core.Toggle
Paints the toggle's full visual — background and any state-dependent overlays.
renderCentered(GuiGraphicsExtractor, Component, int, int, int, int, int, boolean) - Static method in class com.trevlar.menukit.core.MKText
Convenience: centered single-line scroll, vertically centered across height starting at y.
renderContent(RenderContext, int, int) - Method in class com.trevlar.menukit.core.Button
Paints the button's content — by default, the centered text label.
RenderContext - Record Class in com.trevlar.menukit.core
Render-time context passed to every PanelElement.render(RenderContext).
RenderContext(GuiGraphicsExtractor, int, int, int, int) - Constructor for record class com.trevlar.menukit.core.RenderContext
Creates an instance of a RenderContext record class.
renderElements(Panel, RenderContext) - Static method in class com.trevlar.menukit.core.PanelDispatch
Iterates panel's elements in declaration order, skipping any whose PanelElement.isVisible() returns false, and dispatches each visible element's render(ctx).
renderElements(List, RenderContext) - Static method in class com.trevlar.menukit.core.PanelDispatch
Iterates elements in declaration order, skipping any whose PanelElement.isVisible() returns false, and dispatches each visible element's render(ctx).
renderFlowPanels(AbstractContainerScreen, GuiGraphicsExtractor, int, int) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
Layer 2 of ContainerScreenLayers: every flow-positioned (non-overlay) menu-context adapter for screen, in registration order.
renderFromOpenTime(GuiGraphicsExtractor, Component, TextAlignment, int, int, int, int, int, boolean, long) - Static method in class com.trevlar.menukit.core.MKText
Same as MKText.render(GuiGraphicsExtractor, Component, TextAlignment, int, int, int, int, int, boolean) but the scroll cycle is anchored to openTimeMillis — at that instant the text is at its beginning (left-most position, fully visible from the start); the scroll then smoothly traverses to the end and back, repeating every max(scrollDistance * 0.5, 3.0) seconds (vanilla's cycle period formula).
renderGroup(String, String, int, int, MenuRegion, int, ScreenMatcher) - Static method in class com.trevlar.menukit.core.MKCSlots
Bare-MenuRegion convenience overload of MKCSlots.renderGroup(String, String, int, int, RegionAnchor, int, ScreenMatcher) — wraps the region in a RegionAnchor at RegionAnchor.DEFAULT_PRIORITY for consumers who don't care about sibling stacking order within the region.
renderGroup(String, String, int, int, MenuRegion, int, ScreenMatcher, Component) - Static method in class com.trevlar.menukit.core.MKCSlots
Bare-MenuRegion convenience overload that also carries a per-slot tooltip.
renderGroup(String, String, int, int, RegionAnchor, int, ScreenMatcher) - Static method in class com.trevlar.menukit.core.MKCSlots
Turnkey rendering for a registered .onto slot group — call ONCE at client init (not per menu construction).
renderGroup(String, String, int, int, RegionAnchor, int, ScreenMatcher, Component) - Static method in class com.trevlar.menukit.core.MKCSlots
Tooltip-carrying overload of MKCSlots.renderGroup(String, String, int, int, RegionAnchor, int, ScreenMatcher) — attaches the given hover tooltip to every SlotElement it builds (the consumer never holds those instances on this path, so the tooltip flows through here, mirroring SlotSpec.tooltip on the container-parity path).
renderHud(GuiGraphicsExtractor, DeltaTracker) - Static method in class com.trevlar.menukit.MK
Renders all registered HUD panels.
Rendering - Section in class com.trevlar.menukit.core.ProgressBar
 
renderInsetRect(GuiGraphicsExtractor, int, int, int, int) - Static method in class com.trevlar.menukit.core.PanelRendering
Renders a vanilla-accurate inset rectangle of arbitrary dimensions — same shadow/highlight/fill pattern as slot backgrounds, but for non-slot recessed regions (scrollbar tracks, custom recessed inset areas).
renderLeft(GuiGraphicsExtractor, Component, int, int, int, int, boolean) - Static method in class com.trevlar.menukit.core.MKText
Convenience: left-aligned single-line scroll on a single text baseline.
renderMatchingPanels(AbstractContainerScreen, GuiGraphicsExtractor, int, int) - Static method in class com.trevlar.menukit.inject.SlotGroupPanelRegistry
Layer 1 of ContainerScreenLayers, after the menu-context flow panels.
Render order discipline - Section in class com.trevlar.menukit.core.DropdownMulti
 
renderOverlay(RenderContext) - Method in class com.trevlar.menukit.core.Dropdown
Phase 18s follow-up — popover renders on the overlay pass so it always wins z-order regardless of consumer element-declaration order.
renderOverlay(RenderContext) - Method in class com.trevlar.menukit.core.DropdownMulti
Phase 18s follow-up — popover renders on the overlay pass so it always wins z-order regardless of consumer element-declaration order.
renderOverlay(RenderContext) - Method in class com.trevlar.menukit.core.Flow
 
renderOverlay(RenderContext) - Method in interface com.trevlar.menukit.core.PanelElement
Phase 18s follow-up — second-pass render hook for ELEMENTS that draw transient overlays extending outside their layout bounds (Dropdown popovers, future tooltip-like floats, expand-on-click editors).
renderOverlay(RenderContext) - Method in class com.trevlar.menukit.core.ScrollContainer
Forwards the host's unclipped overlay pass to children at scroll-translated coords (Pass 3).
renderOverlayPanels(AbstractContainerScreen, GuiGraphicsExtractor, int, int) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
Layer 4 of ContainerScreenLayers: the modal dim, then every overlay-positioned adapter on top of it.
Render-overlay z-order (Phase 18t) - Section in class com.trevlar.menukit.core.Dropdown
 
renderPanel(GuiGraphicsExtractor, int, int, int, int, PanelStyle) - Static method in class com.trevlar.menukit.core.PanelRendering
Renders a panel background at the given position and size.
renderPanel(GuiGraphicsExtractor, int, int, int, int, PanelStyle, int, int, int) - Static method in class com.trevlar.menukit.core.PanelRendering
Renders a panel background with custom colors and the default black border.
renderPanel(GuiGraphicsExtractor, int, int, int, int, PanelStyle, int, int, int, int) - Static method in class com.trevlar.menukit.core.PanelRendering
Renders a panel background with fully-custom colors including border.
renderSlotBackground(GuiGraphicsExtractor, int, int) - Static method in class com.trevlar.menukit.core.PanelRendering
Renders a vanilla-accurate 18×18 slot background at the given position.
renderVanillaButton(GuiGraphicsExtractor, int, int, int, int, boolean, boolean) - Static method in enum class com.trevlar.menukit.core.ControlStyle
Renders a vanilla button-style background sprite at the given bounds, automatically picking the right sprite per state.
renderVanillaPopoverBackground(GuiGraphicsExtractor, int, int, int, int) - Static method in enum class com.trevlar.menukit.core.ControlStyle
Renders a vanilla-styled popover background for an open dropdown (or any future overlay container that should match the VANILLA trigger aesthetic).
renderVanillaPressedOverlay(GuiGraphicsExtractor, int, int, int, int) - Static method in enum class com.trevlar.menukit.core.ControlStyle
Phase 18t follow-up — renders the "pressed/engaged" visual overlay for a vanilla-styled control.
Replaces the per-frame scan with a session-bound cache (§3.7) - Section in class com.trevlar.menukit.core.CreatedSlotAdapter
 
requestOpen() - Method in class com.trevlar.menukit.screen.MKCMenu
Requests the server open this menu for the local player — client-side.
Resolution(boolean, Slot) - Constructor for record class com.trevlar.menukit.core.MKCSlotInput.Resolution
Creates an instance of a Resolution record class.
Resolution — exact-class only - Section in class com.trevlar.menukit.inject.MenuChrome
 
Resolution — exact-class only - Section in class com.trevlar.menukit.inject.SlotGroupCategories
 
resolve(int, int, int, int, int, int) - Method in enum class com.trevlar.menukit.hud.MKHudAnchor
Resolves this anchor + offset to absolute screen coordinates.
resolve(Address, BehaviorKey) - Method in class com.trevlar.menukit.core.BehaviorBindingTable
 
resolve(Address, BehaviorKey) - Method in interface com.trevlar.menukit.window.AuthoritativeDeclarations
The server-authoritative declaration for (address, key) — the server tier's own resolved result.
resolve(Address, BehaviorKey) - Static method in class com.trevlar.menukit.window.WindowEngine
The fully-resolved value of key at address — never null.
resolve(List, Function, int, int, boolean, boolean) - Static method in class com.trevlar.menukit.core.MainRegionLayout
Resolves the main-panel frame + region-anchored siblings.
resolve(List, Function, int, int, int, int, int) - Static method in record class com.trevlar.menukit.core.PanelTreeLayout
Computes the layout for panels using panelSizeFn to derive each panel's pixel size.
resolve(List, Map, int, int, int) - Static method in class com.trevlar.menukit.core.PanelLayout
Resolves layout bounds for a list of panels given their computed sizes.
resolve(AbstractContainerScreen, int) - Static method in class com.trevlar.menukit.inject.VanillaSlotResolver
The absolute on-screen item box for player-inventory containerIndex on screen, or empty when the screen doesn't surface that player slot.
resolve(AbstractContainerScreen, Address) - Static method in class com.trevlar.menukit.window.SlotWindowResolver
The live in-menu Slot an address names on this screen, or empty if the address doesn't belong to this screen (held-handle no-op) or names nothing present.
resolve(AbstractContainerMenu) - Method in interface com.trevlar.menukit.inject.SlotGroupResolver
Maps the given menu instance's slots to category-keyed index arrays.
resolve(AbstractContainerMenu, Address) - Method in class com.trevlar.menukit.core.CreatedSlotAdapter
 
resolve(AbstractContainerMenu, Address) - Method in interface com.trevlar.menukit.window.CreatedSlotResolver
The live in-menu slot for a created-slot address — the slot AS IT SITS IN menu.slots: the raw MKCSlot on survival, or the creative wrapper around it (so a click routes correctly and its x/y are the ones vanilla draws at).
resolve(ItemStack, boolean) - Method in enum class com.trevlar.menukit.core.DropRule
Resolves this (possibly DEFAULT) rule to a concrete action for a specific stack.
resolveAround(Panel, MenuRegion, ScreenBounds, int, int, int, int) - Static method in class com.trevlar.menukit.inject.RegionRegistry
The frame-relative region resolution CORE, shared by the vanilla-injection path (RegionRegistry.resolveMenuOrigin(Panel, MenuRegion, ScreenBounds, AbstractContainerScreen), frame = the menu frame) and the custom- screen path (Movement ③ — frame = the screen's MAIN panel bounds, fed by MainRegionLayout).
Resolved(String, int) - Constructor for record class com.trevlar.menukit.window.VanillaSlotIdentity.Resolved
Creates an instance of a Resolved record class.
resolveHover(AbstractContainerScreen, double, double) - Method in class com.trevlar.menukit.core.MKCSlotScreenHook
 
resolveHover(AbstractContainerScreen, double, double) - Method in interface com.trevlar.menukit.inject.SlotScreenHook
Fired at getHoveredSlot HEAD.
resolveHoveredSlot(AbstractContainerScreen, double, double) - Static method in class com.trevlar.menukit.core.MKCSlotInput
Resolves the slot under (mouseX, mouseY) considering every revealed registered panel on screen.
resolveHoveredSlot(AbstractContainerScreen, double, double, Set) - Static method in class com.trevlar.menukit.core.MKCSlotInput
Resolves the slot under (mouseX, mouseY) considering only the revealed slots whose panel id is in panelFilter (or all slots when panelFilter is null).
resolveHud(HudRegion, int, int, int, int, int) - Static method in class com.trevlar.menukit.core.RegionMath
Resolves a HUD-region panel's origin.
resolveMenu(MenuRegion, ScreenBounds, int, int, int, int, int) - Static method in class com.trevlar.menukit.core.RegionMath
Resolves a MenuContext region panel's origin.
resolveMenuOrigin(Panel, MenuRegion, ScreenBounds, AbstractContainerScreen) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Resolves the screen-space origin for a MenuContext panel.
resolvePosition(AbstractContainerScreen, Address) - Static method in class com.trevlar.menukit.window.SlotWindowResolver
The absolute on-screen item box for an address, or empty (same no-op rules).
resolverId() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.Modded
Returns the value of the resolverId record component.
resolveScreenRegion(ScreenRegion, int, int, int, int, int) - Static method in class com.trevlar.menukit.core.RegionMath
Places a pw × ph chrome panel at one of the nine ScreenRegion screen-edge spots, inset by margin from the edges it touches.
resolveSlotGroup(SlotGroupRegion, SlotGroupBounds, int, int, int, int, int) - Static method in class com.trevlar.menukit.core.SlotGroupRegionMath
Resolves a SlotGroupContext region panel's origin.
resolveVanillaScreen(ScreenRegion, int, int, int, int, int) - Static method in class com.trevlar.menukit.core.RegionMath
Region-relative placement for ScreenRegions on a vanilla non-container screen (Options, Controls, KeyBinds, etc.).
resolveVanillaScreenOrigin(Panel, ScreenRegion, int, int, Screen) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Resolves the screen-space origin for a VanillaScreenContext panel.
restore(ServerPlayer, PlayerSlotCapture.CapturedSlot) - Static method in class com.trevlar.menukit.core.attachment.PlayerSlotCapture
Writes a captured stack back to its slot on grave collect.
restoreAll(ServerPlayer, List) - Static method in class com.trevlar.menukit.core.attachment.PlayerSlotCapture
Restores a whole capture; returns the stacks that could NOT be placed (unknown attachment / out-of-range index) so the caller can drop them.
restoreIfAny() - Static method in class com.trevlar.menukit.input.CursorContinuity
Restores the stashed cursor position if one is pending, then clears the stash.
Result(int, int, int, int, Map) - Constructor for record class com.trevlar.menukit.core.MainRegionLayout.Result
Creates an instance of a Result record class.
revealWhen(BooleanSupplier) - Method in class com.trevlar.menukit.core.MKCSlots.Builder
Client-side reveal predicate.
revealWhen(BooleanSupplier) - Method in class com.trevlar.menukit.core.SlotSpec
Client-side reveal predicate.
right() - Method in record class com.trevlar.menukit.inject.MenuChrome.ChromeExtents
Returns the value of the right record component.
RIGHT - Enum constant in enum class com.trevlar.menukit.hud.MKHudNotification.SlideDirection
 
RIGHT - Static variable in record class com.trevlar.menukit.core.Click
 
RIGHT_ALIGN_BOTTOM - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
 
RIGHT_ALIGN_BOTTOM - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
 
RIGHT_ALIGN_TOP - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
 
RIGHT_ALIGN_TOP - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
 
RIGHT_CENTER - Enum constant in enum class com.trevlar.menukit.core.HudRegion
 
RIGHT_CENTER - Enum constant in enum class com.trevlar.menukit.core.ScreenRegion
 
RIGHT_TO_LEFT - Enum constant in enum class com.trevlar.menukit.core.ProgressBar.Direction
 
rightClick(BiConsumer) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Sets a right-click handler on the last-added group.
Role in the engine (kind-agnostic resolution) - Section in enum class com.trevlar.menukit.window.KindTag
 
root(ScreenFamilyKey, OwnerScope) - Static method in interface com.trevlar.menukit.window.OwnerRef
 
RootOwner(ScreenFamilyKey, OwnerScope) - Constructor for record class com.trevlar.menukit.window.OwnerRef.RootOwner
Creates an instance of a RootOwner record class.
route(AbstractContainerMenu, Player, int) - Static method in class com.trevlar.menukit.core.MKCSlotQuickMove
Routes a shift-click at index considering the slots on menu.
Row - Class in com.trevlar.menukit.core.layout
Build-time horizontal layout helper.
Row.Builder - Class in com.trevlar.menukit.core.layout
Builder for a single row layout.
run(Address, BehaviorKey, Runnable) - Static method in class com.trevlar.menukit.window.ReactionGuard
Run body as a reaction for (address, key) iff the bound allows it — i.e.
runReturnAction() - Method in class com.trevlar.menukit.screen.MKScreen
Runs the return action if one is set and returns true; otherwise returns false so the caller can fall back to its default navigation.

S

Same registry, separate dispatch path - Section in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
 
scale(float) - Method in class com.trevlar.menukit.core.TextLabel
Sets a uniform render scale (folded from the former MKHudText).
scale(float) - Method in class com.trevlar.menukit.hud.MKHudPanel.TextBuilder
 
scope() - Method in record class com.trevlar.menukit.window.OwnerRef.RootOwner
Returns the value of the scope record component.
Scope - Section in class com.trevlar.menukit.core.Checkbox
 
Scope - Section in class com.trevlar.menukit.core.Divider
 
Scope - Section in class com.trevlar.menukit.core.Icon
 
Scope - Section in class com.trevlar.menukit.core.ProgressBar
 
Scope - Section in enum class com.trevlar.menukit.core.ControlStyle
 
SCOPE_KEY - Static variable in class com.trevlar.menukit.core.KeyedStorages
Payload key: slot ownership scope.
SCOPE_PLAYER - Static variable in class com.trevlar.menukit.core.KeyedStorages
KeyedStorages.SCOPE_KEY value for player-owned slots.
scopeId() - Method in record class com.trevlar.menukit.window.VanillaSlotIdentity.Resolved
Returns the value of the scopeId record component.
scopeOf(AbstractContainerMenu) - Static method in class com.trevlar.menukit.window.WindowMint
The scope of a live menu.
Scope — this menu only (use MKCContainerPanel for parity) - Section in class com.trevlar.menukit.core.MKCSlots
 
Scope — what the adapter bundles, what it doesn't - Section in class com.trevlar.menukit.inject.ScreenPanelAdapter
 
screen(MKCMenuScreenFactory) - Method in class com.trevlar.menukit.screen.MKCMenu.Builder
The client screen factory.
SCREEN_ANCHOR - Enum constant in enum class com.trevlar.menukit.core.PanelPosition.Mode
Pinned to a fixed screen-edge spot (Pass 3), inset by RegionConstants.SCREEN_EDGE_MARGIN.
SCREEN_EDGE_MARGIN - Static variable in class com.trevlar.menukit.core.RegionConstants
Screen-edge safe-area margin (pixels, GUI-scaled) for the adaptive layout foundation (Pass 3).
SCREEN_STACK_GAP - Static variable in class com.trevlar.menukit.core.RegionConstants
Stacking gap (pixels, GUI-scaled) for the vanilla non-container screen context.
Screen-agnostic - Section in class com.trevlar.menukit.inject.VanillaSlotResolver
 
screenAnchor() - Method in record class com.trevlar.menukit.core.PanelPosition
Returns the value of the screenAnchor record component.
screenAnchor(ScreenRegion) - Static method in record class com.trevlar.menukit.core.PanelPosition
Pins the panel to a fixed screen-edge spot (Pass 3) — inset by RegionConstants.SCREEN_EDGE_MARGIN from the edges that spot touches.
ScreenBounds - Record Class in com.trevlar.menukit.inject
Snapshot of a vanilla AbstractContainerScreen's layout bounds for one render or input-dispatch frame.
ScreenBounds(int, int, int, int) - Constructor for record class com.trevlar.menukit.inject.ScreenBounds
Creates an instance of a ScreenBounds record class.
ScreenFamilyKey - Record Class in com.trevlar.menukit.window
Stable identity of a menu/screen family — the top of an Address's owner chain (a RootOwner pairs one of these with an OwnerScope).
ScreenFamilyKey(Identifier) - Constructor for record class com.trevlar.menukit.window.ScreenFamilyKey
Creates an instance of a ScreenFamilyKey record class.
ScreenMatcher - Class in com.trevlar.menukit.inject
Which screens a registered-slot presence (or any screen-complete feature) applies to — the consumer-facing expression of inventory-screen parity's default-on, opt-out-per-screen rule.
ScreenOrigin - Record Class in com.trevlar.menukit.inject
Screen-space top-left coordinates of an injected panel.
ScreenOrigin(int, int) - Constructor for record class com.trevlar.menukit.inject.ScreenOrigin
Creates an instance of a ScreenOrigin record class.
ScreenPanelAdapter - Class in com.trevlar.menukit.inject
Renders a Panel inside a vanilla container screen and dispatches input to it.
ScreenPanelAdapter(Panel, int) - Constructor for class com.trevlar.menukit.inject.ScreenPanelAdapter
Pixel-positioned constructor (§0057 Revision — the precision escape).
ScreenPanelAdapter(Panel, MenuRegion, int) - Constructor for class com.trevlar.menukit.inject.ScreenPanelAdapter
Region-aware constructor with explicit padding.
ScreenPanelAdapter(Panel, RegionAnchor) - Constructor for class com.trevlar.menukit.inject.ScreenPanelAdapter
Region-aware constructor accepting a RegionAnchor — region paired with an explicit stacking priority.
ScreenPanelAdapter(Panel, RegionAnchor, int) - Constructor for class com.trevlar.menukit.inject.ScreenPanelAdapter
Region-aware constructor with both explicit padding and priority.
ScreenPanelRegistry - Class in com.trevlar.menukit.inject
Library-owned registry of MenuContext ScreenPanelAdapters that declare targeting via .on(...) or .onAny().
ScreenRegion - Enum Class in com.trevlar.menukit.core
A spot on the SCREEN edge — the nine-spot screen-edge vocabulary: the four corners, the four edge midpoints, and the centre.
SCROLL_PIXELS_PER_TICK - Static variable in class com.trevlar.menukit.core.ScrollContainer
Pixels scrolled per mouse-wheel tick.
ScrollContainer - Class in com.trevlar.menukit.core
A clipped viewport hosting pre-positioned PanelElements with vertical scroll input.
ScrollContainer.Builder - Class in com.trevlar.menukit.core
Builder for ScrollContainer.
SCROLLER_DISABLED_SPRITE - Static variable in class com.trevlar.menukit.core.ScrollContainer
Vanilla scroller-disabled sprite (used when content fits viewport).
SCROLLER_GUTTER - Static variable in class com.trevlar.menukit.core.ScrollContainer
Pixels of gutter between viewport content and the scrollbar track.
SCROLLER_HEIGHT - Static variable in class com.trevlar.menukit.core.ScrollContainer
Height of the scrollbar handle sprite, in pixels.
SCROLLER_SPRITE - Static variable in class com.trevlar.menukit.core.ScrollContainer
Vanilla scroller-enabled sprite — same identifier CreativeModeInventoryScreen.SCROLLER_SPRITE uses.
SCROLLER_TRACK_PADDING - Static variable in class com.trevlar.menukit.core.ScrollContainer
Pixels of padding inside the track around the handle.
SCROLLER_WIDTH - Static variable in class com.trevlar.menukit.core.ScrollContainer
Width of the scrollbar handle sprite, in pixels.
Scroll input — v1 sources - Section in class com.trevlar.menukit.core.ScrollContainer
 
scrollOffset(DoubleSupplier, DoubleConsumer) - Method in class com.trevlar.menukit.core.ScrollContainer.Builder
Sets the scroll position state via a supplier (read each frame) and an optional callback (fired on scroll events).
Scroll position state — Principle 8 lens pattern - Section in class com.trevlar.menukit.core.ScrollContainer
 
Sealed-extensible - Section in interface com.trevlar.menukit.window.OwnerScope
 
SECTION_GAP - Static variable in class com.trevlar.menukit.core.dialog.AlertDialog
Vertical gap between title, body, and button row sections.
SECTION_GAP - Static variable in class com.trevlar.menukit.core.dialog.ConfirmDialog
Vertical gap between title, body, and button row sections.
selectAllRow(Component, Runnable) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Optional: configure a "Select all" pinned-top action row.
selected() - Static method in class com.trevlar.menukit.window.WindowSignals
The last-clicked slot's Address, or null.
selectedName() - Static method in class com.trevlar.menukit.window.WindowSignals
The last-clicked slot's display name, or null.
selection(Supplier, Consumer) - Method in class com.trevlar.menukit.core.Dropdown.Builder
Required: lens pair for the current selection.
selection(Supplier, Consumer) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Required: lens pair.
self() - Method in class com.trevlar.menukit.core.AbstractPanelElement
Returns this typed as the concrete subclass.
self() - Method in class com.trevlar.menukit.core.Button
 
self() - Method in class com.trevlar.menukit.core.Checkbox
 
self() - Method in class com.trevlar.menukit.core.Divider
 
self() - Method in class com.trevlar.menukit.core.Dropdown
 
self() - Method in class com.trevlar.menukit.core.DropdownMulti
 
self() - Method in class com.trevlar.menukit.core.Flow
 
self() - Method in class com.trevlar.menukit.core.Icon
 
self() - Method in class com.trevlar.menukit.core.InfoBox
 
self() - Method in class com.trevlar.menukit.core.ItemDisplay
 
self() - Method in class com.trevlar.menukit.core.ProgressBar
 
self() - Method in class com.trevlar.menukit.core.Radio
 
self() - Method in class com.trevlar.menukit.core.ScrollContainer
 
self() - Method in class com.trevlar.menukit.core.Slider
 
self() - Method in class com.trevlar.menukit.core.TextField
 
self() - Method in class com.trevlar.menukit.core.TextLabel
 
self() - Method in class com.trevlar.menukit.core.Toggle
 
Self-healing behavior - Section in com.trevlar.menukit.core.Toggle.linked(int, int, int, int, BooleanSupplier, Consumer)
 
Self-type parameter (SELF) — fluent chaining without downcasts - Section in class com.trevlar.menukit.core.AbstractPanelElement
 
SERVER - Enum constant in enum class com.trevlar.menukit.window.Tier
 
ServerTier - Class in com.trevlar.menukit.window
The MK-side holder for the server tier's installed implementation (DIP ownership-inversion: MK owns the ports, MKC conforms and registers here at init).
ServerTierBridge - Interface in com.trevlar.menukit.window
Port (MK defines, MKC implements): the WRITE side of the server tier.
serverTierPresent() - Static method in class com.trevlar.menukit.window.WindowEngine
Whether the server tier (MKC) is present.
set(Address, BehaviorKey, Decl) - Static method in class com.trevlar.menukit.window.WindowEngine
Declare a behavior on one address (the most specific level).
set(Address, T) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Writes value at the slot named by address, in the client player's open menu.
set(BehaviorKey, Decl) - Method in class com.trevlar.menukit.window.WindowHandle
Declare a behavior on this address (per-slot specificity).
set(BehaviorKey, V) - Method in class com.trevlar.menukit.window.WindowHandle
Declare a behavior to an explicit value (sugar for set(key, Decl.set(value))).
set(Player, PersistentContainerKey, int, T) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Writes to persistent storage directly.
set(Player, Address, T) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Writes value at the slot named by address for an explicit player.
set(Player, Slot, T) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Writes value at slot with explicit player context.
set(Slot, T) - Method in record class com.trevlar.menukit.core.SlotStateChannel
Writes value at slot.
set(ItemStack) - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
set(V) - Static method in interface com.trevlar.menukit.window.Decl
 
Set(V) - Constructor for record class com.trevlar.menukit.window.Decl.Set
Creates an instance of a Set record class.
setActingPlayer(Player) - Static method in class com.trevlar.menukit.core.GatingContext
Capture the acting player for the duration of a click transaction.
setAvailableContentHeight(int) - Method in class com.trevlar.menukit.core.Panel
Imposes the per-frame screen-edge content-HEIGHT ceiling (Movement ②) — the vertical twin of Panel.setAvailableContentWidth(int).
setAvailableContentWidth(int) - Method in class com.trevlar.menukit.core.Panel
Sets the screen-edge-derived available content width (Pass 3 adaptive wrap).
setByPlayer(ItemStack, ItemStack) - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
setChanged() - Method in class com.trevlar.menukit.core.CreativeSlotWrapper
 
setChanged() - Method in class com.trevlar.menukit.core.StorageContainerAdapter
 
setChecked(boolean) - Method in class com.trevlar.menukit.core.Checkbox
Sets the checked state programmatically.
setChildPosition(int, int) - Method in class com.trevlar.menukit.core.AbstractPanelElement
Moves this element's presentation position at runtime (§0047).
setCreatedSlotResolver(CreatedSlotResolver) - Static method in class com.trevlar.menukit.window.SlotWindowResolver
MKC installs its created-slot resolver here at client init.
setDeathDropRule(AttachmentType, DropRule) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Override the death-drop rule for a player content attachment.
setElementOpaque(boolean) - Method in class com.trevlar.menukit.core.AbstractPanelElement
Sets whether this element is interaction-opaque (M9).
setFlatIndexRange(int, int) - Method in class com.trevlar.menukit.core.SlotGroup
Sets the flat index range.
setGroup(GroupKey, BehaviorKey, Decl) - Static method in class com.trevlar.menukit.window.WindowEngine
Declare a behavior as a group default (the bulk level).
setHook(SlotScreenHook) - Static method in class com.trevlar.menukit.inject.SlotScreenDispatcher
Registers the registered-slot hook.
setItem(int, ItemStack) - Method in class com.trevlar.menukit.core.StorageContainerAdapter
 
setOn(boolean) - Method in class com.trevlar.menukit.core.Toggle
Sets the toggle state programmatically.
setOwner(PanelOwner) - Method in class com.trevlar.menukit.core.Panel
Sets the owning handler.
setPanelVisible(String, boolean) - Method in class com.trevlar.menukit.screen.MKCScreenHandler
Sets a panel's visibility.
setRecipeBookOpen(boolean) - Static method in class com.trevlar.menukit.MK
Sets the recipe book's visibility on the active screen.
setRecipeBookOpen(boolean) - Static method in class com.trevlar.menukit.MKClient
Sets the recipe book's visibility on the active screen.
setReturnAction(Runnable) - Method in class com.trevlar.menukit.screen.MKScreen
Sets the action run when this screen closes via Escape (see MKScreen.returnAction).
setRightClickHandler(BiConsumer) - Method in class com.trevlar.menukit.core.SlotGroup
Sets the right-click handler.
setSelected(T) - Method in class com.trevlar.menukit.core.RadioGroup
Sets the selection programmatically.
setStack(int, ItemStack) - Method in class com.trevlar.menukit.core.EphemeralStorage
 
setStack(int, ItemStack) - Method in class com.trevlar.menukit.core.ReadOnlyStorage
No-op.
setStack(int, ItemStack) - Method in interface com.trevlar.menukit.core.Storage
Sets the stack at the given local index.
setStack(int, ItemStack) - Method in class com.trevlar.menukit.core.VirtualStorage
 
setValue(String) - Method in class com.trevlar.menukit.core.TextField
Imperative escape hatch — programmatically sets the field's value.
setVisible(boolean) - Method in class com.trevlar.menukit.core.AbstractPanelElement
Sets this element's imperative visibility.
setVisible(boolean) - Method in class com.trevlar.menukit.core.Panel
Sets this panel's visibility and notifies the owner to trigger a sync pass over the affected slots.
setWrapWidth(int) - Method in class com.trevlar.menukit.core.TextLabel
Sets the maximum horizontal pixel width this label may occupy.
SHARED - Enum constant in enum class com.trevlar.menukit.core.SlotStateChannel.Visibility
 
shift() - Method in record class com.trevlar.menukit.core.Click
Returns the value of the shift record component.
SHIFT_CLICK - Static variable in record class com.trevlar.menukit.window.ReactCause
A player shift-clicked a stack across menus (moveItemStackTo).
shouldEatCovered(boolean) - Static method in class com.trevlar.menukit.inject.ScreenPanelRegistry
M9 pure decision used by the allowMouseClick hook to determine whether a click should be eaten from vanilla.
showInScreen() - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Panel stays visible even when a screen is open.
showsCount() - Method in class com.trevlar.menukit.core.ItemDisplay
Returns whether the count overlay renders.
showsDurability() - Method in class com.trevlar.menukit.core.ItemDisplay
Returns whether the durability bar renders.
showWhen() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the showWhen record component.
showWhen(BooleanSupplier) - Method in class com.trevlar.menukit.core.AbstractPanelElement
Installs a supplier that drives this element's visibility.
showWhen(BooleanSupplier) - Method in class com.trevlar.menukit.core.Panel
Installs a supplier that drives this panel's visibility.
showWhen(BooleanSupplier) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Gates the WHOLE panel's visibility (chrome + slot presentation) on a client-side predicate — the entire parity panel appears/disappears as one.
showWhen(BooleanSupplier) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Sets a visibility condition — panel only renders when true.
SHULKER_STORAGE - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
Single-responsibility design - Section in class com.trevlar.menukit.core.ScrollContainer
 
size() - Method in class com.trevlar.menukit.core.EphemeralStorage
 
size() - Method in class com.trevlar.menukit.core.ReadOnlyStorage
 
size() - Method in interface com.trevlar.menukit.core.Storage
Returns the number of slots in this storage.
size() - Method in class com.trevlar.menukit.core.VirtualSlotGroup
Returns the number of slots in this group.
size() - Method in class com.trevlar.menukit.core.VirtualStorage
 
size(int) - Method in class com.trevlar.menukit.core.ItemDisplay
Fluent resize sugar — sets the item render size in pixels (items are always square, so this is a single dimension) and returns this display for chaining.
size(int) - Method in class com.trevlar.menukit.hud.MKHudPanel.ItemBuilder
 
size(int, int) - Method in class com.trevlar.menukit.core.Button
Fluent resize sugar — sets the button's pixel dimensions and returns this button for chaining.
size(int, int) - Method in class com.trevlar.menukit.core.Divider
Fluent resize sugar — sets the divider's raw pixel extent (width × height) and returns this divider for chaining.
size(int, int) - Method in class com.trevlar.menukit.core.Icon
Fluent resize sugar — sets the icon's pixel dimensions and returns this icon for chaining.
size(int, int) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Pins BOTH axes — convenience for MKCContainerPanel.Builder.pinnedWidth(int) + MKCContainerPanel.Builder.pinnedHeight(int), the bulletproof "footprint never changes on reveal" form.
size(int, int) - Method in class com.trevlar.menukit.core.Panel
Pins this panel's width and height for the region-stacking calculation.
size(int, int) - Method in class com.trevlar.menukit.core.ProgressBar
Fluent resize sugar — sets the bar's pixel dimensions and returns this bar for chaining.
size(int, int) - Method in class com.trevlar.menukit.core.ScrollContainer.Builder
Sets the viewport dimensions (full width includes scrollbar gutter).
size(int, int) - Method in class com.trevlar.menukit.core.Slider.Builder
Required: width × height in pixels.
size(int, int) - Method in class com.trevlar.menukit.core.TextField.Builder
Required: width × height in pixels.
size(int, int) - Method in class com.trevlar.menukit.core.Toggle
Fluent resize sugar — sets the toggle's base pixel dimensions and returns this toggle for chaining.
size(int, int) - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Explicit panel size; if 0, auto-sized from content.
size(int, int) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Sets explicit panel size (ignored if autoSize is enabled).
slideDistance(int) - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Slide-in animation distance in pixels (default 20).
slideFrom(MKHudNotification.SlideDirection) - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Direction the notification slides in from (default TOP).
Slider - Class in com.trevlar.menukit.core
Continuous-value slider control.
Slider.Builder - Class in com.trevlar.menukit.core
 
slot() - Method in record class com.trevlar.menukit.core.MKCSlotInput.Resolution
Returns the value of the slot record component.
slot() - Method in record class com.trevlar.menukit.inject.SlotHoverResult
Returns the value of the slot record component.
slot(int) - Method in class com.trevlar.menukit.window.WindowView
A handle on the vanilla slot at flat menu index.
slot(int, int) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds a hotbar-style slot and returns a SlotBuilder for customization.
slot(int, int, Supplier) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds a hotbar-style slot with an item inside.
slot(Address) - Static method in class com.trevlar.menukit.window.Window
A handle on anything already named by an Address (slot/element/panel).
slot(Address) - Method in class com.trevlar.menukit.window.WindowView
A handle on a slot named by address (vanilla or created).
SLOT_HEIGHT - Static variable in class com.trevlar.menukit.hud.MKHudSlot
 
SLOT_PITCH - Static variable in class com.trevlar.menukit.core.MKCSlots
Vanilla slot pitch in pixels (16px slot + 2px frame).
SLOT_WIDTH - Static variable in class com.trevlar.menukit.hud.MKHudSlot
 
SlotAddresses - Class in com.trevlar.menukit.core
The one MKC-side entry that mints the Address of any live slot, kind-dispatched — the server/enforcement counterpart of the client resolver.
Slot-agnostic - Section in class com.trevlar.menukit.inject.VanillaSlotResolver
 
slotCount() - Method in interface com.trevlar.menukit.core.attachment.CustomAttachmentSpec
How many slots this content holds.
slotCount() - Method in class com.trevlar.menukit.core.StorageAttachment
Number of slots this attachment's content holds.
slotCountOf(AttachmentType) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
Slot count for a registered attachment — used at drop-on-break to size the list.
SlotElement - Class in com.trevlar.menukit.core
A registered MKC slot presented as a PanelElement — the keystone of the everything-is-a-panel model.
SlotElement(String, String, int, int, int) - Constructor for class com.trevlar.menukit.core.SlotElement
 
SlotElementRegistry - Class in com.trevlar.menukit.core
The set of SlotElements currently attached to an open screen — the bridge that lets MenuKit's library-owned screen hook resolve hover/click for panel-hosted slots.
SlotFlowElement - Class in com.trevlar.menukit.core
The reactive slot-wrapping primitive — the slot analogue of element/text reactive sizing (Movement ④).
SlotFlowElement(List, int, int) - Constructor for class com.trevlar.menukit.core.SlotFlowElement
 
SlotGate - Interface in com.trevlar.menukit.core
The value of the GATING server-tier behavior — what a slot accepts and releases.
SlotGroup - Class in com.trevlar.menukit.core
Where structure lives.
SlotGroup(String, Storage) - Constructor for class com.trevlar.menukit.core.SlotGroup
Convenience: default priority (100).
SlotGroup(String, Storage, int) - Constructor for class com.trevlar.menukit.core.SlotGroup
 
SlotGroup(String, Storage, int, int, int, int) - Constructor for class com.trevlar.menukit.core.SlotGroup
Full constructor with layout metadata.
SlotGroupBounds - Record Class in com.trevlar.menukit.inject
The bounding rectangle of a slot group in screen space.
SlotGroupBounds(int, int, int, int) - Constructor for record class com.trevlar.menukit.inject.SlotGroupBounds
Creates an instance of a SlotGroupBounds record class.
SlotGroupCategories - Class in com.trevlar.menukit.inject
Library-owned registry of per-menu-class SlotGroupResolvers.
SlotGroupCategory - Record Class in com.trevlar.menukit.core
Pure identity tag identifying a slot group for SlotGroupContext panel targeting.
SlotGroupCategory(String, String) - Constructor for record class com.trevlar.menukit.core.SlotGroupCategory
Creates an instance of a SlotGroupCategory record class.
SlotGroupLike - Interface in com.trevlar.menukit.core
The uniform abstraction for slot groups.
SlotGroupPanelAdapter - Class in com.trevlar.menukit.inject
Adapter that anchors a Panel to a slot group's bounding box.
SlotGroupPanelAdapter(Panel, RegionAnchor) - Constructor for class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Region-aware constructor accepting a RegionAnchor — a slot-group region paired with an explicit stacking priority (e.g.
SlotGroupPanelAdapter(Panel, RegionAnchor, int) - Constructor for class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Region-aware constructor with both explicit padding and priority.
SlotGroupPanelAdapter(Panel, SlotGroupRegion) - Constructor for class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Constructs an adapter with default content padding.
SlotGroupPanelAdapter(Panel, SlotGroupRegion, int) - Constructor for class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Constructor with explicit content padding.
SlotGroupPanelRegistry - Class in com.trevlar.menukit.inject
Library-owned registry of SlotGroupContext SlotGroupPanelAdapters that declare targeting via .on(SlotGroupCategory...).
SlotGroupRegion - Enum Class in com.trevlar.menukit.core
Named regions for positioning decoration panels around the bounding box of a slot group.
SlotGroupRegionMath - Class in com.trevlar.menukit.core
Pure coordinate resolver for SlotGroupContext regions.
SlotGroupRegionRegistry - Class in com.trevlar.menukit.inject
Internal registry for SlotGroupContext panel registrations.
SlotGroupResolver - Interface in com.trevlar.menukit.inject
Per-menu-class strategy that maps an AbstractContainerMenu instance to its SlotGroupCategory-keyed slot groupings, expressed as slot indices (positions in menu.slots).
SlotHandle - Class in com.trevlar.menukit.window
A typed handle on a slot (vanilla or created) — exposes the slot verbs whose value type is an MK type, plus the generic substrate inherited from WindowHandle.
SlotHoverResult - Record Class in com.trevlar.menukit.inject
Neutral result of resolving a screen point against the revealed registered slots on a screen — the value a SlotScreenHook.resolveHover(AbstractContainerScreen, double, double) call returns to MenuKit's getHoveredSlot mixin.
SlotHoverResult(boolean, Slot) - Constructor for record class com.trevlar.menukit.inject.SlotHoverResult
Creates an instance of a SlotHoverResult record class.
SlotIdentity - Record Class in com.trevlar.menukit.core
Stable cross-menu identity for a slot: the pair of its backing Container reference and its index within that container (Slot.getContainerSlot()).
SlotIdentity(Container, int) - Constructor for record class com.trevlar.menukit.core.SlotIdentity
Creates an instance of a SlotIdentity record class.
SlotNames - Class in com.trevlar.menukit.window
The display-NAME layer for windowed slots — MK-owned, client-side, purely a display concern (separate from identity; see Address).
SlotRendering - Class in com.trevlar.menukit.core
The recessed 18×18 slot frame for registered slots that live outside a vanilla container texture — the one piece of a created slot's presentation that is panel chrome rather than the slot itself.
slots() - Method in record class com.trevlar.menukit.core.MKCSlots.RegisteredSlots
Returns the value of the slots record component.
Slots - Class in com.trevlar.menukit.inject
The one place a slot in a screen's menu.slots is resolved to the real vanilla Slot it represents — itself on most screens, or the slot a creative SlotWrapper delegates to on the creative inventory tab.
SlotScreenDispatcher - Class in com.trevlar.menukit.inject
The §0042 firewall between MenuKit's registered-slot screen dispatch and MenuKit-Containers' registered-slot work.
SlotScreenHook - Interface in com.trevlar.menukit.inject
The neutral plug MenuKit exposes so panel-hosted registered slots can resolve hover/click through a library-owned screen dispatch — without MenuKit ever referencing a registered-slot type (§0042).
SlotScreenRect - Record Class in com.trevlar.menukit.inject
A vanilla slot's on-screen item box in absolute screen-space pixels — what VanillaSlotResolver.resolve(AbstractContainerScreen, int) returns.
SlotScreenRect(int, int, int, int) - Constructor for record class com.trevlar.menukit.inject.SlotScreenRect
Creates an instance of a SlotScreenRect record class.
SlotSpec - Class in com.trevlar.menukit.core
A side-neutral, declarative description of one registered-slot group that a MKCContainerPanel projects onto every container the player opens — the "recipe" half of container parity.
SlotStateChannel<T> - Record Class in com.trevlar.menukit.core
Typed per-slot state channel — the consumer-facing handle for reading and writing slot state.
SlotStateChannel(Identifier, Codec, StreamCodec, T) - Constructor for record class com.trevlar.menukit.core.SlotStateChannel
Backward-compatible constructor — produces a PRIVATE channel.
SlotStateChannel(Identifier, Codec, StreamCodec, T, SlotStateChannel.Visibility) - Constructor for record class com.trevlar.menukit.core.SlotStateChannel
Creates an instance of a SlotStateChannel record class.
SlotStateChannel.Visibility - Enum Class in com.trevlar.menukit.core
Channel visibility (§0049).
SlotWindowResolver - Class in com.trevlar.menukit.window
Resolves an Address back to its live backing — the resolution mechanics of THE ONE WINDOW (still no behavior; pure location).
SMITHING_ADDITION - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
SMITHING_BASE - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
SMITHING_OUTPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
SMITHING_TEMPLATE - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
snapshot(Address, ItemStack, ItemStack, ReactCause) - Static method in record class com.trevlar.menukit.window.ReactEvent
Build an event, snapshotting both stacks so the hook can't reach the live slot.
Sources (wired at mint time — Phase 2) - Section in record class com.trevlar.menukit.window.Address
 
spacing(int) - Method in class com.trevlar.menukit.core.layout.Column.Builder
Pixel spacing between adjacent children.
spacing(int) - Method in class com.trevlar.menukit.core.layout.Row.Builder
Pixel spacing between adjacent children.
spec() - Method in class com.trevlar.menukit.core.Dropdown.Builder
Layout terminal (Phase 3b — Item 6).
spec() - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Layout terminal (Phase 3b — Item 6).
spec() - Method in class com.trevlar.menukit.core.ScrollContainer.Builder
Layout terminal (Phase 3b — Item 6).
spec() - Method in class com.trevlar.menukit.core.Slider.Builder
Layout terminal (Phase 3b — Item 6).
spec() - Method in class com.trevlar.menukit.core.TextField.Builder
Layout terminal (Phase 3b — Item 6).
spec(boolean, Component, Consumer) - Static method in class com.trevlar.menukit.core.Checkbox
Returns an ElementSpec for static label.
spec(boolean, Component, Consumer, BooleanSupplier) - Static method in class com.trevlar.menukit.core.Checkbox
Layout spec for static label with optional disabled-predicate.
spec(int, int, boolean, Consumer) - Static method in class com.trevlar.menukit.core.Toggle
Returns an ElementSpec for use in Row or Column layouts.
spec(int, int, boolean, Consumer, BooleanSupplier) - Static method in class com.trevlar.menukit.core.Toggle
Layout spec with optional disabled-predicate.
spec(int, int, DoubleSupplier) - Static method in class com.trevlar.menukit.core.ProgressBar
Returns an ElementSpec for a default-styled progress bar (left-to-right, default colors, no label).
spec(int, int, DoubleSupplier, ProgressBar.Direction, int, int, Supplier) - Static method in class com.trevlar.menukit.core.ProgressBar
Layout spec with full configuration.
spec(int, int, Supplier) - Static method in class com.trevlar.menukit.core.InfoBox
Layout spec for supplier-driven info-box text with consumer-declared dimensions.
spec(int, int, Supplier) - Static method in class com.trevlar.menukit.core.TextLabel
Returns an ElementSpec for supplier-driven text with consumer-declared dimensions.
spec(int, int, Supplier) - Static method in class com.trevlar.menukit.core.Icon
Layout spec for supplier-driven sprite.
spec(int, int, Component, Consumer) - Static method in class com.trevlar.menukit.core.Button
Returns an ElementSpec for use in Row or Column layouts.
spec(int, int, Component, Consumer, BooleanSupplier) - Static method in class com.trevlar.menukit.core.Button
Layout spec with optional disabled-predicate.
spec(int, int, Identifier) - Static method in class com.trevlar.menukit.core.Icon
Returns an ElementSpec for a fixed-sprite icon.
spec(int, Supplier, boolean, boolean) - Static method in class com.trevlar.menukit.core.ItemDisplay
Layout spec with explicit size, overlay flags, supplier-driven stack.
spec(int, ItemStack, boolean, boolean) - Static method in class com.trevlar.menukit.core.ItemDisplay
Layout spec with explicit size and overlay flags, fixed stack.
spec(Supplier) - Static method in class com.trevlar.menukit.core.ItemDisplay
Layout spec for supplier-driven stack at default size with overlays.
spec(Component) - Static method in class com.trevlar.menukit.core.InfoBox
Returns an ElementSpec for a static-text info box.
spec(Component) - Static method in class com.trevlar.menukit.core.TextLabel
Returns an ElementSpec for static text.
spec(ItemStack) - Static method in class com.trevlar.menukit.core.ItemDisplay
Returns an ElementSpec for a fixed-stack item display at default size with count + durability overlays.
spec(T, Component, RadioGroup) - Static method in class com.trevlar.menukit.core.Radio
Returns an ElementSpec for a Radio with static label.
spec(T, Component, RadioGroup, BooleanSupplier) - Static method in class com.trevlar.menukit.core.Radio
Layout spec for static label with optional disabled-predicate.
sprite(int, int, int, int, boolean, Consumer, Supplier) - Static method in class com.trevlar.menukit.core.Toggle
Sprite-driven Toggle whose sprite is computed per-frame from a Supplier.
sprite(int, int, int, int, boolean, Consumer, Identifier) - Static method in class com.trevlar.menukit.core.Toggle
Creates a Toggle whose visual is a consumer-supplied sprite.
sprite(int, int, int, int, Supplier, Consumer) - Static method in class com.trevlar.menukit.core.Button
Sprite-only supplier overload.
sprite(int, int, int, int, Supplier, Component, Consumer) - Static method in class com.trevlar.menukit.core.Button
Supplier-driven sprite overload.
sprite(int, int, int, int, Identifier, Consumer) - Static method in class com.trevlar.menukit.core.Button
Sprite-only convenience overload — equivalent to Button.sprite(int, int, int, int, Identifier, Component, Consumer) with Component.empty() as the label.
sprite(int, int, int, int, Identifier, Component, Consumer) - Static method in class com.trevlar.menukit.core.Button
Creates a Button whose entire background is a consumer-supplied sprite, replacing the default RAISED / INSET / DARK panel styles.
spriteLinked(int, int, int, int, BooleanSupplier, Consumer, Supplier) - Static method in class com.trevlar.menukit.core.Toggle
spriteLinked(int, int, int, int, BooleanSupplier, Consumer, Identifier) - Static method in class com.trevlar.menukit.core.Toggle
Linked + sprite combination: consumer- owned state, sprite-backed visual with HSL-inversion on the on state.
Stable budget, reactive hug - Section in class com.trevlar.menukit.core.SlotFlowElement
 
stack() - Method in record class com.trevlar.menukit.core.attachment.PlayerSlotCapture.CapturedSlot
Returns the value of the stack record component.
stack() - Method in interface com.trevlar.menukit.core.MendingCandidates.Candidate
The stack MKC repairs in place if this candidate is chosen.
START - Enum constant in enum class com.trevlar.menukit.core.layout.CrossAlign
Align children to the low edge of the cross axis.
State is MENU-RESIDENT — unlike behavior - Section in record class com.trevlar.menukit.core.SlotStateChannel
 
stillValid(Player) - Method in class com.trevlar.menukit.core.StorageContainerAdapter
 
stillValid(Player) - Method in class com.trevlar.menukit.screen.MKCScreenHandler
 
STONECUTTER_INPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
STONECUTTER_OUTPUT - Static variable in record class com.trevlar.menukit.core.SlotGroupCategory
 
storage(Storage) - Method in class com.trevlar.menukit.core.MKCSlots.Builder
Where items live.
storage(Function) - Method in class com.trevlar.menukit.core.SlotSpec
Where items live, as a per-player factory.
Storage - Interface in com.trevlar.menukit.core
Where items live.
StorageAttachment<O,C> - Class in com.trevlar.menukit.core
M7 — Storage Attachment Taxonomy.
StorageAttachment() - Constructor for class com.trevlar.menukit.core.StorageAttachment
 
StorageAttachment.PlayerStorageAttachment<C> - Class in com.trevlar.menukit.core
The death-handling-capable specialization of StorageAttachment, returned only by player-anchored factories (StorageAttachment.playerAttached(String, String, int) and StorageAttachment.customPlayerAttached(CustomAttachmentSpec)).
StorageAttachments - Class in com.trevlar.menukit.core.attachment
Fabric attachment-type registry for M7.
StorageContainerAdapter - Class in com.trevlar.menukit.core
Adapts a MenuKit Storage to vanilla's Container interface.
StorageContainerAdapter(Storage) - Constructor for class com.trevlar.menukit.core.StorageContainerAdapter
 
Storage is a factory, not a bound storage - Section in class com.trevlar.menukit.core.SlotSpec
 
storageKey() - Method in interface com.trevlar.menukit.core.KeyedStorage
Returns this storage's persistent identity.
streamCodec() - Method in record class com.trevlar.menukit.core.SlotStateChannel
Returns the value of the streamCodec record component.
style() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the style record component.
style(ControlStyle) - Method in class com.trevlar.menukit.core.Button
Phase 18s follow-up — selects the button's visual style.
style(ControlStyle) - Method in class com.trevlar.menukit.core.Dropdown.Builder
Phase 18s follow-up — selects the trigger's visual style.
style(ControlStyle) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Phase 18s follow-up — selects the trigger's visual style.
style(PanelStyle) - Method in class com.trevlar.menukit.core.MKCContainerPanel.Builder
Panel background style.
style(PanelStyle) - Method in class com.trevlar.menukit.core.Panel.Builder
Sets the panel's visual background style.
style(PanelStyle) - Method in class com.trevlar.menukit.hud.MKHudNotification.Builder
Background style (default RAISED).
style(PanelStyle) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Sets the panel background style (RAISED, DARK, INSET, NONE).
style(PanelStyle) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Sets the visual style for this panel's background.
sub(String) - Static method in interface com.trevlar.menukit.window.OwnerScope
Composite per-backing scope from a stable backing id.
Sub(String) - Constructor for record class com.trevlar.menukit.window.OwnerScope.Sub
Creates an instance of a Sub record class.
SYNC - Static variable in record class com.trevlar.menukit.window.ReactCause
The client observed synced slot contents change (no authority; observed tier).
Sync safety - Section in class com.trevlar.menukit.core.ParitySlotRegistry
 
Sync-safety caveat - Section in com.trevlar.menukit.core.Panel.showWhen(BooleanSupplier)
 
Sync safety — the load-bearing contract - Section in class com.trevlar.menukit.core.MKCSlotProjection
 

T

tab(Identifier) - Static method in interface com.trevlar.menukit.window.OwnerScope
Creative-tab scope from a stable tab id.
Tab(Identifier) - Constructor for record class com.trevlar.menukit.window.OwnerScope.Tab
Creates an instance of a Tab record class.
tabId() - Method in record class com.trevlar.menukit.window.OwnerScope.Tab
Returns the value of the tabId record component.
target(Slot) - Static method in class com.trevlar.menukit.inject.Slots
The real vanilla Slot slot is or wraps: the slot a creative SlotWrapper delegates to, or slot itself when it is not a wrapper.
Targeting - Section in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
 
text(int, int) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds a text element and returns a TextBuilder for customization.
text(int, int, Supplier) - Method in class com.trevlar.menukit.hud.MKHudPanel.Builder
Adds a text element with default styling (white, shadow, 1x scale).
text(int, int, Supplier) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a text label with supplier-driven content (dark gray, no shadow).
text(int, int, Component) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a text label at the given position (dark gray, no shadow — vanilla style).
text(int, int, Component, int, boolean) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a text label with explicit color and shadow.
text(Supplier) - Method in class com.trevlar.menukit.hud.MKHudPanel.TextBuilder
 
TextField - Class in com.trevlar.menukit.core
Single-line editable text field.
TextField.Builder - Class in com.trevlar.menukit.core
 
TextLabel - Class in com.trevlar.menukit.core
A non-interactive text label within a Panel.
TextLabel(int, int, Supplier) - Constructor for class com.trevlar.menukit.core.TextLabel
Convenience: supplier-driven text, dark gray, no shadow (vanilla label style).
TextLabel(int, int, Supplier, int, boolean) - Constructor for class com.trevlar.menukit.core.TextLabel
Supplier-driven text with explicit color and shadow.
TextLabel(int, int, Component) - Constructor for class com.trevlar.menukit.core.TextLabel
Convenience: dark gray text, no shadow (vanilla label style).
TextLabel(int, int, Component, int, boolean) - Constructor for class com.trevlar.menukit.core.TextLabel
 
The §0019 line this deliberately crosses - Section in class com.trevlar.menukit.core.MKCSlotProjection
 
The capability this adds - Section in class com.trevlar.menukit.inject.VanillaSlotResolver
 
The client/server split - Section in class com.trevlar.menukit.screen.MKCMenu
 
The client/server split this honestly reflects - Section in class com.trevlar.menukit.core.MKCContainerPanel
 
The exception to adaptive-width-as-default - Section in class com.trevlar.menukit.core.MKTooltip
 
The four shapes - Section in record class com.trevlar.menukit.window.Address
 
The frozen two-axis cascade - Section in class com.trevlar.menukit.window.WindowEngine
 
The gap this closes - Section in class com.trevlar.menukit.core.MKCSlotInput
 
The GatingContext - Section in interface com.trevlar.menukit.core.SlotGate
 
The held-handle no-op (Lead condition #3a) is structural here - Section in class com.trevlar.menukit.window.SlotWindowResolver
 
The injection points - Section in class com.trevlar.menukit.inject.ContainerScreenLayers
 
The layer stack (bottom to top) - Section in class com.trevlar.menukit.inject.ContainerScreenLayers
 
The owed gap - Section in class com.trevlar.menukit.window.WindowReactions
 
The presence fast-path - Section in class com.trevlar.menukit.core.WindowGating
 
The split - Section in interface com.trevlar.menukit.inject.SlotScreenHook
 
The thesis reframe (M8 + scroll) - Section in class com.trevlar.menukit.core.ScrollContainer
 
The two collision sources (kept distinct on purpose) - Section in interface com.trevlar.menukit.window.OwnerScope
 
The two seams, one registry - Section in class com.trevlar.menukit.core.ParitySlotRegistry
 
Threading - Section in class com.trevlar.menukit.window.WindowEngine
 
tick(AbstractContainerMenu) - Static method in class com.trevlar.menukit.window.ObservedReactions
Drive one client tick: diff menu's slots against the snapshot and fire observed reactions for changes.
tickHover(AbstractContainerMenu, Slot) - Static method in class com.trevlar.menukit.window.WindowSignals
Update the hovered slot (MKClient, each client tick).
tier() - Method in record class com.trevlar.menukit.window.BehaviorKey
Returns the value of the tier record component.
Tier - Enum Class in com.trevlar.menukit.window
Which authority tier a BehaviorKey belongs to — the seam where THE ONE WINDOW's client/server split lives.
Tiering - Section in class com.trevlar.menukit.window.SlotWindowResolver
 
tint(IntSupplier) - Method in class com.trevlar.menukit.core.Button
Attaches a per-frame tint supplier.
tint(IntSupplier) - Method in class com.trevlar.menukit.core.Toggle
See Button.tint(IntSupplier); identical contract.
title(Component) - Method in class com.trevlar.menukit.core.dialog.AlertDialog.Builder
Title text shown at the top of the dialog.
title(Component) - Method in class com.trevlar.menukit.core.dialog.ConfirmDialog.Builder
Title text shown at the top of the dialog.
title(Component) - Method in class com.trevlar.menukit.screen.MKCMenu.Builder
The menu's display title.
TITLE_HEIGHT - Static variable in class com.trevlar.menukit.screen.MKScreen
Vertical space reserved above the first panel for the title.
toggle(int, int, int, int, boolean, Consumer) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds an always-enabled toggle.
Toggle - Class in com.trevlar.menukit.core
A two-state on/off control.
Toggle(int, int, int, int, boolean, Consumer) - Constructor for class com.trevlar.menukit.core.Toggle
Creates an always-enabled Toggle.
Toggle(int, int, int, int, boolean, Consumer, BooleanSupplier) - Constructor for class com.trevlar.menukit.core.Toggle
Creates a Toggle with a disabled-state predicate.
toggleKey(int) - Method in class com.trevlar.menukit.core.Panel.Builder
Sets the GLFW key code that toggles this panel's visibility.
toggleKey(int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Sets a GLFW key code that toggles this panel's visibility.
togglePanel(String) - Method in class com.trevlar.menukit.screen.MKCHandledScreen
Toggles a panel's visibility with full client+server sync.
toItemList(C) - Method in interface com.trevlar.menukit.core.attachment.CustomAttachmentSpec
Converts stored content to a mutable NonNullList view for the Storage surface.
token() - Method in record class com.trevlar.menukit.window.Address
Returns the value of the token record component.
Token - Interface in com.trevlar.menukit.window
The within-owner identifier of an Address — paired with an OwnerRef and a KindTag to name exactly one addressable thing.
Token.DeclToken - Record Class in com.trevlar.menukit.window
A deterministic declaration id (created slot / panel element).
Token.IndexToken - Record Class in com.trevlar.menukit.window
A slot's vanilla menu-space index (vanilla and created slots alike).
Token.RegToken - Record Class in com.trevlar.menukit.window
A panel's registration key (the panel itself).
tooltip(Supplier) - Method in class com.trevlar.menukit.core.AbstractPanelElement
Attaches a hover-triggered tooltip with supplier-driven text.
tooltip(Supplier) - Method in class com.trevlar.menukit.core.SlotElement
Attaches a hover tooltip with supplier-driven text to this slot.
tooltip(Supplier) - Method in class com.trevlar.menukit.core.SlotSpec
Supplier-driven variant of SlotSpec.tooltip(Component).
tooltip(Supplier) - Method in interface com.trevlar.menukit.core.layout.ElementSpec
Supplier-driven variant of ElementSpec.tooltip(Component).
tooltip(Supplier) - Method in class com.trevlar.menukit.core.Panel
Attaches a hover-triggered tooltip with supplier-driven text.
tooltip(Supplier) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
tooltip(Component) - Method in class com.trevlar.menukit.core.AbstractPanelElement
Attaches a hover-triggered tooltip with fixed text.
tooltip(Component) - Method in interface com.trevlar.menukit.core.layout.ElementSpec
Returns an ElementSpec identical to this one that ALSO attaches a hover tooltip to the element when the layout helper materializes it.
tooltip(Component) - Method in class com.trevlar.menukit.core.Panel
Attaches a hover-triggered tooltip that fires whenever the cursor is over the panel's outer bounds.
tooltip(Component) - Method in class com.trevlar.menukit.core.SlotElement
Attaches a hover tooltip with fixed text to this slot.
tooltip(Component) - Method in class com.trevlar.menukit.core.SlotSpec
Attaches a hover tooltip to every slot in this group.
tooltip(Component) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Attaches a hover tooltip to the MOST RECENTLY added element — the trailing-modifier pattern (mirrors rightClick()/pairsWith() for groups).
tooltipSupplier() - Method in class com.trevlar.menukit.core.AbstractPanelElement
The universal PanelElement tooltip contract — returns the .tooltip(...)-set supplier.
tooltipSupplier() - Method in interface com.trevlar.menukit.core.PanelElement
The element's hover-tooltip text supplier, or null if none.
tooltipSupplier() - Method in class com.trevlar.menukit.core.SlotElement
The universal PanelElement tooltip contract — slots are first-class tooltip citizens via their own supplier field.
top() - Method in record class com.trevlar.menukit.inject.MenuChrome.ChromeExtents
Returns the value of the top record component.
TOP - Enum constant in enum class com.trevlar.menukit.hud.MKHudNotification.SlideDirection
 
TOP_ALIGN_LEFT - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
 
TOP_ALIGN_LEFT - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
 
TOP_ALIGN_RIGHT - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
 
TOP_ALIGN_RIGHT - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
 
TOP_CENTER - Enum constant in enum class com.trevlar.menukit.core.HudRegion
 
TOP_CENTER - Enum constant in enum class com.trevlar.menukit.core.MenuRegion
Above the menu's container frame, centered on the horizontal axis (Phase 3b — Item 4a).
TOP_CENTER - Enum constant in enum class com.trevlar.menukit.core.ScreenRegion
 
TOP_CENTER - Enum constant in enum class com.trevlar.menukit.core.SlotGroupRegion
Above the slot-group bounding rectangle, centered on the horizontal axis.
TOP_CENTER - Enum constant in enum class com.trevlar.menukit.hud.MKHudAnchor
 
TOP_LEFT - Enum constant in enum class com.trevlar.menukit.core.HudRegion
 
TOP_LEFT - Enum constant in enum class com.trevlar.menukit.core.ScreenRegion
 
TOP_LEFT - Enum constant in enum class com.trevlar.menukit.hud.MKHudAnchor
 
TOP_RIGHT - Enum constant in enum class com.trevlar.menukit.core.HudRegion
 
TOP_RIGHT - Enum constant in enum class com.trevlar.menukit.core.ScreenRegion
 
TOP_RIGHT - Enum constant in enum class com.trevlar.menukit.hud.MKHudAnchor
 
TOP_TO_BOTTOM - Enum constant in enum class com.trevlar.menukit.core.ProgressBar.Direction
 
topPos() - Method in record class com.trevlar.menukit.core.MainRegionLayout.Result
Returns the value of the topPos record component.
topPos() - Method in record class com.trevlar.menukit.inject.ScreenBounds
Returns the value of the topPos record component.
topPos() - Method in record class com.trevlar.menukit.inject.SlotGroupBounds
Returns the value of the topPos record component.
toString() - Method in record class com.trevlar.menukit.core.attachment.PlayerSlotCapture.CapturedSlot
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.Click
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.MainRegionLayout.Result
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.MKCSlotInput.Resolution
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.MKCSlots.RegisteredSlots
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.PanelBounds
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.PanelPosition
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.PanelTreeLayout
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.BlockEntityKey
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.EnderChest
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.EntityKey
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.Modded
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.PersistentContainerKey.PlayerInventory
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.RegionAnchor
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.RenderContext
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.SlotGroupCategory
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.SlotIdentity
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.core.SlotStateChannel
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.inject.MenuChrome.ChromeExtents
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.inject.ScreenBounds
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.inject.ScreenOrigin
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.inject.SlotGroupBounds
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.inject.SlotHoverResult
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.inject.SlotScreenRect
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.Address
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.BehaviorKey
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.Decl.Inherit
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.Decl.Set
Returns a string representation of this record class.
toString() - Method in class com.trevlar.menukit.window.GroupKey
 
toString() - Method in record class com.trevlar.menukit.window.OwnerRef.NestedOwner
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.OwnerRef.RootOwner
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.OwnerScope.Primary
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.OwnerScope.Sub
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.OwnerScope.Tab
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.ReactCause
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.ReactEvent
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.ScreenFamilyKey
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.Token.DeclToken
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.Token.IndexToken
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.Token.RegToken
Returns a string representation of this record class.
toString() - Method in record class com.trevlar.menukit.window.VanillaSlotIdentity.Resolved
Returns a string representation of this record class.
toString() - Method in class com.trevlar.menukit.window.WindowHandle
 
totalHeight() - Method in record class com.trevlar.menukit.core.PanelTreeLayout
Returns the value of the totalHeight record component.
totalWidth() - Method in record class com.trevlar.menukit.core.PanelTreeLayout
Returns the value of the totalWidth record component.
TRACK_WIDTH - Static variable in class com.trevlar.menukit.core.ScrollContainer
Total scrollbar track width = handle width + 2× track padding.
trackPending(SlotGroupPanelAdapter) - Static method in class com.trevlar.menukit.inject.SlotGroupPanelRegistry
Called from SlotGroupPanelAdapter's constructor.
trackPending(VanillaScreenPanelAdapter) - Static method in class com.trevlar.menukit.inject.VanillaScreenPanelRegistry
Called from the adapter constructor — adapter joins PENDING.
tracksAsModal() - Method in class com.trevlar.menukit.core.Panel
Returns whether this panel participates in modal tracking.
tracksAsModal(boolean) - Method in class com.trevlar.menukit.core.Panel
Sets whether this panel participates in global modal tracking.
Transition semantics - Section in class com.trevlar.menukit.inject.MenuChrome
 
TriBool - Enum Class in com.trevlar.menukit.window
An explicit two-valued boolean for boolean BehaviorKeys — the value a Decl.Set carries, so "explicitly off" is a real declared value distinct from "unset / inherit".
triggerLabel(Function) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Required: trigger summary function.
Trigger label - Section in class com.trevlar.menukit.core.DropdownMulti
 
triggerSize(int, int) - Method in class com.trevlar.menukit.core.Dropdown.Builder
Required: trigger width × height in pixels.
triggerSize(int, int) - Method in class com.trevlar.menukit.core.DropdownMulti.Builder
Required: trigger width × height in pixels.
TRUE - Enum constant in enum class com.trevlar.menukit.window.TriBool
 
Two bounds, both per-propagation - Section in class com.trevlar.menukit.window.ReactionGuard
 
Two-layer surface (architecture Part 2 §2) - Section in class com.trevlar.menukit.window.WindowHandle
 
Two sources, in priority order - Section in class com.trevlar.menukit.window.SlotNames
 
Two tiers - Section in class com.trevlar.menukit.window.WindowReactions
 
typeById(Identifier) - Static method in class com.trevlar.menukit.core.attachment.StorageAttachments
The content attachment registered under id, or null.
Typical consumer use - Section in record class com.trevlar.menukit.core.SlotIdentity
 
Typical usage - Section in com.trevlar.menukit.core.Toggle.linked(int, int, int, int, BooleanSupplier, Consumer)
 

U

UniversalGravesAdapter - Class in com.trevlar.menukit.compat
§0052 Phase 2 — Universal Graves adapter.
unregister() - Method in class com.trevlar.menukit.inject.ScreenPanelAdapter
Phase 16j R5 — removes this adapter from every internal registry collection: the per-region MENU list, the per-screen match cache, and the PENDING/REGISTERED tracking sets.
unregister() - Method in class com.trevlar.menukit.inject.SlotGroupPanelAdapter
Phase 16j R5 — removes this adapter from every internal collection: the per-(category, region) bucket in SlotGroupRegionRegistry, the PENDING + REGISTERED sets in SlotGroupPanelRegistry, and the per-panel padding metadata.
unregister() - Method in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Removes this adapter from every internal registry collection.
unregisterHud(MKHudPanelDef) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Removes a previously-registered HUD panel def from every region list it appears in and clears its per-def metadata.
unregisterMenu(Panel) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Removes a previously-registered MenuContext panel from every region list it appears in and clears its per-panel metadata (padding, priority, modId, registration sequence, overflow warning state).
unregisterSlotGroup(Panel) - Static method in class com.trevlar.menukit.inject.SlotGroupRegionRegistry
Phase 16j R5 — removes a previously-registered SlotGroupContext panel from every (category, region) bucket it appears in and clears its per-panel metadata.
unregisterVanillaScreen(Panel) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Removes a previously-registered VanillaScreenContext panel from every region list it appears in and clears its per-panel metadata.
untrack(SlotGroupPanelAdapter) - Static method in class com.trevlar.menukit.inject.SlotGroupPanelRegistry
Phase 16j R5 — removes a SlotGroupContext adapter from PENDING + REGISTERED.
untrack(VanillaScreenPanelAdapter) - Static method in class com.trevlar.menukit.inject.VanillaScreenPanelRegistry
Called from VanillaScreenPanelAdapter.unregister() — removes from both sets.
Usage - Section in class com.trevlar.menukit.core.StorageAttachment
 
Usage - Section in class com.trevlar.menukit.core.layout.Column
 
Usage - Section in class com.trevlar.menukit.core.layout.Row
 

V

v1 scope - Section in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
 
validateTargetingDeclared() - Static method in class com.trevlar.menukit.inject.SlotGroupPanelRegistry
Validates that every slot-group adapter constructed during init declared its targeting via .on(SlotGroupCategory...).
validateTargetingDeclared() - Static method in class com.trevlar.menukit.inject.VanillaScreenPanelRegistry
Orphan checkpoint — throws if any vanilla adapters were constructed during init but never declared targeting.
value() - Method in record class com.trevlar.menukit.window.Decl.Set
Returns the value of the value record component.
value(DoubleSupplier) - Method in class com.trevlar.menukit.hud.MKHudPanel.BarBuilder
 
value(DoubleSupplier, DoubleConsumer) - Method in class com.trevlar.menukit.core.Slider.Builder
Required: lens pair for the slider's normalized [0, 1] value.
Value equality - Section in class com.trevlar.menukit.core.RadioGroup
 
valueOf(String) - Static method in enum class com.trevlar.menukit.core.ControlStyle
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.DropRule
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.HudRegion
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.layout.CrossAlign
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.MenuRegion
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.PanelPosition.Mode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.PanelStyle
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.ProgressBar.Direction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.QuickMoveParticipation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.ScreenRegion
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.SlotGroupRegion
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.core.SlotStateChannel.Visibility
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.hud.MKHudAnchor
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.hud.MKHudNotification.SlideDirection
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.window.KindTag
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.window.Tier
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.trevlar.menukit.window.TriBool
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.trevlar.menukit.core.ControlStyle
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.DropRule
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.HudRegion
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.layout.CrossAlign
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.MenuRegion
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.PanelPosition.Mode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.PanelStyle
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.ProgressBar.Direction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.QuickMoveParticipation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.ScreenRegion
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.SlotGroupRegion
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.core.SlotStateChannel.Visibility
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.hud.MKHudAnchor
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.hud.MKHudNotification.SlideDirection
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.window.KindTag
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.window.Tier
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.trevlar.menukit.window.TriBool
Returns an array containing the constants of this enum class, in the order they are declared.
valueType() - Method in record class com.trevlar.menukit.window.BehaviorKey
Returns the value of the valueType record component.
VANILLA - Enum constant in enum class com.trevlar.menukit.core.ControlStyle
 
VANILLA_SLOT - Enum constant in enum class com.trevlar.menukit.window.KindTag
A vanilla net.minecraft.world.inventory.Slot the consumer did not create.
VanillaAddressing - Class in com.trevlar.menukit.window
Mints the Address of a vanilla slot — the single place that decides a vanilla slot's identity, shared by the client resolver (render/decorate) and the server gating seam, so both agree.
vanillaButtonSprite(boolean, boolean) - Static method in enum class com.trevlar.menukit.core.ControlStyle
Picks the vanilla button sprite for a given interactive state.
VanillaScreenPanelAdapter - Class in com.trevlar.menukit.inject
Phase 18s — sibling to ScreenPanelAdapter that anchors MK panels onto vanilla NON-container screens — the Options screen, Controls, KeyBinds, world-select, server-list, anywhere Screen is the superclass rather than AbstractContainerScreen.
VanillaScreenPanelAdapter(Panel, RegionAnchor) - Constructor for class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Region-aware constructor accepting a RegionAnchor — region paired with an explicit stacking priority.
VanillaScreenPanelAdapter(Panel, RegionAnchor, int) - Constructor for class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Region-aware constructor with both explicit padding and priority.
VanillaScreenPanelAdapter(Panel, ScreenRegion, int) - Constructor for class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
Region-aware constructor with explicit padding.
VanillaScreenPanelRegistry - Class in com.trevlar.menukit.inject
Phase 18s — sibling to ScreenPanelRegistry for non-container vanilla screens.
vanillaSlot(ScreenFamilyKey, OwnerScope, int) - Static method in record class com.trevlar.menukit.window.Address
A vanilla slot at a menu-space index.
VanillaSlotGroupResolvers - Class in com.trevlar.menukit.inject
Library-shipped SlotGroupResolver registrations for every vanilla 26.2 AbstractContainerMenu whose slots map to named categories in the M8 v1 coverage catalog.
VanillaSlotIdentity - Interface in com.trevlar.menukit.window
Port (MK defines, MKC implements via §0050): the menu-INDEPENDENT identity of a vanilla slot — its container's stable identity plus the container-relative index.
VanillaSlotIdentity.Resolved - Record Class in com.trevlar.menukit.window
 
VanillaSlotResolver - Class in com.trevlar.menukit.inject
Resolves a player-inventory slot's on-screen position — slot-agnostic and screen-agnostic.
Variants - Section in enum class com.trevlar.menukit.core.ControlStyle
 
vertical(int, int, int) - Static method in class com.trevlar.menukit.core.Divider
A vertical divider with the default color and thickness.
vertical(int, int, int, int, int) - Static method in class com.trevlar.menukit.core.Divider
A vertical divider with explicit color and thickness.
verticalDivider(int, int, int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a vertical divider with the default color and thickness.
verticalDivider(int, int, int, int, int) - Method in class com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder
Adds a vertical divider with explicit color and thickness.
verticalSpec(int) - Static method in class com.trevlar.menukit.core.Divider
Layout spec for a vertical divider with default color + thickness.
verticalSpec(int, int, int) - Static method in class com.trevlar.menukit.core.Divider
Layout spec for a vertical divider with explicit color + thickness.
view(AbstractContainerMenu) - Static method in class com.trevlar.menukit.window.Window
The menu-bound view, for addressing a vanilla slot by its live menu index.
viewportWidthFor(int) - Static method in class com.trevlar.menukit.core.ScrollContainer
Returns the viewport width (the area children render into) for a ScrollContainer of the given outer width.
VirtualSlotGroup - Class in com.trevlar.menukit.core
The observed-screen equivalent of SlotGroup.
VirtualSlotGroup(String, List) - Constructor for class com.trevlar.menukit.core.VirtualSlotGroup
Convenience: default priority (100).
VirtualSlotGroup(String, List, int) - Constructor for class com.trevlar.menukit.core.VirtualSlotGroup
 
VirtualStorage - Class in com.trevlar.menukit.core
The escape hatch.
VirtualStorage(int, IntFunction, BiConsumer) - Constructor for class com.trevlar.menukit.core.VirtualStorage
Convenience: no-op dirty callback.
VirtualStorage(int, IntFunction, BiConsumer, Runnable) - Constructor for class com.trevlar.menukit.core.VirtualStorage
 
visibility() - Method in record class com.trevlar.menukit.core.SlotStateChannel
Returns the value of the visibility record component.
visibility(boolean) - Method in class com.trevlar.menukit.window.ElementHandle
Show/hide this element on the client (constant rule).
visibility(boolean) - Method in class com.trevlar.menukit.window.PanelHandle
Show/hide the whole panel on the client (constant rule).
visibility(boolean) - Method in class com.trevlar.menukit.window.SlotHandle
Show/hide this slot on the client (constant rule).
visibility(VisibilityRule) - Method in class com.trevlar.menukit.window.ElementHandle
Drive this element's client visibility by a VisibilityRule.
visibility(VisibilityRule) - Method in class com.trevlar.menukit.window.PanelHandle
Drive the whole panel's client visibility by a VisibilityRule (cascades to children).
visibility(VisibilityRule) - Method in class com.trevlar.menukit.window.SlotHandle
Drive this slot's client visibility by a VisibilityRule (a created slot's contents keep syncing regardless).
VISIBILITY - Static variable in class com.trevlar.menukit.window.BehaviorKeys
Whether an addressable thing is shown — a client-side VisibilityRule predicate (re-evaluated each frame), so one key spans static hide and dynamic reveal (hover).
Visibility: imperative or supplier-driven - Section in class com.trevlar.menukit.core.Panel
 
Visibility-driven lifecycle gotcha (Q7 deferred per DEFERRED.md 14d-3) - Section in class com.trevlar.menukit.core.TextField
 
Visibility-driven lifecycle gotcha (Q7 deferred per DEFERRED.md 14d-3 — inherited) - Section in class com.trevlar.menukit.core.Slider
 
Visibility precedence - Section in class com.trevlar.menukit.core.AbstractPanelElement
 
VisibilityRule - Interface in com.trevlar.menukit.window
The value of the VISIBILITY behavior — whether an addressable thing is shown, as a client-side predicate rather than a static flag.
visible() - Method in interface com.trevlar.menukit.window.VisibilityRule
Whether the thing is currently shown.
visible(boolean) - Method in class com.trevlar.menukit.core.Panel.Builder
Sets the initial visibility state.
VISIBLE - Static variable in interface com.trevlar.menukit.window.VisibilityRule
Always shown — the library default for the VISIBILITY key.
Visual indicator - Section in class com.trevlar.menukit.core.DropdownMulti
 

W

warnHudOverflowOnce(MKHudPanelDef, HudRegion, int, int, int, int, int) - Static method in class com.trevlar.menukit.inject.RegionRegistry
Logs a one-shot warning the first time a HUD panel overflows its region.
warnSlotGroupOverflowOnce(Panel, SlotGroupCategory, SlotGroupRegion, int, int, int, SlotGroupBounds) - Static method in class com.trevlar.menukit.inject.SlotGroupRegionRegistry
Logs a one-shot warning the first time a SlotGroupContext panel overflows a given (category, region) pair.
WeakHashMap semantics - Section in class com.trevlar.menukit.core.MKPressedTracker
 
What each non-main panel becomes - Section in class com.trevlar.menukit.core.MainRegionLayout
 
What it does - Section in class com.trevlar.menukit.core.MKCSlotInput
 
What it does today - Section in class com.trevlar.menukit.window.WindowView
 
What one registration drives - Section in class com.trevlar.menukit.core.MKCContainerPanel
 
What stays per-context - Section in record class com.trevlar.menukit.core.PanelTreeLayout
 
What this element does, and what it deliberately does not - Section in class com.trevlar.menukit.core.SlotElement
 
What v1 does NOT do (deferred) - Section in class com.trevlar.menukit.core.Dropdown
 
What you get - Section in class com.trevlar.menukit.core.MKCSlots
 
Where each kind of "slot behavior" lives - Section in com.trevlar.menukit.screen.MKCScreenHandler.PanelBuilder.group(String, Storage)
 
Where this is used - Section in class com.trevlar.menukit.core.MKText
 
Who calls this - Section in class com.trevlar.menukit.core.MKCSlots
 
Why a custom wrapper - Section in class com.trevlar.menukit.core.CreativeSlotWrapper
 
Why a flow, not a fixed grid - Section in class com.trevlar.menukit.core.SlotFlowElement
 
Why a helper - Section in class com.trevlar.menukit.core.MKText
 
Why a Identifier, not a screen Class - Section in record class com.trevlar.menukit.window.ScreenFamilyKey
 
Why a library-owned dispatch at all (the §0019 evolution) - Section in interface com.trevlar.menukit.inject.SlotScreenHook
 
Why an abstract base, not just defaults on the interface - Section in class com.trevlar.menukit.core.AbstractPanelElement
 
Why a port - Section in interface com.trevlar.menukit.window.VanillaSlotIdentity
 
Why a port (the §0042 reason) - Section in interface com.trevlar.menukit.window.CreatedSlotResolver
 
Why a recipe, not a built slot - Section in class com.trevlar.menukit.core.SlotSpec
 
Why a record instead of out-parameters - Section in record class com.trevlar.menukit.core.PanelTreeLayout
 
Why a separate utility - Section in class com.trevlar.menukit.core.PanelDispatch
 
Why a shared home (Phase 3b — Item 4c centralize) - Section in class com.trevlar.menukit.core.RegionConstants
 
Why a shared tracker - Section in class com.trevlar.menukit.core.MKPressedTracker
 
Why a sibling, not an extension - Section in class com.trevlar.menukit.inject.VanillaScreenPanelAdapter
 
Why a sibling registry, not a unified one - Section in class com.trevlar.menukit.inject.VanillaScreenPanelRegistry
 
Why a slot is a click-through HOLE in its panel - Section in class com.trevlar.menukit.core.SlotElement
 
Why a utility class instead of base-class methods - Section in class com.trevlar.menukit.input.CursorContinuity
 
Why it's needed - Section in class com.trevlar.menukit.core.MKCSlotQuickMove
 
Why layers 1 and 3 are one vanilla pass with MenuKit in the middle - Section in class com.trevlar.menukit.inject.ContainerScreenLayers
 
Why not boolean/Boolean - Section in enum class com.trevlar.menukit.window.TriBool
 
Why the factory takes the MenuType - Section in class com.trevlar.menukit.screen.MKCMenu
 
Why this and not Panel.isVisible() - Section in class com.trevlar.menukit.window.ClientWindowVisibility
 
Why this class exists - Section in class com.trevlar.menukit.inject.ContainerScreenLayers
 
Why this exists - Section in class com.trevlar.menukit.core.MKFocus
 
Why this exists (the §0029 walk) - Section in class com.trevlar.menukit.core.MKTooltip
 
Why this exists — comprehensive wrapping - Section in class com.trevlar.menukit.core.Flow
 
Why this is needed - Section in class com.trevlar.menukit.core.SlotElementRegistry
 
Why this is purely additive - Section in class com.trevlar.menukit.window.SlotNames
 
Why this is the foundation, not a slot detail - Section in class com.trevlar.menukit.inject.Slots
 
Why this ships as a MenuKit primitive - Section in record class com.trevlar.menukit.core.SlotIdentity
 
Why universal capture - Section in class com.trevlar.menukit.input.CursorContinuity
 
width() - Method in interface com.trevlar.menukit.core.layout.ElementSpec
Width of the element in pixels (panel-local).
width() - Method in record class com.trevlar.menukit.core.PanelBounds
Returns the value of the width record component.
width() - Method in record class com.trevlar.menukit.hud.MKHudPanelDef
Returns the value of the width record component.
width() - Method in record class com.trevlar.menukit.inject.SlotScreenRect
Returns the value of the width record component.
Window - Class in com.trevlar.menukit.window
The entry point to THE ONE WINDOW — how a consumer obtains a typed handle to set or read behavior on anything addressable.
WindowEngine - Class in com.trevlar.menukit.window
The resolution engine of THE ONE WINDOW — MK ring-0, pure policy, no Minecraft I/O.
WindowGating - Class in com.trevlar.menukit.core
The reusable gating decision every server seam calls — resolve the GATING SlotGate for a slot by its Address and apply it.
WindowHandle - Class in com.trevlar.menukit.window
The base of THE ONE WINDOW's typed handle family — an immutable value addressing one thing by its Address, never by a held live reference (the menu and every Slot are recreated each reopen, so a held reference would dangle).
WindowMint - Class in com.trevlar.menukit.window
Derives the stable ScreenFamilyKey and OwnerScope of a LIVE menu — the client mint of an Address's root owner.
WindowReactions - Class in com.trevlar.menukit.window
The fire-entry for reactive verbs — the one place a contents change is turned into a ReactiveHook invocation, going through the same WindowEngine cascade as every behavior and bounded by the same ReactionGuard.
Window-side, not creation-bound (RULED #2 property c) - Section in class com.trevlar.menukit.window.GroupKey
 
WindowSignals - Class in com.trevlar.menukit.window
The client-observed slot INTERACTION signals — which slot the cursor is over (WindowSignals.hovered) and which slot was last clicked (WindowSignals.selected), as Addresses.
WindowView - Class in com.trevlar.menukit.window
The per-session facade of THE ONE WINDOW — bound to the current concrete menu, it mints typed WindowHandles (architecture Part 2 §2).
wireRegisteredChrome() - Static method in class com.trevlar.menukit.core.MKCContainerPanel
Builds each registered panel's chrome Panel (chrome elements + auto-generated SlotElements) and wires a ScreenPanelAdapter scoped by the panel's parity matcher.
wrapWidth(int) - Method in class com.trevlar.menukit.hud.MKHudPanel.TextBuilder
Wraps this HUD text to maxWidth pixels: it renders multi-line and the auto-sized HUD panel grows to fit the wrapped height.
write(O, C) - Method in interface com.trevlar.menukit.core.attachment.CustomAttachmentSpec
Write the content for this owner instance.

X

x() - Method in record class com.trevlar.menukit.core.PanelBounds
Returns the value of the x record component.
x() - Method in record class com.trevlar.menukit.inject.ScreenOrigin
Returns the value of the x record component.
x() - Method in record class com.trevlar.menukit.inject.SlotScreenRect
Returns the value of the x record component.

Y

y() - Method in record class com.trevlar.menukit.core.PanelBounds
Returns the value of the y record component.
y() - Method in record class com.trevlar.menukit.inject.ScreenOrigin
Returns the value of the y record component.
y() - Method in record class com.trevlar.menukit.inject.SlotScreenRect
Returns the value of the y record component.
A B C D E F G H I K L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values