gigaherz / Ender-Rift

The Powered Bottomless Storage System
https://www.curseforge.com/minecraft/mc-mods/ender-rift
BSD 3-Clause "New" or "Revised" License
12 stars 7 forks source link

How Many Items can one Ender-Rift theoretically hold? #14

Closed starryknight64 closed 8 years ago

starryknight64 commented 8 years ago

Assuming we're trying to store cobblestone, how much can an Ender-Rift hold?

Question was spawned from reddit: https://www.reddit.com/r/feedthebeast/comments/4hy45k/storage_comparison/

gigaherz commented 8 years ago

This is meant for bugs and mod issues, not general discussion. There's the curseforge comments section for that ;P

But regardless, the answer is: There's a hard limit of 10 million RF storage, so assuming the default settings of "1.23 + 0.93*x", where x is the current number of stacks already in the rift, the max is a bit under 11 million STACKS, or almost 70 million cobble (if we were talking about swords, the stack size is 1, so it would only hold the 10.8M. However, that means every insertion at that point would cost 10 million RF, which would be rather expensive to maintain.

gigaherz commented 8 years ago

Side-note: if the RF cost was turned off in the settings, then it would be able to hold Integer.MAX_VALUE stacks (2^31-1), which would put the total number of items on over 128 billion.

starryknight64 commented 8 years ago

Thanks! I'll update the reddit and the spreadsheet. :+1:

starryknight64 commented 8 years ago

Just making sure I got my math right... X=(10,000,000-1.23)/0.93=10,752,687 stacks=688,171,958 cobble

gigaherz commented 8 years ago

Yep.