overviewer / Minecraft-Overviewer

Render high-resolution maps of a Minecraft world with a Leaflet powered interface
https://overviewer.org/
GNU General Public License v3.0
3.36k stars 482 forks source link

mod specific blocks not rendered #1870

Open SMASH3D opened 3 years ago

SMASH3D commented 3 years ago

My Forge server is running the biomes OPlenty mod which adds new biomes with new type of blocks.

These biome specific blocks aren't rendered in my overviewer map. See for instance this biome with redwood trees, the map only displays their shadows https://imgur.com/a/1ZssiDR

(and I saw that this reddit post was complaining about the same issue)

https://www.reddit.com/r/ModdedMC/comments/f0dvy7/anybody_know_of_a_way_to_run_minecraft_overviewer/

Is there a way of porting blocks and related textures into Overviewer ?

Many thanks,

tswsl1989 commented 3 years ago

We wouldn't include them in this repository, but you could build your own version of Overviewer that supports the blocks you need.

I think you would need to edit overviewer_core/textures.py with the definitions of how to render each block and overviewer_core/world.py to add mappings from the block name/tag to block ID and data values. You'd then need to keep that up to date as new blocks get added to the base game and our versions of those files get updated.

SMASH3D commented 3 years ago

Wow thanks pointing out the method to follow, I'll look into it and will come back here to post advancements.

I'll try to find a clean way of keeping it in separated files, to ease the process of following updates from overviewer and the mod.