This is my code for my throwable bricks mod, for Minecraft. It is very messy, I'll try clear it up soon.