Skip to content
This repository was archived by the owner on Oct 27, 2021. It is now read-only.

Setting up addon workspace

Cubxity edited this page May 23, 2018 · 3 revisions

How to setup addon workspace

this require basic knowledge of gradle, java and intellij.

Video tutorials

Setting up workspace

Making commands

Cloning

You can clone Addon-Workspace from intellij or command line

Command Line: git clone https://github.com/HyperiumClient/Addon-Workspace

IntellIJ: VCS > Checkout from version control > Git > type https://github.com/HyperiumClient/Addon-Workspace

Importing

Import as a gradle project. IMPORTANT: wrapper version from wrapper task. Click import change after project is loaded.

NOTE:
Eclipse is not recommended because it is hard to use forgegradle and kotlin with it

Setting up decompiled workspace

First run gradle task called setupDecompWorkspace in Gradle tab > tasks > forgegradle

IntelliJ Users
Run forgegradle task called genIntellijRuns in order for it to generate Minecraft client run task.
Click on task dropdown, Edit configurations and set module of Minecraft client task to projectName_main

Clone this wiki locally