diff options
author | Dream-Master <dream-master@gmx.net> | 2020-03-17 22:21:40 +0100 |
---|---|---|
committer | Dream-Master <dream-master@gmx.net> | 2020-03-17 22:21:40 +0100 |
commit | 0f6b03f927b2c482100b2ba46964db72c96156a0 (patch) | |
tree | 141bab113db4dbd76f6b3701d876f1c8e3f28b20 /src/main/java/gregtech/api/interfaces/metatileentity/IConnectable.java | |
parent | 28ed289c626555dda9f369780b28651a8c5f442e (diff) | |
parent | 5959633bc9eea56859e4e569c2aa8b8a427e5ea2 (diff) | |
download | GT5-Unofficial-0f6b03f927b2c482100b2ba46964db72c96156a0.tar.gz GT5-Unofficial-0f6b03f927b2c482100b2ba46964db72c96156a0.tar.bz2 GT5-Unofficial-0f6b03f927b2c482100b2ba46964db72c96156a0.zip |
Merge branch 'Refactor' into Bees
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/metatileentity/IConnectable.java')
-rw-r--r-- | src/main/java/gregtech/api/interfaces/metatileentity/IConnectable.java | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/main/java/gregtech/api/interfaces/metatileentity/IConnectable.java b/src/main/java/gregtech/api/interfaces/metatileentity/IConnectable.java index 96c03bbd6d..16fe07812f 100644 --- a/src/main/java/gregtech/api/interfaces/metatileentity/IConnectable.java +++ b/src/main/java/gregtech/api/interfaces/metatileentity/IConnectable.java @@ -4,15 +4,16 @@ package gregtech.api.interfaces.metatileentity; * For pipes, wires, and other MetaTiles which need to be decided whether they should connect to the block at each side.
*/
public interface IConnectable {
- /**
- * Try to connect to the Block at the specified side
- * returns the connection state. Non-positive values for failed, others for succeeded.
- */
- public int connect(byte aSide);
- /**
- * Try to disconnect to the Block at the specified side
- */
- public void disconnect(byte aSide);
+ /**
+ * Try to connect to the Block at the specified side
+ * returns the connection state. Non-positive values for failed, others for succeeded.
+ */
+ int connect(byte aSide);
- public boolean isConnectedAtSide(int aSide);
+ /**
+ * Try to disconnect to the Block at the specified side
+ */
+ void disconnect(byte aSide);
+
+ boolean isConnectedAtSide(int aSide);
}
|