- Functionality may currently not work for any pulls made from this github repo.
- Will Change status once verified working.
More Info:
Wargames Release 1.0 Used Vehicle Parts 0.3 (Pre-Release, since im lazy)
Wargames Release 2.0 Likely to use Vehicle Parts 1.0 (will jump out of Pre-Release), however might jump it to 2.0 to match the Server/Modpack release version for simplicity's sake.
Myself (rhyshopkins04),
NateBacon4
For when i have made changes that you need but haven't been bothered to send you the up to date .jar so you can come here, stop being lazy and build it yourself!!
- Make sure you have JDK8 installed. If not, download it from adoptium.net
- If you don't have git installed, download&install it from here.
- Open up "Git Bash":
- Press Windows Button, type "Git Bash" and press ENTER
- Enter the directory where you would like the sources to be (advanced users can use any directory)
cd $HOME/Downloads
- Download the source code:
git clone https://github.com/RhysHopkins04/VehicleParts.git
- Enter the source code directory
cd VehicleParts
- Build the mod
./gradlew build
- Locate the mod file.
- Open up your file explorer.
- Navigate to the location where you downloaded the sources.
- If you exactly followed step 1, it should be
C:/Users/%USER%/Downloads
.
- If you exactly followed step 1, it should be
- Enter the downloaded source tree.
- Navigate to
build/libs
. - Grab the "VehicleParts--.jar" one.
- This is your mod file. You can install it like any other mod by putting it into your mods directory.
If you want to make some changes to the mod yourself instead of just asking me to change things, follow this guide below, PLEASE I BEG JUST DO IT YOURSELF: Some of the content below may be incorrect since i cannot remember what i did,
If you are having issues:
Please also check the README.txt file if things are not working, the main points can be seen below in the code blocks:
gradlew idea
OR
gradlew eclipse
AND OR
gradlew clean setDecompWorkspace (idea) or (eclipse)
- Follow steps 1-2 from Building from source section
- Create a directory where the repository will reside, using a name that is not "VehicleParts"
- Download the forge src from here and extract it into the directory.
- Download the source code:
- Using Git Bash, enter wherever your directory is located:
cd $HOME/Downloads
- Download the source code:
git clone https://github.com/RhysHopkins04/VehicleParts.git
- Move or copy every file within the new folder into your directory, making sure to overwrite any files.
- Feel free to delete the remaining folder and rename your directory
- Enter the source directory
cd VehicleParts
- Setup forge decompilation workspace
./gradlew setupDecompWorkspace
- Generate eclipse files
./gradlew eclipse
- Switch to the eclipse folder inside your directory as a workspace.
- If necessary, make sure that Eclipse is using the JDK8.
- On Linux, enter Windows>Preferences>Java>Installed JREs.
- Click search to navigate to /usr/lib/jvm and open it. Select the Java 8 JDK (e.g., java-8-openjdk).
- Afterwards, enter Execution Environment, select JavaSE-1.8, and select the jre listed as a [perfect match]
- On Windows, you may need to set your JAVA_HOME.
- Search for Environment Variables and click Edit the System Environment Variables.
- Click Environment Variables. Click new under System Variables.
- Enter JAVA_HOME under Variable Name and enter the path to your JDK 8 under Variable Value (e.g., C:\Program-Files\Java\jdk1.8.0_102).
- In Eclipse, now enter Windows>Preferences>Java>Installed JREs.
- Click Add Standard VM; in the JRE home, navigate to the directory where the JDK is installed, then click finish and select it.
- On Linux, enter Windows>Preferences>Java>Installed JREs.
- Code!