OSDN Git Service

TileEntityDecomposeクラスの追加
authorlillyo_o <lillyo_o@users.sourceforge.jp>
Wed, 5 Dec 2012 15:40:36 +0000 (00:40 +0900)
committerlillyo_o <lillyo_o@users.sourceforge.jp>
Wed, 5 Dec 2012 15:40:36 +0000 (00:40 +0900)
分解作業台のTileEntity

Signed-off-by: lillyo_o <lillyo_o@users.sourceforge.jp>
common/chemicraft/TileEntityDecompose.java [new file with mode: 0644]

diff --git a/common/chemicraft/TileEntityDecompose.java b/common/chemicraft/TileEntityDecompose.java
new file mode 100644 (file)
index 0000000..f8ab952
--- /dev/null
@@ -0,0 +1,77 @@
+package chemicraft;\r
+\r
+import net.minecraft.src.EntityPlayer;\r
+import net.minecraft.src.IInventory;\r
+import net.minecraft.src.ItemStack;\r
+import net.minecraft.src.TileEntity;\r
+\r
+public class TileEntityDecompose extends TileEntity implements IInventory\r
+{\r
+       // 0:物質アイテム 1~:原子アイテム\r
+       private ItemStack[] invContents;\r
+       \r
+       public TileEntityDecompose()\r
+       {\r
+               invContents = new ItemStack[36];\r
+       }\r
+\r
+       @Override\r
+       public int getSizeInventory()\r
+       {\r
+               return 17;\r
+       }\r
+\r
+       @Override\r
+       public ItemStack getStackInSlot(int var1)\r
+       {\r
+               return null;\r
+       }\r
+\r
+       @Override\r
+       public ItemStack decrStackSize(int var1, int var2)\r
+       {\r
+               return null;\r
+       }\r
+\r
+       @Override\r
+       public ItemStack getStackInSlotOnClosing(int var1)\r
+       {\r
+               return null;\r
+       }\r
+\r
+       @Override\r
+       public void setInventorySlotContents(int var1, ItemStack var2)\r
+       {\r
+               \r
+       }\r
+\r
+       @Override\r
+       public String getInvName()\r
+       {\r
+               return null;\r
+       }\r
+\r
+       @Override\r
+       public int getInventoryStackLimit()\r
+       {\r
+               return 0;\r
+       }\r
+\r
+       @Override\r
+       public boolean isUseableByPlayer(EntityPlayer var1)\r
+       {\r
+               return false;\r
+       }\r
+\r
+       @Override\r
+       public void openChest()\r
+       {\r
+               \r
+       }\r
+\r
+       @Override\r
+       public void closeChest()\r
+       {\r
+               \r
+       }\r
+}\r