0f75db5e80
and all the stuff I did that i forgot to comment.
24 lines
No EOL
468 B
Java
24 lines
No EOL
468 B
Java
package appeng.items.contents;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
import appeng.tile.inventory.AppEngInternalInventory;
|
|
import appeng.util.Platform;
|
|
|
|
public class CellConfig extends AppEngInternalInventory
|
|
{
|
|
|
|
final ItemStack is;
|
|
|
|
public CellConfig(ItemStack is) {
|
|
super( null, 63 );
|
|
this.is = is;
|
|
readFromNBT( Platform.openNbtData( is ), "list" );
|
|
}
|
|
|
|
@Override
|
|
public void onInventoryChanged()
|
|
{
|
|
writeToNBT( Platform.openNbtData( is ), "list" );
|
|
}
|
|
|
|
} |