Is it possible to get block/item PNGs from a mod? I've got a webserver running inside a mod and I'd like to display some images - but of course I don't want to redistribute Mojang's files. I thought net.minecraft.client.resources.DefaultResourcePack might do it for me but that doesn't lead anywhere, nor does minecraft.getResourceManager().getAllResources(new ResourceLocation("minecraft:textures/blocks")).get(0)
Any ideas?
The mod is at https://github.com/voltagex/minecraft-rebridge if anyone's interested.