DasHomi / preventer

A mod that prevents you from doing dumb things
https://modrinth.com/mod/preventer
MIT License
11 stars 7 forks source link

Doesn't prevent dropping weapons/tools while inventory is open :( #77

Open ntt opened 3 months ago

ntt commented 3 months ago

Pressing the drop key (with or without ctrl to drop entire stacks) in inventory does not prevent dropping weapons/tools.

This is a problem because I often need to drop lots of stacks and I prefer doing this while holding ctrl+[drop] and sweeping cursor over my inventory. It is easy to accidentally drop the wrong item this way.

So, I would like to see an option to prevent dropping protected items while inventory is open.

Similarly I would also like an option to prevent moving protected items to another inventory.

DasHomi commented 2 months ago

Both ideas sound good, but I'm not sure how to implement that. I've tried a similar thing with a feature that prevents accidentally moving items into a furnace, and I still haven't been able to solve that. But once I solved that, your ideas shouldn't be a problem to implement.