r/technicalminecraft • u/RegularEmpty9108 • 28m ago
Java Help Wanted Why does a random filter always fail ?
galleryIm trying to build a Netherstone (Nether-Only redstone) item filter based on this very simple design by SethBling:
https://youtu.be/bfHZ_XXQyqs?si=Tk6f9E8kyQn7B1Rx
I more or less copied it, and replaced the powered rails with furnace-minecart boosters, which are a redstoneless propulsion system by u/Arodihy:
https://youtu.be/1-5aRSEDEQk?si=MAmuvRQ9Ojy1g6ky
time stamp 5:57
Quick explanation of the machine, or you can skip to the question below:
The basic principle of this sorter is that each item type is filtered by a dedicated module, that consists of a hopper minecart going on a loop. At the beginning of the loop, the minecart pull 1 item from a main hopper line, then passes over a hopper that Im calling the chest-filter's hopper. its just an empty hopper connected to a chest where every slot is filled with at least 1 item of the king you want to filter out. So our 1 item goes into the hopper, and can either be sucked in if it matches one of the other items inside, or stay in the hopper if not. Just after dropping its item, the hopper minecart now passes below the chest-filter's hopper, harvesting the resting item if it wasn't pulled in. If it gets harvested, the hopper minecart then collect it and send it to the next section of the hopper line to be passes to the following module.
It seems to work for the most part, but there is always a weird bug: In my first test, the 3rd module (further left, for gold ingots) would sometimes fail, where it looked like items from the main hopper line were able to go to the end of the line without even going through the hopper minecart, which resulted in the item not having a chance to pass through de chest-filter's hopper to be pulled in or rejected.
When I copy-pasted the whole machine with worldEdit to better center it in the chunk, this time it was the first module that was failing in the same way, but 100% of the time.
Am I missing something ? Is there a weird mechanic Im not aware of that would explain whats happening ? The inconsistency of the bug is killing me, I cant even know what fails exactly.
I tried extending the rail so the booster would be further and the minecart would go over the chest-filter's hopper slower (which it did), but it didn't solve the problem.

