Skip to content

net.kernelpanicsoft.archie.gui.access

Types

DeferredFloatingItems

The replay half of ScreenOverlayDeferral for the carried, dragged and snapping-back items.

DeferredSlotHighlights

The replay half of ScreenOverlayDeferral for the hovered-slot highlight, implemented by each loader's own highlight mixin - vanilla and NeoForge call different overloads at that call site, so only the mixin that captured it knows how to draw it again.

FloatingItemDraw

data class FloatingItemDraw(
    val stack: ItemStack, 
    val x: Int, 
    val y: Int, 
    val text: String?
)

One held-back renderFloatingItem call - the carried stack, a split-drag stack, or an item snapping back to where it came from.

ScreenOverlayDeferral

Lets a screen hold back the two overlays vanilla's AbstractContainerScreen.render draws inline - the hovered slot's highlight, and the carried/dragging item that follows the cursor - so it can draw them itself, later.

SlotHighlightClipProvider

Allows container screens to clip vanilla's static renderSlotHighlight(GuiGraphics, x, y, blitOffset) call to a sub-rect of the slot's own 16x16 bounds. Returning null skips the highlight draw entirely (fully clipped away); returning the full unclipped rect renders it normally.

SlotLayerDepthContext

Tracks when slot rendering overrides the default GUI depth so downstream render calls (like GuiGraphics#renderItem) can adjust their transforms.

SlotLayerDepthProvider

Allows container screens to tweak the Z depth used when vanilla renders a Slot. Returning null keeps Minecraft's default blit offset.