improve texture handling for blocks that use the data value not for textures