bspkrs' bspkrsCore dependency mod for Minecraft. Contains the set of shared classes used in all mods released by bspkrs. This repo contains source files for FML/Forge.
The Java JDK is used to compile bspkrsCore.
Oracle Binary Code License Agreement for Java SE
, and download it (if you have a 64-bit OS, please download the 64-bit version).emerge dev-java/oracle-jdk-bin
pacman -S jdk7-openjdk
apt-get install openjdk-7-jdk
yum install java-1.7.0-openjdk
Control Panel\System and Security\System
, and click on Advanced System Settings
on the left-hand side.Environment Variables
.System Variables
, click New
.Variable Name
, input JAVA_HOME
.Variable Value
, input something similar to C:\Program Files\Java\jdk1.7.0_45
exactly as shown (or wherever your Java JDK installation is), and click Ok
.Path
, and double-click on it.;%JAVA_HOME%\bin
EXACTLY AS SHOWN and click Ok
. Make sure the location is correct; double-check just to make sure.javac
. If it spews out a bunch of possible options and the usage, then you're good to go. If not try the steps again.Gradle is used to execute the various build tasks when compiling bspkrsCore.
C:\Gradle
.emerge dev-java/gradle-bin
apt-get install gradle
yum install gradle
only if you know what you're doing.Environment Variables
and then create a new system variable.Variable Name
, input GRADLE_HOME
.Variable Value
, input something similar to C:\Gradle-1.10
exactly as shown (or wherever your Gradle installation is), and click Ok
.Path
again, and append ;%GRADLE_HOME%\bin
EXACTLY AS SHOWN and click Ok
. Once again, double-check the location.gradle
. If it says "Welcome to Gradle [version].", then you're good to go. If not try the steps again.Git is used to clone bspkrsCore and update your local copy.
This section assumes that you're using the command-line version of Git.
C:\Development\Github\Minecraft\
) by executing cd [folder location]
. This location is known as mcdev
from now on.git clone git@github.com:bspkrs/bspkrsCore.git
. This will download bspkrsCore's source into mcdev
.mcdev
\-bspkrsCore
\-bspkrsCore's files (should have build.gradle)
gradle setupDecompWorkspace
. This sets up Forge and downloads the necessary libraries to build bspkrsCore. This might take some time, be patient.
build.properties
changes.gradle build
. If you did everything right, BUILD SUCCESSFUL
will be displayed after it finishes. This should be relatively quick.
BUILD FAILED
, check the error output (it should be right around BUILD FAILED
), fix everything (if possible), and try again.mcdev\bspkrsCore\build\libs
.
.jar
file named [#.#.#]bspkrsCore-<version>.jar
.In order to get the most up-to-date builds, you'll have to periodically update your local repository.
mcdev
in the console.git pull master
. This pulls all commits from the official repository that do not yet exist on your local repository and updates it.So you found a bug in the code? Think you can make it more efficient? Want to help in general? Great!
Fork
icon located at the top-right of this page (below your username).git add -A
, git commit
and git push
in your command line.Pull Request
at the right-hand side of the gray bar directly below your fork's name.Click to create a pull request for this comparison
, enter your pull request title, and create a detailed description explaining what you changed.Send pull request
, and wait for feedback!Crashing? Have a suggestion? Found a bug? Create an issue now!
New Issue
right below Star
and Fork
.Submit new issue
, and wait for feedback!This README is shamelessly based off of pahimar's version.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.