is there any way to make this or something similar work?

by Long_Reflection_4202

25 Comments

  1. ATurtleNearYou on

    Mods or comically large logistics system

    Ender chests are meant for personal cloud storage, not Bluetooth item networking

  2. Crafty_Cantaloupe_57 on

    Simple answer is no, your enderchest is not just linked to you its linked to every single player ID that joins your world and so any exterior out put is barred from taking items from any possible chest inventory. More or less its like a second inventory for the player that can only be accessed by clicking a certain block.

  3. EngineScary8836 on

    Put a shulker box in the ender chest and have the hopper pull from that instead – lets you transfer more items and the golem can still sort everything

  4. Hoppers can’t pull out of ender chests, because whose items would it pull?

  5. IronCat_2500 on

    Unfortunately no, but this is the one feature I want added to the game 

  6. PhoenyxStar on

    That’s a staple of modded Minecraft if you’re inclined to dig into that. Mods like EnderChests and DimStorage have public, color coded ender chests that you can push and pull from.

  7. ryan_the_leach on

    without mods, there’s been a few bugs over the years, that allow you to wirelessly teleport stackable items, by ‘sharing’ a single itemstack between 2 chests.

    But if the chest unloaded, server restarted, or the item stack got depleted, it would end.

    I think people were nicknaming it [shadow stack technique](https://www.reddit.com/r/technicalminecraft/comments/qkmzbh/plz_explain_to_e_docm77s_shadow_block_tech_like/).

    But it was also the cause of dupe bugs, (it’s basically, the exact opposite of a dupe bug, or half a dupe bug, you accidentally consume a stack in order to create a clone of another stack)

    Not sure if any are currently in the game.

  8. That would be amazingly handy for resource adventures but sadly not possible. Not only doesn’t the hopper interact with an Enderchest but the copper gollum would need to be in a loaded chunk within your simulation distance which means you wouldn’t be able to be that far away from home anyways.

  9. enderchests are tied to the account opening them, so not really.

    Technically they could probably add a feature that when you give a golem a playerhead they can access the enderchest of that player but I think everyone who is reading this sentence will instantly jump up because they know what risks that would mean for anarchy and pvp servers.

  10. Ender chests iirc are stored in the PLAYER. This solution would combine every player’s ender chest, so would be only for multiplayer coop or single player. You can modify a player’s ender chest items via `/data modify entity @s enderchest.<slot#> <modifier>`
    When a player puts items into an ender chest, clear the items and put the data in a storage list.
    Have a timer that every two seconds will decrease the count of the first item by 1, and add the same item to the hopper. Then if the count is 0, remove it.
    Lmk if you need help with actual commands I’m on mobile and can’t do any testing rn.

  11. Both the hopper and the ender chest don’t know who placed them, they aren’t owned by anyone, they are world entities

    Ender chests themselves don’t truly have an inventory, it’s only an interface for the player’s “ender chest” inventory, it’s saved in your player data as if it was just another inventory

    So either the ender chest or hopper would need to know which player’s ender chest inventory they should be linked to if a hopper was to interact with an ender chest

    The ender chest was never meant to be used in this way,
    it’s meant to be a private and safe way to keep items, away from other players and any world interactions.

    If a hopper can interact with a player’s ender chest, and with the world, it leaves a huge vulnerability for every hopper you’ve placed in the world, otherwise, you need to make every entity with an inventory remember its “owner”, and only allow hoppers to interact with them if they have the same owner, but now someone could still open the chest and grab your items, then perhaps only allow the “owner” to interact with the inventories.. What if they break it? Maybe with a creeper? It gets complicated really quickly.. Otherwise the ender chest lost it’s whole private and safe schtick..

    There are many mods that let you private inventories and have chests with linked inventories.

    The only other way is with a bug, there used to be a bug where 2 different inventories referenced the same item stack, so adding an item into the bugged stack would also add it in the other, in a different chest, but this does not persists through a world save, so unloading means its gone, and I’m pretty sure that bug is fixed now

    Otherwise you’re SOL.

  12. JustARandomUserbleh on

    Not with an enderchest, but it is very technically, and I want emphasise technically, possible. Really interesting mechanics that it plays on, and I’m not entirely sure if it works in the most recent of versions, but you can collect and then remotely store items. Very interesting stuff, I know Docm77 doesn’t explain it super in depth, but his season 9 of Hermitcraft is a very good place to start about it. But you still would need to know a lot about redstone and game mechanics to even start understanding the concept. I mostly understand how it functions, but I am also a pretty technically adept player, and I have spent far too much of my life playing Minecraft.

  13. Spongebosch on

    With enderchests? No.

    But there’s a glitch that can basically make this work. Look at shadow items.

  14. numerousblocks on

    No, because ender chests don’t really have contents. Ender chests just let you access your ender chest inventory. There is no player-independent contents.

  15. cow_fucker_3000 on

    With mods or datapacks only, not in vanilla without some absurd glitches