Перейти к содержимому
Mineforgian

Marrow

arrow-kt libraries bundled for Minecraft

Загрузки
462
Подписчики
0
Обновлён
17 июля 2025 г.
Лицензия
Apache-2.0

Опубликован 16 июля 2025 г.

Marrow

maven-releases-badge maven-nightly-badge modrinth-badge curseforge-badge
Minecraft mod that bundles Arrow for ease-of-use and installation.

Usage

Simply add it as a dependency to your Gradle project like so:

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")
    }
}

And then you should have access to Arrow in your project:

val example: Either<String, Int> = Either.Left("Hello world!")

Versioning

Marrow tracks the upstream version of Arrow, which is why the initial release is tagged as version 2.1.2. If you ever find Marrow to be outdated, please create an issue or contact me on Discord.

Bundled 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

Комментарии

Загружаем…