Improving rendering code.

Using minecraft default code for downloaded texture.
Thanks to the Aether II code for helping me find this idea