Dev:Developing the mod
You can contribute to Valkyrien Skies by making edits to the code and making pull requests to the main repository, due to the fact that the mod is open source.
Prerequisites
Setting up your IDE
To start, open up IntelliJ IDEA. If you're using Windows, use Powershell. Also, make sure you're using a fresh clone of Valkyrien Skies.
Obtaining a copy of the project
- Go to the directory where you want to store the project.
- Type into your command line:
git clone --recurse-submodules https://github.com/ValkyrienSkies/Valkyrien-Skies
- Type into your command line:
cd Valkyrien-Skies
- Type into your command line:
./gradlew setupDecompWorkspace idea genIntellijRuns
. You may have to wait for several minutes. - Open IntelliJ IDEA and select Import Project
- Navigate to the directory where the project was stored -
Valkyrien-Skies
- and select it. Press OK. - Open settings (
Ctrl
+Alt
+S
) and search for Annotation Processors. - On the side, select the Gradle Imported tab. Check the Enable annotation processing box, and add
lombok.launch.AnnotationProcessorHider$AnnotationProcessor
to the list of Processor FQ Names - Next, go to
Build, Execution, Deployment > Build Tools > Gradle
and make sure thatBuild and run using: IntelliJ IDEA
is set. - (Optional) if you are unfamiliar with git submodules you may also want to turn on
git config submodule.recurse true
Required Plugins
- Open up File > Settings > Plugins > Marketplace
- Install "Minecraft Development"
- Install "Lombok"
- Restart IntelliJ