diff --git a/.travis.yml b/.travis.yml new file mode 100755 index 0000000..3085b53 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: scala + +scala: 2.11.1 + +notifications: + email: false + +jdk: + - oraclejdk7 + - openjdk7 + - openjdk6 + +install: ./gradlew setupCIWorkspace -S +script: ./gradlew build -S + +env: + global: + TERM=dumb \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..86da7c8 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,79 @@ +Restricted Public Software License +============================ + +Version 1.3.1 +© MrTJP 2013 + +0. Definitions +-------------- +RPSL: Restricted Public Software License + +Minecraft: Denotes a copy of the Minecraft game licensed by Mojang AB + +User: Anybody that interacts with the software in one of the following ways: + - play + - decompile + - recompile or compile + - modify + - distribute + +Mod: The mod code designated by the present license, in source form, binary +form, as obtained standalone, as part of a wider distribution or resulting from +the compilation of the original or modified sources. + +Dependency: Code required for the Mod to work properly. This includes +dependencies required to compile the code as well as any file or modification +that is explicitly or implicitly required for the Mod to work. + +Developer: Any User who is recognized as having significant contribution to +the development of the Mod. + +Repository: The official repository presented by the Developers where the +Mod source is available. + +1. Scope +-------- + +The present license is granted to any User of the Mod. As a prerequisite, +a User must own a legally acquired copy of Minecraft. All Dependencies of +this Mod must also be legally acquired. + +2. Liability +------------ + +This Mod is provided 'as is' with no warranties, implied or otherwise. The +Developers take no responsibility for anything that happens. + +3. Play rights +-------------- + +The User is allowed to install this Mod on a client or a server and to play +without restriction. + +4. Modification rights +---------------------- + +The User has the right to look at the Mod source code and modify it. No matter +how heavily it was modified, it cannot be used for anything more than to +contribute it to the actual Mod. + +5. Derivation rights +-------------------- + +The User has the rights to write code that extends or instanciate the Mod classes +or interfaces, refer to its objects, or calls its functions. This code is known +as "derived" code. If any User derives code from this Mod, clear and explicit +credits must be given to every Developer of this Mod, as well as means of locating +the Mod source. Any part of the code that is copied without proof of written +permission from a Developer is not considered derived. + +6. Distribution of original or modified Mod +------------------------------------------- + +By default this Mod may only be distributed on its own by the Developers. +It may be included in a mod pack with other mods, as long as it is +(a)non-profit and (b)legal. URL shorteners or other attempts to make money is +strictly forbidden without advance written permission. + +A User is allowed to freely copy and distribute the API files found under the +API package or from a separate download, so long as it is not edited in any way. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..92d4db2 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +Forge Relocation +========== +Forge Relocation is a mod created to handle the movement of blocks. The aim is to allow developers to use the API toimplement ways to move their own blocks instead of having one mod handle them all in a very hacky and non-reliable manner. +- [![Build Status](https://travis-ci.org/MrTJP/ForgeRelocation.svg)](https://travis-ci.org/MrTJP/ForgeRelocation) +- [Minecraft Forum Thread](http://www.minecraftforum.net/topic/1885652-) +- [Website](http://projectredwiki.com) + +Note: +---------- +Forge Relocation is currently in alpha stages of development. Although it is fairly stable, the safety of your world is not guaranteed. + +*This mod is not affiliated with Minecraft Forge.* + + +Developing: +---------- +Setup is slightly different depending on what system and IDE you use. +This assumes you know how to run gradle commands on your system. +The base command, `./gradlew` being used below is for Linux or Unix based systems. For windows, this would simply change to `gradlew`. +Of course, if you dont need to use the wrapper (as in, you have gradle installed on your system), you can simply go right to `gradle`. + + +1. Clone repository to empty folder. +2. Cd to the repository (folder where `src` and `resources` are located). +3. Run `./gradlew setupDecompWorkspace` to set up an environment. +4. Run `./gradlew eclipse` or `./gradlew idea` appropriately. +5. Open your IDE using the generated files (i.e., for IDEA, a ProjectRed.ipr is generated in `./`) +6. Edit, run, and debug your new code. +7. Once its bug free and working, you may submit it as a PR to the main repo. \ No newline at end of file diff --git a/resources/assets/relocation/lang/en_US.lang b/resources/assets/relocation/lang/en_US.lang index 00fa9d4..691a456 100755 --- a/resources/assets/relocation/lang/en_US.lang +++ b/resources/assets/relocation/lang/en_US.lang @@ -1,2 +1,2 @@ -tile.relocation.blockframe=Frame -tile.relocation.blockmotor=Frame Motor \ No newline at end of file +tile.relocation.blockframe|0=Frame +tile.relocation.blockmotor|0=Frame Motor \ No newline at end of file