Greetings, I'm recreating some HUD and I need to render player's head in the specified area.
What I've got now is a piece of code taken from Minecraft's GuiInventory class. It renders the whole player.
However, I need something like that:
So, is there a way to.. set some bounds, for example, and it will render the entity inside them, but not outside? Thanks.