
Marrow
This Minecraft mod provides a convenient bundle of Arrow libraries specifically adapted for use in game modification projects. Instead of configuring Arrow dependencies manually, you can simply add Marrow to your project.
How to Use
To add the mod to your Gradle project, follow these steps:
Groovy
repositories {
mavenCentral()
maven("https://maven.is-immensely.gay/nightly")
}
dependencies {
def variantAttribute = Attribute.of("earth.terrarium.cloche.modLoader", String::class)
modImplementation("xyz.naomieow:marrow:2.1.2") {
attributes {
// "fabric" for fabric
// "forge" for forge
// "neoforge" for neoforge
attribute(variantAttribute, "fabric")
}
}
}
Kotlin DSL
repositories {
mavenCentral()
maven("https://maven.is-immensely.gay/nightly")
}
dependencies {
val variantAttribute = Attribute.of("earth.terrarium.cloche.modLoader", String::class.java)
modImplementation("xyz.naomieow:marrow:2.1.2") {
attributes {
// "fabric" for fabric
// "forge" for forge
// "neoforge" for neoforge
attribute(variantAttribute, "fabric")
}
}
}
Kotlin DSL (Cloche)
repositories {
mavenCentral()
maven("https://maven.is-immensely.gay/nightly")
}
common {
dependencies {
modImplementation("xyz.naomieow:marrow:2.1.2")
}
}
After adding the library, Arrow will become available in your project:
val example: Either<String, Int> = Either.Left("Hello world!")
Versioning System
Marrow's version numbering follows the main Arrow version, which is why the first version is numbered 2.1.2. If you find that Marrow is outdated, please notify the developer.
Included Libraries
io.arrow-kt:arrow-core
io.arrow-kt:arrow-core-serialization
io.arrow-kt:arrow-fx-coroutines
io.arrow-kt:arrow-fx-stm
io.arrow-kt:arrow-annotations
io.arrow-kt:arrow-atomic
io.arrow-kt:arrow-collectors
io.arrow-kt:arrow-optics
io.arrow-kt:arrow-resilience