Setup

To add oωo to you project, begin by including our maven in the repositories block of your build.gradle

build.gradle
repositories {
    maven { url 'https://maven.wispforest.io/releases/' }
}

Then, declare the dependency inside your dependencies block and as well as the version you want to use inside your gradle.properties.

dependencies {
    modImplementation "io.wispforest:owo-lib:${project.owo_version}"
    include "io.wispforest:owo-sentinel:${project.owo_version}"
}

As you can see, this example also includes owo-sentinel. sentinel is a super tiny mod which is designed to be Jar-in-Jar'd by mods that depend on owo. If a player then installs your mod without installing owo, sentinel will prevent their game from launching and instead open a window warning them that owo is required. It gives them the option to automatically install owo or open owo's page so they can do it manually

dependencies {
    // Moddev Projects - Neoforge
    implementation "io.wispforest:owo-lib-neoforge:${project.owo_version}"
    accessTransformer "io.wispforest:owo-lib-neoforge:${project.owo_version}"
    interfaceInjectionData "io.wispforest:owo-lib-neoforge:${project.owo_version}"

    // Arch Loom Projects - Neoforge
    modImplementation "io.wispforest:owo-lib-neoforge:${project.owo_version}"
}
# https://maven.wispforest.io/io/wispforest/owo-lib/
owo_version=...

If you want to use a version other than the most current one, check the GitHub releases page


Last update: 2024-10-24