Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

How to make hoppper sort multiple items?


  • Please log in to reply
3 replies to this topic

#1

NoCheese4U
  • Location: Sheenland

Posted 03 March 2013 - 03:56 AM

I'd like to have a hopper that picks up ONLY 2 to 3 block types.

IE: Have a hopper that picks up only gold and iron OR on that gets gold, iron, and diamond.

How to arrange this cause as of now one ore will over load and wipe out another.

Such as having 20 diamond and 64 iron, the diamond will go to 0 opening another slot allowing an unwanted items to funnel in. how to prevent this?

Register or log in to remove.

#2

Randomwaffle23
  • Location: Yes
  • Minecraft: Randomwaffle23

Posted 04 March 2013 - 04:32 PM

You could have separate sorters for each item type, then use hoppers to bring them together into one chest. It's not very compact, but it should work just the same.
This signature is currently under construction. We apologize for the inconvenience, and are doing our best to resume our normally scheduled wittiness and derision of copypasta signatures.

#3

sosladms
    sosladms

    Diamond Miner

  • Members
  • 787 posts
  • Location: The Former Hell of Blazing fires
  • Minecraft: CarbonateWater

Posted 04 March 2013 - 10:48 PM

As far as I know, currently, there is no way to sort more than one item in the same hopper.

Posted Image


#4

MediumSizeJock

Posted 05 March 2013 - 07:03 PM

"When a hopper is connected to an object to its side (for example a chest) and there is a hopper directly underneath it, items in the hopper will 'leak' to the underlying hopper. However, if an even number of the same item falls into the hopper at the same time, half will go to bottom hopper and the other half to the object the first hopper is connected to. If an odd number then the extra one will go into the bottom hopper, as it takes priority. When that bottom hopper is full the items will then be stored straight away in the object to which the first hopper is connected."

---from minecraftwiki

perhaps this could be exploited here. Connect a hopper to a junk chest, put another one beneath with each slot having 1 of whatever desired material, so it can only hold what you want. Perhaps figure out some way to dump the junk chest back into the input. Each time it sorts, there's a 50/50 chance that you'll get what you want in the second hopper, so if you run everything through multiple times, you should get it eventually. Similar to (and as inefficient as) a bubble sort algorithm on a computer, but it might get you what you need.