Applied-Energistics-2-tiler.../me/storage/CellInventoryHandler.java
2013-12-27 16:59:59 -06:00

25 lines
540 B
Java

package appeng.me.storage;
import net.minecraft.nbt.NBTTagCompound;
import appeng.api.storage.IMEInventory;
import appeng.api.storage.data.IAEItemStack;
import appeng.util.Platform;
public class CellInventoryHandler extends MEInventoryHandler<IAEItemStack>
{
NBTTagCompound openNbtData()
{
return Platform.openNbtData( getCellInv().i );
}
public CellInventory getCellInv()
{
return (CellInventory) (this.internal instanceof CellInventory ? this.internal : null);
}
CellInventoryHandler(IMEInventory c) {
super( c );
}
}