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 download
button 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 SDK
to1.8
if it's not already set. - Set
Project language level
to8 - Lambdas, type annotations etc
.
- Set
- Project Settings > Modules > Kineticraft:
- Sources:
- Mark the
src
directory as aSource
.
- Mark the
- Paths:
- Press the
Use module compile output path
radio button. - Set
Output path
to a new directory namedbuild
in the repository directory. - Set
Test output path
to a new directory namedtest
in the repository directory.
- Press the
- Sources:
- Project Settings > Libraries:
- Press the
+
button in the top of the left panel to toggle theNew Project Library
popup and selectJava
. - From the dropdown file browser, choose the
/libs/
directory. - In the
Choose Modules
window, select theKineticraft
module 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 overJAR
and selectEmpty
. - Name the new entry in the sidebar
Kineticraft
. - Toggle the
Include in project build
checkmark. - In the
Available Elements
panel, double click'Kineticraft' compile output
to move it over to the left panel. - Press the
Use Exisiting Manifest
button, and selectMETA-INF > MANIFEST.MF
from the dropdown file browser.
- Press the
- Project Settings > Project:
- Preferences > Build, Execution, Deployment > Compiler > Annotation Processors:
- Click the
Enable annotation processing
checkbox.
- Click the
- Preferences > Plugins > Browse repositories:
- Search and install
Lombok Plugin
.
- Search and install