Tags
Creators
Details
5.1.0+26.2
Compatibility
Required content
Changes
5.1.0: Created slots follow MenuKit's slot operations. Requires MenuKit 5.1.0. This release adds API and breaks nothing.
Shift-clicking into or out of a created slot now goes through the same shift-click in and shift-click out operations as a vanilla slot. A locking mod's veto covers pockets and other created slots without any extra work from you.
Created slot groups appear in MenuKit's slot group list without a menu open. Groups on a container panel are listed from mod init. Groups added with MKCSlots.onto are listed once a menu carries them, or from init if you call SlotGroups.declare.
SlotSpec.quickMove(...) and MKCBehaviorKeys.QUICK_MOVE are deprecated and will be removed in 6.0.0. They still work, and quickMove now sets the two shift-click operations for you. New code should call set(BehaviorKeys.SHIFT_CLICK_OUT, ...) and set(BehaviorKeys.SHIFT_CLICK_IN, ...).
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:pWMzwne4"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:xQUBXV8I:pWMzwne4"
}

