Skip to content

Installation

TODO

In order to install the UHCGDK to develop with, you can use the following command :

Cloning the git repository
git clone https://github.com/Noradrenalin-Developement/Minecraft-UHCGDK

After this, you should be found with a new folder named Minecraft-UHCGDK where there’s the source code of the GDK

To check if the installation you’ve got works properly, try to run the following command :

Building the current GDK from source
cd Minecraft-UHCGDK # Moving inside the source code folder
./gradlew :UHCGDK:shadowJar # Building the UHCGDK from source as a JAR file

You should find the built jar UHCGDK.jar in the artifacts/ folder at the root of the repository :

  • DirectoryMinecraft-UHCGDK/
    • Directory.gradle/
    • Directory.idea/
    • Directory.kotlin/
    • Directoryartifacts/
      • UHCGDK.jar — This is the built JAR file
    • Directorybuild/
    • DirectorybuildSrc/
    • Directorydocs/
    • Directoryexamples/
    • Directorygradle/
    • DirectoryUHCGDK/
    • .env.template
    • .gitattributes
    • .gitignore
    • gradle.properties
    • gradlew
    • gradlew.bat
    • LICENSE.md
    • README.md
    • settings.gradle.kts

If this file is built properly, then you’re good to go !