Giter VIP home page Giter VIP logo

##Steam and Steel CURRENTLY IN DEVELOPMENT

Setting up the development environment

Compiling Steam and Steel

Contributing

Licensing

Note: This readme was based on pahimar's version.

###Setting up the development environment


Set Up Java

Set Up Git

Set Up This Project

Compile This Project

Update Your Repository

####Set Up Java The Java JDK is used to compile this project.

  1. Download and install the Java JDK.
    • Windows/Mac download link. Scroll down, accept the Oracle Binary Code License Agreement for Java SE, and download it (if you have a 64-bit OS, please download the 64-bit version).
    • Linux: Installation methods for certain popular flavors of Linux are listed below. If your distribution is not listed, follow the instructions specific to your package manager or install it manually here.
      • Gentoo: emerge dev-java/oracle-jdk-bin
      • Archlinux: pacman -S jdk7-openjdk
      • Ubuntu/Debian: apt-get install openjdk-7-jdk
      • Fedora: yum install java-1.7.0-openjdk
  2. Windows: Set environment variables for the JDK.
    • Go to Control Panel\System and Security\System, and click on Advanced System Settings on the left-hand side.
    • Click on Environment Variables.
    • Under System Variables, click New.
    • For Variable Name, input JAVA_HOME.
    • For Variable Value, input something similar to C:\Program Files\Java\jdk1.7.0_51 EXACTLY AS SHOWN (or wherever your Java JDK installation is), and click Ok.
    • Scroll down to a variable named Path, and double-click on it.
    • Append ;%JAVA_HOME%\bin EXACTLY AS SHOWN and click Ok. Make sure the location is correct; double-check just to make sure.
  3. Open up your command line and run javac. If it spews out a bunch of possible options and the usage, then you're good to go.

####Set Up Git Git is used to clone this repository and update your local copy.

  1. Download and install Git here.
    • Optional: Download and install a Git GUI client, such as SourceTree, Github for Windows/Mac, TortoiseGit, etc. A nice list is available here.

####Set Up This Project This section assumes that you're using the command-line version of Git.

  1. Open up your command line.
  2. Navigate to a place where you want to download this project (eg C:\Github\Development\) by executing cd [folder location]. This location is known as mcdev from now on.
  3. Execute git clone https://github.com/SteamNSteel/SteamNSteel.git. This will download this project into a folder in mcdev.
  4. Right now, you should have a directory that looks something like:

mcdev
\-SteamNSteel
	\-This project's files (should have `build.gradle`, etc.)

####Compile This Project

  1. Execute gradlew build. If you did everything right, BUILD SUCCESSFUL will be displayed after it finishes.
    • If you see BUILD FAILED, check the error output (it should be right around BUILD FAILED), fix everything (if possible), and try again.
  2. Navigate to mcdev\SteamNSteel\build\libs.
    • You should see a .jar file named [A.A.AA]steamnsteel-B.B.jar, where A.A.AA is the minecraft_version value in build.properties and B.B is the mod_version value in build.properties. This is the mod file to be used with Minecraft.
    • Additionally, you should see two more .jar files named [A.A.AA]steamnsteel-deobf-B.B.jar and [A.A.AA]steamnsteel-deobf-B.B-src.jar. These are, respectively, the development modfile and the source code. The development mod file can be used when testing mods that are under development.
  3. Copy the first jar into your Minecraft mods folder, and you are done!

####Update Your Repository In order to get the most up-to-date builds, you'll have to periodically update your local repository and recompile this project.

  1. Open up your command line.
  2. Navigate to mcdev/steamnsteel in the console.
  3. Make sure you have not made any changes to the local repository, or else there might be issues with Git.
    • If you have, try reverting them to the status that they were when you last updated your repository.
  4. Execute git pull master. This pulls all commits from the official repository that do not yet exist on your local repository and updates it.

###Contributing


####Submitting A Pull Request So you found a bug in this project's code? Think you can make it more efficient? Want to help in general? Great!

  1. If you haven't already, create a Github account.
  2. Click the Fork icon located at the top-right of this page (below your username).
  3. Switch to the develop branch.
  4. Make the changes that you want to and commit them.
    • If you're making changes locally, you'll have to execute git commit -a and git push in your command line.
  5. Click Pull Request at the right-hand side of the gray bar directly below your fork's name.
  6. Click Click to create a pull request for this comparison, enter your pull request's title, and create a detailed description telling us what you improved.
  7. Click Send pull request, and wait for feedback!

####Creating an Issue this mod crashes every time? Have a suggestion? Found a bug? Create an issue now!

  1. Make sure your issue hasn't already been answered or fixed. Also think about whether your issue is a valid one before submitting it.
  2. Go to the issues page.
  3. Click New Issue right below Star and Fork.
  4. Enter your Issue's title (something that summarizes your issue), and then create a detailed description ("Hey, could you add/change xxx?" or "Hey, I found an exploit.", etc.).
  5. Click Submit new issue, and wait for feedback!

Licensing

  • Source code Copyright © 2014 Rosie Alexander and Scott Killen.

    GPL3

    This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.

  • Art assets, model objects, localizations and other non-source code are licensed under a Creative Commons Attributions 4.0 Internationla License.

    CC BY 4.0

steamnsteel's Projects

mcgui icon mcgui

McGUI is a simplified GUI layer for Minecraft

steamnsteel icon steamnsteel

A Minecraft mod about steampunk tech and adventure.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.