Basically they have a hopper that isn't connected to anything (so it can't push items) with one of the item you want to go through (an enderpearl) and some number of things that you know will never go into the hopper in the other slots.
Then they have a comparator that measures how full the hopper is and keeps a hopper under the first locked until the first reaches a certain level of filling.
So the hopper just sits there until it picks up some enderpearls and then the second hopper pulls some of the pearls out and destroys them and then it locks again until more pearls are picked up.
So if you drop your sword it should stay on the hopper without going in.
I have a item destroyer for my enderman farm to get rid of the epearls earlier today I lost my max smite V sort in it
Does anybody know anyway to make sure it only throws out epearls?
(the farm design is this one )
Check out item sorters.
Basically they have a hopper that isn't connected to anything (so it can't push items) with one of the item you want to go through (an enderpearl) and some number of things that you know will never go into the hopper in the other slots.
Then they have a comparator that measures how full the hopper is and keeps a hopper under the first locked until the first reaches a certain level of filling.
So the hopper just sits there until it picks up some enderpearls and then the second hopper pulls some of the pearls out and destroys them and then it locks again until more pearls are picked up.
So if you drop your sword it should stay on the hopper without going in.
Just testing.