Skip to content

Repository files navigation

Weave's Mod Template for Kotlin

This repository shows how to setup a Gradle project with the Weave Gradle plugin to develop mods for Weave in Kotlin. This template uses Kotlin, if you want to use Java instead, check out the Java Template.

Note

If you prefer developing in Java instead of Kotlin, check out the Java template repository at Weave-MC/ExampleMod.

How to start?

To use this repository as a template, click on the green Use this template button.

Alternatively, you can simply clone this repository with the following commands:

# You can change "MyCoolMod" to anything you'd like
git clone https://github.com/Weave-MC/ExampleMod-Kotlin MyCoolMod 
cd MyCoolMod

How to build

Building requires a JDK of version 17 or higher. A good JDK distribution can be downloaded from Adoptium.net, but any OpenJDK compatible JDK suffices.

To build a Weave mod, you can simply run:

./gradlew build

You can find the built jar files in ./build/libs/*.jar.

About

An example Weave mod for the newest version of Weave Loader, in Kotlin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages