How to add a dependency to Maven
Add the following top.hendrixshen.magiclib : magiclib-minecraft-api-1.20.4-fabric maven dependency to the pom.xml
file with your favorite IDE (IntelliJ / Eclipse / Netbeans):
<dependency>
<groupId>top.hendrixshen.magiclib</groupId>
<artifactId>magiclib-minecraft-api-1.20.4-fabric</artifactId>
<version>0.6.48-beta</version>
</dependency>
How to add a dependency to Gradle
Gradle Groovy DSL: Add the following top.hendrixshen.magiclib : magiclib-minecraft-api-1.20.4-fabric gradle dependency to your build.gradle
file:
implementation 'top.hendrixshen.magiclib:magiclib-minecraft-api-1.20.4-fabric:0.6.48-beta'
Gradle Kotlin DSL: Add the following top.hendrixshen.magiclib : magiclib-minecraft-api-1.20.4-fabric gradle kotlin dependency to your build.gradle.kts
file:
implementation("top.hendrixshen.magiclib:magiclib-minecraft-api-1.20.4-fabric:0.6.48-beta")
How to add a dependency to SBT Scala
SBT Scala: Add the following top.hendrixshen.magiclib : magiclib-minecraft-api-1.20.4-fabric sbt scala dependency to your build.sbt
file:
libraryDependencies += "top.hendrixshen.magiclib" % "magiclib-minecraft-api-1.20.4-fabric" % "0.6.48-beta"