promotional bannermobile promotional banner

The End of All Chests

Expands Ender Chests into 3 shared inventories that act as portable home storage with variable hopper support and chunk loading. You effectively get limitless storage space and an instant supply chain. Hopper speed becomes adjustable too.
Allows you to Sneak Right-Click Ender Chests with an Empty Hand to set/cycle them between "Normal"(Vanilla), "Stash", or "Supply" Chests that have their own separate shared/connected inventory spaces like normal ender chests, but can work with hoppers and always keep the chunk(s) you put them in loaded at all times (configurable range) until the chests are removed, set back to Normal, or you go offline. This way you can be anywhere, even other dimensions, and they will allow your storage systems to keep working.

In case the implications of this aren't clear, this effectively makes it possible to have limitless player inventory space and an instant supply chain tied directly to your storage chests, only limited by the amount of chests and item stocks you tied to your Stash/Supply Chests with hoppers.

The "Supply" mode specifically can only be filled by hoppers, and is intended to be used for automatically restocking from your base's storage, while the "Stash" mode can use hoppers both ways and is mainly intended to fit into the very beginning of an auto-sorting storage system so you can remotely send things back to your base knowing everything is going where it should be. You can also just cycle back to "Normal" and use the Ender Chest as originally intended (No hopper functionality).

So now when you carry your ender chest with you, it has 3 ender inventories: Your default pocket storage, another for exporting, and another for importing, all in one Ender Chest. No more needing to go back to base to drop things off or restock. As long as you have your chests set up correctly at your base, your supplies and inventory space are virtually limitless.

You can visually tell which mode an Ender Chest is set to based on how the particles around it move: Normal is, well, normal... Stash has the particles Falling Downward, and Supply has them Rising Up. I used the Vanilla Ender Chest particles for all modes, and I chose this method over creating new textures/particles as not to conflict with any texture/resource packs you may have.

Lastly, Ender Chests are "Owned" by the player that initially places it, so only they can toggle the modes, and just like normal Ender Chests, only they can see their personal inventories. If a non-owner tries to open it in any mode, they'll simply open to their own normal ender chest inventory like a vanilla ender chest would. To be clear, "Owning" only locks others out of the mode toggle, but obviously anyone can still break the chest and place it themselves to become the new owner. Honestly, the owner system is mainly there to keep track of whose chests are keeping chunks loaded and when, to avoid having orphaned chunks loaded permanently by mistake or to cause griefing.

As a further convenience I also rolled in a command that will allow you to control how fast hoppers move items. Here are all the commands in this mod:

/endall hopper <1-5> - Sets hopper item transfer speed. 1 = 2.5 items/Sec (Vanilla), 2 = 5/sec, 3 = ~6.7/sec, 4 = 10/sec, 5 = 20/sec (max). Setting too high on a large populated server may cause lag.

/endall radius <1-16> - Sets radius of chunks kept loaded by Stash/Supply Chests (Default: 2). Changes are NOT retroactive, existing chests keep their current radius until cycled or the server restarts. Higher values use more server resources, 10+ on a multi-chest server may cause lag.

/endall clean - Removes orphaned chunk tickets from chunks that no longer contain active Stash/Supply Chests. Run this if the status command reports any, but that's unlikely, this is just a failsafe. Note: this removes ALL FORCED-type tickets from affected chunks, which may also clear vanilla /forceload entries or tickets from other mods that share the FORCED type.

/endall status - Shows current values for hopper speed and radius, and informs you if there are orphaned chunk tickets and you need to run the /clean command.

FYI: This is my first mod, and I made it mainly because there are surprisingly very few other ender chest hopper mods, and the other options are either very old/deprecated or don't work the way I want anyway. So, I decided to take a swing at creating my own fine-tuned version that works as logically as I could make it. If this goes well and becomes popular I will consider keeping it up to date and such, but at the moment it is mainly for my personal use, and there's a good chance I will forget it exists when I play other games. I just figured I would share it with everyone else while I was at it. (Fabric port is coming soon)

Also, you should know that I really have no idea what I'm doing lol... well, sort of. I used AI to write all the code, I just told it what I wanted done and I spent about three days of trial and error to get this how I want. I actually am a game dev, but I mainly do visual scripting in UE4/5, so I do vaguely understand what the codes do for the most part, I just don't have any idea how to write them myself, especially in new languages. Again, if there's a high enough demand for an update or bug patches, I can just continue doing the AI trial and error if I need to, but please don't expect it. Of course feel free to report any issues, make suggestions, or ask any questions, and I will try to respond and stay on top of this when I can, IF I can (I have crohn's disease, it ain't easy).

Anyway, I hope you enjoy the mod and find it useful, I certainly will.

The End of All Chests Team

profile avatar
  • 1
    Projects
  • 13
    Downloads