If you want to store your items in Minecraft in an easy and compact way, you'll want to download the Applied Energistics mod for Minecraft. In the Applied Energistics mod, you'll be dealing with the mod's own ME Storage system. ME stands for Matter Energy. Basically, you'll be able to store items inside of other items!
In addition to this, you’ll be able to create terminals and networks to store items. If you’re hosting your own Minecraft server, you’ll be able to create huge cities and have one big central server to access in-game resources no matter where you are located in the server! But that’s only one of the things you can do with this mod. You’ll have to use your mind and get creative to figure out what else you can use this mod for!