OSDN Git Service

TileEntityDecomposeクラスの追加
[chemicraft/chemicraft.git] / common / chemicraft / TileEntityDecompose.java
1 package chemicraft;\r
2 \r
3 import net.minecraft.src.EntityPlayer;\r
4 import net.minecraft.src.IInventory;\r
5 import net.minecraft.src.ItemStack;\r
6 import net.minecraft.src.TileEntity;\r
7 \r
8 public class TileEntityDecompose extends TileEntity implements IInventory\r
9 {\r
10         // 0:物質アイテム 1~:原子アイテム\r
11         private ItemStack[] invContents;\r
12         \r
13         public TileEntityDecompose()\r
14         {\r
15                 invContents = new ItemStack[36];\r
16         }\r
17 \r
18         @Override\r
19         public int getSizeInventory()\r
20         {\r
21                 return 17;\r
22         }\r
23 \r
24         @Override\r
25         public ItemStack getStackInSlot(int var1)\r
26         {\r
27                 return null;\r
28         }\r
29 \r
30         @Override\r
31         public ItemStack decrStackSize(int var1, int var2)\r
32         {\r
33                 return null;\r
34         }\r
35 \r
36         @Override\r
37         public ItemStack getStackInSlotOnClosing(int var1)\r
38         {\r
39                 return null;\r
40         }\r
41 \r
42         @Override\r
43         public void setInventorySlotContents(int var1, ItemStack var2)\r
44         {\r
45                 \r
46         }\r
47 \r
48         @Override\r
49         public String getInvName()\r
50         {\r
51                 return null;\r
52         }\r
53 \r
54         @Override\r
55         public int getInventoryStackLimit()\r
56         {\r
57                 return 0;\r
58         }\r
59 \r
60         @Override\r
61         public boolean isUseableByPlayer(EntityPlayer var1)\r
62         {\r
63                 return false;\r
64         }\r
65 \r
66         @Override\r
67         public void openChest()\r
68         {\r
69                 \r
70         }\r
71 \r
72         @Override\r
73         public void closeChest()\r
74         {\r
75                 \r
76         }\r
77 }\r