A custom implementation of many Essentials features and staff utilities, built with expandability in mind.
- This tutorial only supports using IntelliJ IDEA (either Community or Professional), which we strongly recommend. You may configure it using your IDE of choice, but if you do, you'll be on your own.
- Clone the repository locally.
- For Github Desktop, simply press the green
Clone or downloadbutton and pressOpen in Desktop.
- For Github Desktop, simply press the green
- Open the downloaded repository in your IDE.
- Configure Project Structure:
- Project Settings > Project:
- Set
Project SDKto1.8if it's not already set. - Set
Project language levelto8 - Lambdas, type annotations etc.
- Set
- Project Settings > Modules > Kineticraft:
- Sources:
- Mark the
srcdirectory as aSource.
- Mark the
- Paths:
- Press the
Use module compile output pathradio button. - Set
Output pathto a new directory namedbuildin the repository directory. - Set
Test output pathto a new directory namedtestin the repository directory.
- Press the
- Sources:
- Project Settings > Libraries:
- Press the
+button in the top of the left panel to toggle theNew Project Librarypopup and selectJava. - From the dropdown file browser, choose the
/libs/directory. - In the
Choose Moduleswindow, select theKineticraftmodule and pressOK. - If there are any subdirectories in the
/libs/directory (eg. Kotlin dependencies grouped into a directory), you need to manually add them using the+button in the bottom of the right panel.
- Press the
- Project Settings > Artifacts:
- Press the
+button, hover overJARand selectEmpty. - Name the new entry in the sidebar
Kineticraft. - Toggle the
Include in project buildcheckmark. - In the
Available Elementspanel, double click'Kineticraft' compile outputto move it over to the left panel. - Press the
Use Exisiting Manifestbutton, and selectMETA-INF > MANIFEST.MFfrom the dropdown file browser.
- Press the
- Project Settings > Project:
- Preferences > Build, Execution, Deployment > Compiler > Annotation Processors:
- Click the
Enable annotation processingcheckbox.
- Click the
- Preferences > Plugins > Browse repositories:
- Search and install
Lombok Plugin.
- Search and install