From fef2784141e1465fc77add96732cc4049f97968b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Thu, 23 Apr 2015 10:15:24 +0200 Subject: [PATCH] Seems like implementing a SideOnly interface makes the whole class SideOnly, instead of just stripping the interface... oh well. Closes #1098. --- README.md | 4 +++- src/main/java/li/cil/oc/api/driver/item/UpgradeRenderer.java | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 59d3b541c..3edb41bfa 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ A few useful links: * [Downloads][releases] * [Bug Tracker][issues] * [Wiki][wiki] +* [Ingame Manual][ingame manual] * [IRC][irc] * [Community Forums][forums] @@ -58,7 +59,7 @@ repositories { maven { url = "http://maven.cil.li/" } } dependencies { - compile "li.cil.oc:OpenComputers:MC1.7.10-1.4.+:api" + compile "li.cil.oc:OpenComputers:MC1.7.10-1.5.+:api" } ``` Adjust the version number accordingly to the version you'd like to build against. @@ -104,3 +105,4 @@ In the case you wish to use Eclipse rather than IDEA, the process is mostly the [robot names]: https://github.com/MightyPirates/OpenComputers/blob/master-MC1.7.10/src/main/resources/assets/opencomputers/robot.names [wiki]: http://ocdoc.cil.li/ [integration]: https://github.com/MightyPirates/OpenComputers/tree/master-MC1.7.10/src/main/scala/li/cil/oc/integration +[ingame manual]: https://github.com/MightyPirates/OpenComputers/tree/master-MC1.7.10/src/main/resources/assets/opencomputers/doc diff --git a/src/main/java/li/cil/oc/api/driver/item/UpgradeRenderer.java b/src/main/java/li/cil/oc/api/driver/item/UpgradeRenderer.java index 763549c52..ec1e0201c 100644 --- a/src/main/java/li/cil/oc/api/driver/item/UpgradeRenderer.java +++ b/src/main/java/li/cil/oc/api/driver/item/UpgradeRenderer.java @@ -17,8 +17,9 @@ import java.util.Set; * renderable upgrade. When the robot is rendered, each equipped upgrade is * checked for this interface, and if present, the {@link #render} method * is called. + *

+ * Note that these methods are only ever called on the client side. */ -@SideOnly(Side.CLIENT) public interface UpgradeRenderer { /** * Returns which mount point this renderer wants to render the specified