This is awful (probably).
The flashlight mod with brightness linearly decreasing with distance and ray casting. Textures: made by me. Sounds: also by me. Some of the code: by the illumination mod, but heavily changed. Some more of the code: by ApolloX (thank you once again).
Great mod, and a code suggestion
First off, I like that it reduces brightness the further away it goes (like real life!)
Second, I'd like to see it gain the ability to toggle the flashlight on/off by right click too!