Tiny Redstone

Tiny Redstone

11M Downloads

[feature request] render item in inventory

lublak opened this issue ยท 5 comments

commented

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

commented

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.

commented

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.

commented

Released with 1.16.5-1.5.3b

commented

2021-03-21_12 50 45
๐Ÿ˜€

commented

@dannydjdk Oh hell jear.
I love it
But as I see it was really a lot of work.
You are crazy!