summaryrefslogtreecommitdiff
path: root/main/java/gregtech/api/interfaces/tileentity/IDigitalChest.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-08-10 18:50:56 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-08-10 18:50:56 +0300
commit877312184c472d9845e5ef1008bc538f4634059f (patch)
tree4e098cc94296cc11f3b87e8ef64c3c568b6aeb51 /main/java/gregtech/api/interfaces/tileentity/IDigitalChest.java
parent939d2ea16679ce64d98b98c716b85f851aa576e2 (diff)
fix missing source folder
Diffstat (limited to 'main/java/gregtech/api/interfaces/tileentity/IDigitalChest.java')
-rw-r--r--main/java/gregtech/api/interfaces/tileentity/IDigitalChest.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/java/gregtech/api/interfaces/tileentity/IDigitalChest.java b/main/java/gregtech/api/interfaces/tileentity/IDigitalChest.java
new file mode 100644
index 0000000..d017a1d
--- /dev/null
+++ b/main/java/gregtech/api/interfaces/tileentity/IDigitalChest.java
@@ -0,0 +1,29 @@
+package gregtech.api.interfaces.tileentity;
+
+import net.minecraft.item.ItemStack;
+
+/**
+ * You are allowed to include this File in your Download, as i will not change it.
+ */
+public interface IDigitalChest extends IHasWorldObjectAndCoords {
+ /**
+ * Is this even a TileEntity of a Digital Chest?
+ * I need things like this Function for MetaTileEntities, you MUST check this!!!
+ * Do not assume that it's a Digital Chest or similar Device, when it just implements this Interface.
+ */
+ public boolean isDigitalChest();
+ /**
+ * Gives an Array of Stacks with Size (of all the Data-stored Items) of the correspondent Item kinds (regular QChests have only one)
+ * Does NOT include the 64 "ready" Items inside the Slots, and neither the 128 Items in the overflow Buffer.
+ */
+ public ItemStack[] getStoredItemData();
+ /**
+ * A generic Interface for just setting the amount of contained Items
+ */
+ public void setItemCount(int aCount);
+
+ /**
+ * Gets the maximum Item count for this QChest alike Storage. This applies to the Data-Storage, not for the up to 192 buffered Items!
+ */
+ public int getMaxItemCount();
+} \ No newline at end of file