Deadrik/TFCraft — pull request #319 by dmon82 (2013-08-29 22:28:48+00:00)
Title: Largely refactored onItemUse

Encapsulated prospecting results. Used one hash map instead of two array lists. Avoided creating large numbers of needless ItemStack instances. Avoided running code that doesn't have to, e.g. when false negatives are shown. Moved chat messages to their own methods. Preserving the original mechanic. Simple time profiling shows it's considerably faster now, too. Possibly much more memory efficient as well.