Skip to content

Repository files navigation

The purposes of this lib is to make it as easy as possible to create containers in the style of Dank Null with slots exceeding the usual stack size of 64. As this lib is lightweight and doesn't add any content you are expected to Jar In Jar it. Examples for Kotlin and Groovy are down below.

This will never be published to curse or other mod hosts. Instead, grab it from GithubPackages

Build file examples

These assume a extendedSlotCapacityVersion variable with the version of the library you want to depend on. Additionally, they use the gpr-for-gradle plugin which makes depending on GithubPackages more convenient. Consult the GithubPackage docs for how to do it with Gradle alone

Kotlin example

Kotlin example

repositories {
    githubPackage("traister101/ExtendedSlotCapacity") {
        name = "Extended Slot Capacity"
        content {
            includeGroup("mod.traister101")
        }
    }
}

dependencies {
    jarJar(implementation(fg.deobf("mod.traister101:Extended-Slot-Capacity-1.20.1:$extendedSlotCapacityVersion")) {
        jarJar.ranged(this, "[$extendedSlotCapacityVersion,)")
    })
}
Groovy example

Groovy example

repositories {
    githubPackage.invoke("traister101/ExtendedSlotCapacity")
}

dependencies {
    implementation jarJar(fg.deobf("mod.traister101:Extended-Slot-Capacity-1.20.1:extendedSlotCapacityVersion")) {
        jarJar.ranged(it as Dependency, "[extendedSlotCapacityVersion,)")
    }
}

About

Lib mod for extended slot capacity stuff. Expected to jar in jar

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages