Links
Tags
Creators
Details
2.0.0
Compatibility
Required content
Changes
MenuKit: Containers 2.0.0
Built on MenuKit 2.0. A clean API break.
Create a slot once; interact with it through one window - the same window that speaks to vanilla slots.
- Created slots as panel elements - real, server-synced, persistent; on the player inventory, placed containers, or foreign menus.
- Vanilla parity for free - identical in creative and survival; correct death behavior (drop / keep on keepInventory / destroy on Curse of Vanishing), grave-mod aware; opt-in Curse of Binding and XP Mending.
- Container parity - register a slot panel once, it appears on every container screen (creative and foreign menus included), no per-screen wiring.
- Shared or private per-slot state; placed-container reach (double-chest resolution, menu-free reads, capability query).
- Persistence on the natural owner (player, block, entity, item), inspectable with /data get.
Requires MenuKit 2.0.0. Breaking: the old graft/slot API does not compile against 2.0.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:xQUBXV8I:ro719LVL"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:xQUBXV8I:ro719LVL"
}

