Skip to content

Xavier-MC/Leaves

 
 

Repository files navigation

Leaves-Fork

English | 中文

Fork of Paper aims at repairing broken vanilla properties.

You can see what we modify and fix at here

How To (Server Admins)

Leaves use the same paperclip jar system that Paper uses.

You can download the latest build (1.20.x) of Leaves by going here

You can also build it yourself.

You can visit our documentation for more information.

How To (Plugin developers)

Leaves-API:

maven {
    name = 'leavesmc-repo'
    url = 'https://repo.leavesmc.org/snapshots/'
}

dependencies {
    compileOnly("org.leavesmc.leaves:leaves-api:1.20.6-R0.1-SNAPSHOT")
}

In order to use Leaves as a dependency you must build it yourself. Each time you want to update your dependency, you must re-build Leaves.

Leaves-Server:

dependencies {
    compileOnly("org.leavesmc.leaves:leaves:1.20.6-R0.1-SNAPSHOT")
}

Building

You need JDK 21 and good Internet conditions

Clone this repo, run ./gradlew applyPatches, then run ./gradlew createMojmapLeavesclipJar in your terminal.

You can find the jars in the build/libs directory.

Special Thanks To:

JetBrains, creators of the IntelliJ IDEA, supports We with one of their Open Source Licenses. We recommend using IntelliJ IDEA as your IDE.