Closed lDiverse closed 10 years ago
There's a tiny problem here - we have to deal with both enchantments (i.e. diamond pick axe with silk touch) and stored enchantments (e.g. enchanted book storing silk touch). This only checks for stored enchants at the moment, so it'd probably be possible to fool it by - for example - selecting an enchanted pick axe while having several unenchanted picks in your inventory, and having the shift click consume them all.
Well as I said - I did have a little system for enchantments but it failed hugely and didn't work well. So I just removed enchantment support. If you try inserting into the fishy block whilst it has enchantments it just tells you that you can't use enchantments with mass deposit and stops. It only works with items/blocks (anything unenchanted) Tested and works fine.
...ittion)
Shift left click with the correct item, it will then cycle through your complete inventory and transfer every matching item to the fishy block. Tested and works. Enchantments disabled due to weird things happening and will be better if the player maintains this manually, never mind the fact I never see somebody trying to submit 10 double chests full of the exact same book into a fishy block. Normal left clicking does work still obviously.