I have created a mod that adds a drill to Minecraft, it drills a ore when it is placed under it but if there are two or more drills in view and one of them has the ore under it then they all run the animation or just the drill head spins, I want them to do it individually only when they have the ore under them so if some one can look at my code and point me in the right direction that would be great I have put it on github for convenience(my code is quite clunky and I know I haven't done things the best way but it works). https://github.com/Bantasaurusrex/DrillMod
I made a video showing my problem. This might help you understand what I am saying.
http://www.youtube.com/watch?v=XcL-i7G8axw&feature=youtu.be