way2muchnoise / JustEnoughResources

A rewrite of NotEnoughResources using JustEnoughItems
Other
124 stars 63 forks source link

[enhancement] Render images of mobs in the sidebar of jei, like how some of the bees mods do. #287

Open Corvus20 opened 3 years ago

Corvus20 commented 3 years ago

Mods like Productive Bees and Resourceful Bees have their bees isometrically rendered in the jei sidebar as if they were items. Being that it seems possible that you can pull entity models to show them in the mob drop menus, I couldnt see why they could also be rendered in the sidebar (likely unanimated. as the bees mods bees are animated and cause a considerable performance decrease when scrolling past them). Allowing players to search for mobs, and by extension their drops, spawn locations, rarities, etc. would be really cool.

way2muchnoise commented 3 years ago

That would be cool, but I would have no clue how to do that

lublak commented 3 years ago

I think they use an item for this and attach a TileEntityRenderer to it. With a TileEntityRenderer you can render you item as you like. That's just a guess but that's how I would approach it.