This is my first question on any forum, so any advice would be helpful; down voting doesn't count as advice :) Also, I am not sure if this is the right forum, or if Stack Overflow is better ... any pointers are very helpful!
I am creating a world viewing and editing software for Minecraft in Java as MC Edit has been broken for a long time. Currently, I am able to get the Minecraft id of the top block in every x and z coordinate pair. Now, I need to get the texture of these blocks. (Just to be clear, the id I am talking about is like this: minecraft:bedrock, not the number) Is there an easy way to get the file name of the texture from the id? I plan to then create a BufferedImage and render the texture onto the screen, to get a realistic overview of the world.
This would need to account for the blocks with different textures on the sides, blocks with only one texture, and so on. If possible, I would like to be able to show the tops of chests, item frames, and more, accurately, but that might be more difficult. So far, the only idea I have gotten is to map all the file names to the id, which could take a while.