Applied-Energistics-2-tiler.../util/inv/WrapperTEPipe.java

99 lines
1.4 KiB
Java
Raw Normal View History

package appeng.util.inv;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
2014-02-09 02:34:52 +01:00
import net.minecraftforge.common.util.ForgeDirection;
2014-01-20 17:41:37 +01:00
public class WrapperTEPipe implements IInventory
{
TileEntity ad;
ForgeDirection dir;
2014-01-20 17:41:37 +01:00
public WrapperTEPipe(TileEntity te, ForgeDirection d) {
ad = te;
dir = d;
}
@Override
public int getSizeInventory()
{
return 1;
}
@Override
public ItemStack getStackInSlot(int i)
{
return null;
}
@Override
public ItemStack decrStackSize(int i, int j)
{
return null;
}
@Override
public ItemStack getStackInSlotOnClosing(int i)
{
return null;
}
@Override
public void setInventorySlotContents(int i, ItemStack itemstack)
{
2014-02-09 02:34:52 +01:00
// ITE.addItemsToPipe( ad, itemstack, dir );
}
@Override
2014-02-09 02:34:52 +01:00
public String getInventoryName()
{
return null;
}
@Override
2014-02-09 02:34:52 +01:00
public boolean hasCustomInventoryName()
{
return false;
}
@Override
public int getInventoryStackLimit()
{
return 64;
}
@Override
2014-02-09 02:34:52 +01:00
public void markDirty()
{
}
@Override
public boolean isUseableByPlayer(EntityPlayer entityplayer)
{
return false;
}
@Override
2014-02-09 02:34:52 +01:00
public void openInventory()
{
}
@Override
2014-02-09 02:34:52 +01:00
public void closeInventory()
{
}
@Override
public boolean isItemValidForSlot(int i, ItemStack itemstack)
{
2014-02-02 03:52:37 +01:00
return false;
}
}