GregoryAM-SP / The-Minecraft-Overviewer

The Minecraft Overviewer | Successor
https://overviewer.gregoryam.com
GNU General Public License v3.0
88 stars 12 forks source link

Mob heads don't render #45

Open stwalkerster opened 7 months ago

stwalkerster commented 7 months ago

The following block IDs aren't used by Overviewer at all:

Other mob heads (placed on the floor) are referenced by Overviewer, but are not rendered.

For creeper/zombie/skeleton/wither_skeleton, this is probably easyish to solve.

For piglins, it's slightly harder due to the ears. Those are covered by #62.

For dragons, the block is huge and might cause problems with the inherent image size constraints. This is covered by #63

For players, we can trivially render a Steve head in the same way as a Creeper/Zombie/etc head. However, these can have custom metadata to allow showing any mob head, and that's stored as block entity data and is probably inaccessible to the render as-is. I consider custom player heads out-of-scope for this issue.

stwalkerster commented 7 months ago

I've made a good start on this, but they currently render as full blocks and don't respect all possible rotation values. I'm happy with my progress so far, but more work is needed.

image

stwalkerster commented 6 months ago

On the topic of player heads, if we can scan the block entity data prior to a texture generation phase and get the distinct set of player skins required, we can dynamically allocate and populate texture data for the set of required player heads for the renderer to use during the texture generation phase.

Check the following: