Hopper does not placed items in ender chests
Linked issues
is duplicated by 6
Comments 11
i have an idea, they can make that the things you throw to the hopper to the ender chest gets in a invisible inventory and the only way to take them is puting a hopper under a ender chest (the same one or other), so in multiplayer will be a public chest our something like that
The reason is the hopper can't know in whose players enderchest the items should be placed in.
@Dinnerbone: you could add NBT data to dropped items to hold the player who dropped it maybe ...
I've heard this works with the equivalent items in FTB (I've not got this installed, so can't verify this).
I'd second the suggestion by guillermo le metayer rodriguez to have the hopper use a non-accessible 'world' inventory for the chest, one there only for use by hoppers. This would avoid the per player issues, while still allowing the ender chest to be used as a long-range link between hoppers.
Why not having the hopper to put in the enderchest or get from it only when somebody looks in, if somebody looks when another, it could transfer only to the first player that opened it and is currently looks in.
why not give hoppers their own enderchest inventory? That way enderchests can still be used normally by players, but hoppers can also use them for instant automated transportation. Obviously there's a potential issue of having multiple hoppers emptying multiple enderchests at once, but I would assume they would just each take an item in a somewhat random order.
In SMP: It could go to the player that attached the hopper to the enderchest.
In SSP: It could go to the player that is on the world.
Also, Matt Lafreniere, you brought up a good point about multiple hoppers. For that you could make it so that the enderchest has multiple hopper inventories according to name.
Ex:
A hopper named "Test1" puts 64 diamonds into an enderchest.
The enderchest directs it into its "Test1" hopper inventory.
Another hopper named "Test1" will take 64 diamonds out of the enderchest's "Test1" hopper inventory but not the 64 emeralds in the enderchest's "Test2" hopper inventory (Which were put in there by a hopper named "Test2.")
How should that work? The Enderchest has different inventories for each player, and there's no way to detect into which inventory the items should go.