HomeJavaModsMenuKit: Containers
MenuKit: Containers

MenuKit: Containers

MenuKit: Containers is a slot extension for MenuKit. It lets mods add slots that persist, whether in custom container menus or placed where vanilla never had them.

What it does:

MenuKit: Containers is universal (runs on client and server) and 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:2.0.0'
    // MenuKit comes in transitively, no need to declare it separately
}

Declare both in fabric.mod.json:

"depends": { "menukit": "*", "menukit-containers": "*" }

Working examples

The validator-mkc mod is the honest reference consumer, with real, compiling usage of created slots, per-slot state, death/binding/mending, and the rest. The full surface is documented in the javadoc.

License

MIT. See LICENSE.

Issues

github.com/trevorschoeny/menukit-containers/issues.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more