equivalent-exchange-3/ee3_common/ee3/common/tile/TileCalcinator.java

65 lines
1.4 KiB
Java
Raw Normal View History

2012-08-29 22:02:30 +02:00
package ee3.common.tile;
import ee3.common.block.ModBlocks;
import net.minecraft.src.IInventory;
import net.minecraft.src.ItemStack;
2012-08-29 22:02:30 +02:00
import net.minecraft.src.NBTTagCompound;
public class TileCalcinator extends TileEE implements IInventory {
/**
* The ItemStacks that hold the items currently being used in the Calcinator
*/
private ItemStack[] calcinatorItemStacks = new ItemStack[3];
2012-08-29 22:02:30 +02:00
public void readFromNBT(NBTTagCompound nbtTagCompound) {
super.readFromNBT(nbtTagCompound);
2012-08-29 22:02:30 +02:00
}
public void writeToNBT(NBTTagCompound nbtTagCompound) {
super.writeToNBT(nbtTagCompound);
}
/**
* Returns the number of slots in the inventory.
*/
public int getSizeInventory() {
return this.calcinatorItemStacks.length;
}
/**
* Returns the stack in slot i
*/
public ItemStack getStackInSlot(int i) {
return this.calcinatorItemStacks[i];
}
public ItemStack decrStackSize(int i, int j) {
// TODO Auto-generated method stub
return null;
}
public ItemStack getStackInSlotOnClosing(int i) {
return null;
}
2012-08-29 22:02:30 +02:00
@Override
public void setInventorySlotContents(int var1, ItemStack var2) {
// TODO Auto-generated method stub
}
public String getInvName() {
return "container." + ModBlocks.CALCINATOR_NAME;
2012-08-29 22:02:30 +02:00
}
public int getInventoryStackLimit() {
return 64;
}
public void openChest() { }
public void closeChest() { }
2012-08-29 22:02:30 +02:00
}