commit | 76282102994b1e7e4351315cb02c03c8e904e819 | [log] [download] |
---|---|---|
author | Florian Nücke <florian@nuecke.de> | Wed Feb 11 15:58:11 2015 +0100 |
committer | Florian Nücke <florian@nuecke.de> | Tue Apr 07 13:21:08 2015 +0200 |
tree | 7c8660a56dff2825f669a448be4e007206133dd1 | |
parent | 4d33a4860fe67f6f3997651cba7efa60184f7f10 [diff] |
Pulling a bunch of constants (item and block names for now) into a single class. Minor rendering adjustments after updating Forge version. (cherry picked from commit 707a5c728c9a7eba2648c2f3b89f6138e99c878a) Conflicts: build.properties src/main/scala/li/cil/oc/CreativeTab.scala src/main/scala/li/cil/oc/client/Proxy.scala src/main/scala/li/cil/oc/client/renderer/HighlightRenderer.scala src/main/scala/li/cil/oc/client/renderer/block/ExtendedBlockModel.scala src/main/scala/li/cil/oc/client/renderer/item/ItemRenderer.scala src/main/scala/li/cil/oc/common/EventHandler.scala src/main/scala/li/cil/oc/common/Loot.scala src/main/scala/li/cil/oc/common/PacketHandler.scala src/main/scala/li/cil/oc/common/Proxy.scala src/main/scala/li/cil/oc/common/block/Item.scala src/main/scala/li/cil/oc/common/block/RobotAfterimage.scala src/main/scala/li/cil/oc/common/block/RobotProxy.scala src/main/scala/li/cil/oc/common/block/Screen.scala src/main/scala/li/cil/oc/common/component/Terminal.scala src/main/scala/li/cil/oc/common/component/TextBuffer.scala src/main/scala/li/cil/oc/common/entity/Drone.scala src/main/scala/li/cil/oc/common/init/Blocks.scala src/main/scala/li/cil/oc/common/init/Items.scala src/main/scala/li/cil/oc/common/item/Analyzer.scala src/main/scala/li/cil/oc/common/item/Tablet.scala src/main/scala/li/cil/oc/common/recipe/ExtendedRecipe.scala src/main/scala/li/cil/oc/common/recipe/Recipes.scala src/main/scala/li/cil/oc/common/template/DroneTemplate.scala src/main/scala/li/cil/oc/common/template/MicrocontrollerTemplate.scala src/main/scala/li/cil/oc/common/template/NavigationUpgradeTemplate.scala src/main/scala/li/cil/oc/common/template/RobotTemplate.scala src/main/scala/li/cil/oc/common/template/ServerTemplate.scala src/main/scala/li/cil/oc/common/template/TabletTemplate.scala src/main/scala/li/cil/oc/common/tileentity/Keyboard.scala src/main/scala/li/cil/oc/common/tileentity/traits/TextBuffer.scala src/main/scala/li/cil/oc/integration/opencomputers/DriverBlockEnvironments.scala src/main/scala/li/cil/oc/integration/opencomputers/DriverFileSystem.scala src/main/scala/li/cil/oc/integration/opencomputers/DriverLootDisk.scala src/main/scala/li/cil/oc/integration/opencomputers/ModOpenComputers.scala src/main/scala/li/cil/oc/util/ItemCosts.scala
OpenComputers is a Minecraft mod that adds programmable computers and robots to the game. The built-in computer implementation uses Lua 5.2 and is fully persistent. This means programs will continue running across reloads. For more information, please see the wiki. Feel invited to visit the community forums or drop by in the IRC channel #oc on esper.net.
A few useful links:
###Experimental Builds You can find experimental builds on the build server. Expect these to be generally more unstable than builds marked as releases. Use these at your own risk, but - when using the latest one - please do report bugs you encounter using them. Thanks!
This mod is licensed under the MIT license. All assets are public domain, unless otherwise stated; all are free to be distributed as long as the license / source credits are kept. This means you can use this mod in any mod pack as you please. I'd be happy to hear about you using it, though, just out of curiosity.
###Assets and Localizations
text
or sides
) would help a lot. Thanks!###Bug fixes, features and scripts
####Pull requests The following are a few quick guidelines on pull requests. That is to say they are not necessarily rules, so there may be exceptions and all that. Just try to stick to those points as a baseline.
Also, and this should go without saying, your contributed code will also fall under OC's license, unless otherwise specified (in the super rare case of adding third-party stuff, add the according license information as a LICENSE-???
file, please).
To use the API in your own mod, either get the API JAR from the build server, or if you're using gradle, add a dependency to the maven repo:
repositories { maven { url = "http://maven.cil.li/" } } dependencies { compile "li.cil.oc:OpenComputers:MC1.7.10-1.4.+:api" }
Adjust the version number accordingly to the version you'd like to build against.
To run the mod in your development environment, download the dev
JAR from the build server and drop it into your dev env's eclipse/mods
folder.
Alternatively, leave out the api
classifier and you can build against the dev JAR directly. This way you don't have to add it to your mods folder, but you will have to add -Dfml.coreMods.load=li.cil.oc.common.launch.TransformerLoader
to the VM options in your run configuration.
If you have any questions, please do not hesitate to ask, either in the forums or in the IRC!
Want to tinker with the mod itself? Here is how - for IntelliJ IDEA users.
Important
Clone the repository, then in it rungradlew setupDecompWorkspace
to setup the workspace, including assets and such, thengradlew idea
to create an IntellJ IDEA project.
Open the project and you will be asked to import the Gradle project (check your Event Log if you missed the pop-up). Do so. This will configure additionally referenced libraries.
In the case you wish to use Eclipse rather than IDEA, the process is mostly the same, except you must run gradlew eclipse
rather than gradlew idea
.