Revert "Rewrite the texture system so that textures are only downloaded to the client when they are near a chunk that contains them, also rework texture animation to reduce the size of texture uploads. Chests broke this upload but they were going to be broken by the resource pack models anyway"

This reverts commit 0246cb8433e54749ef7f26bd11f85bf8a75fa1ac.

It needs more work before it can used