if (event.entityPlayer.openContainer instanceof ContainerItemStorage) {
ContainerItemStorage con = (ContainerItemStorage)event.entityPlayer.openContainer;
for (Object o : con.inventorySlots) {
if (o instanceof Slot) {
Slot slot = (Slot)o;
if (slot.getHasStack()) {
}
}
}
}