[feature request] render item in inventory
lublak opened this issue ยท 5 comments
Sometimes I don't know what's in my hand (panel).
I currently know one mod which has something like this:
https://github.com/ochotonida/some-assembly-required/blob/1.16/src/main/java/someassemblyrequired/client/SandwichItemRenderer.java
I've been thinking about this. Steve's carts did something similar. It would be new ground for me, but it would be pretty amazing. In the meantime, I may do something similar to the blueprints where the tooltip shows a list of components contained within.
lol. Strangely, the rendering part was relatively easy. I just has to loop through the NBT data, construct the objects for all the little cells and their render methods used for the block rendering. The hard part was figuring out how to get Minecraft to call that rendering script. The docs for that bit were not very complete.
@dannydjdk Oh hell jear.
I love it
But as I see it was really a lot of work.
You are crazy!