AE2 First Commit, the dawn of 1.7 hast arrived.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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 );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user