Hello! the mod I'm working on requires me to generate an image based on the player's perspective - similar (but not exactly like) a screenshot, in order to be used to generate a texture for a block (or entity, haven't figured out which is ideal to use yet)
However, I've already hit a standstill, as I simply can not figure out a good way of doing this. the image is generated once, and simply instructing the client to take a screenshot, crop it, and send it to the server to assign the texture doesn't seem like the best idea for a few reasons:
1. if it's a screenshot, the player's texture pack will be taken into account - not ideal, but I can live with it arguably a good thing, but the potential for art-style clashes concerns me.
2. UI would be on the painting, and I don't believe for a second that there isn't a better way to circumvent that issue than disabling UI for a frame, taking the screenie, and reenabling UI before sending it to the server.
Note that I am for lack of a better word, a Peabrain - and this is my first serious attempt at making a mod. Yes, I know Java.