MenuKit: Containers

Quick rating

Community listing page, reviews here may not be monitored by the author.

MenuKit: Containers

By trevlarOwner

No reviews yet

Slot extension for MenuKit: custom container menus, per-slot state, slot-group regions. Requires MenuKit.

Mod Loaders
Minecraft
26.2

About

Description

MenuKit: Containers

MenuKit: Containers is the slot extension for MenuKit. It adds slots that persist and sync, in custom container menus or on screens where vanilla has none.

What it does:

  • Creates slots as UI components: a pocket, an extra equipment slot, a satchel, each a real Slot synced by vanilla's protocol.
  • Adds custom container menus that use MenuKit panels.
  • Attaches per-slot state to any slot, private per player, or shared across viewers.
  • Makes created slots behave like vanilla ones in creative and survival, on death, and with Curse of Binding and Mending.
  • Shows a registered slot on every container screen without per-screen setup.
  • Stores each slot's state on its owner (player, block, entity, or item), readable with /data get.

Runs on client and server. Depends on MenuKit, which it pulls in automatically. Requires Fabric.

Install

repositories {
    maven { url 'https://api.modrinth.com/maven' }
}
dependencies {
    modImplementation 'maven.modrinth:menukit-containers:4.0.0+26.2'
}
"depends": { "menukit": ">=4.0.0", "menukit-containers": ">=4.0.0" }

Docs

MenuKit and MenuKit: Containers share one repository and one set of docs: github.com/trevorschoeny/menukit. Start with getting started, then the recipes for slots, slot flags, and custom menus. The API reference is the generated javadoc.

License

MIT.

Issues

github.com/trevorschoeny/menukit/issues.