Skip to content

Addon Setup

Aurora Dawn edited this page Aug 21, 2024 · 5 revisions

Start with the typical Fabric mod setup for the version of Minecraft that Trickster depends on. Once you have the project open in your IDE, add the following snippet to your build.gradle in the dependencies block:

modImplementation("dev.enjarai:trickster:${property('deps.trickster')}")

For the above entry to resolve, you'll also need to add the following snippet to the repositories block:

maven {
    url "https://maven.enjarai.dev/releases"
}

And finally, you need to declare the value for deps.trickster referenced in the first snippet. You can do so in the gradle.properties file:

deps.trickster=2.0.0-alpha.23

The version in the snippet above is an example, and you may need to replace it with the version you intend to target. Now if you rebuild Gradle, all the necessary dependencies should be loaded, and you can move on to making your first trick!

Clone this wiki locally