Developer API

Learn how to develop against the Waystones API.

Waystones provides an API for developers to interact with the mod, extend certain areas of it, and react to events.

API Overview

You can learn about the available API methods on our GitHub repository.

A good starting point is the WaystonesAPI class, or the various events you can listen to.

If you have any questions or need help, feel free to join our Discord server.

repositories {
    maven {
        url "https://maven.twelveiterations.com/repository/maven-public/"

        content {
            includeGroup "net.blay09.mods"
        }
    }
}

dependencies {
    // Common (mojmap):
    compileOnly "net.blay09.mods:waystones-common:${mod_version}"
    // NeoForge:
    implementation "net.blay09.mods:waystones-neoforge:${mod_version}"
    // Fabric:
    implementation "net.blay09.mods:waystones-fabric:${mod_version}"
}