webbukkit / DynmapBlockScan

Tool to scan post-1.8 MC blocks and JSON model data to automatically generate Dynmap models
63 stars 30 forks source link

[SUGGESTION] Fuzzy match, easy substitutions? #17

Open generrosity opened 6 years ago

generrosity commented 6 years ago

Again - love dynmap. Our Foolcraft2 server uses it to see around the server. The HEAD Jan-2018 added my favorite 'AstralSourcery' marble files which has us over the moon, and that the svennieke's 'Statues' mod works out of the box (which blew my mind when I saw the little zombie model). Love the work you do!

I love this little mod that ties blocks together. Apologies that I don't quick understand how the program uses the definitions... nor if the mod itself knows if the definition will later display right.

Is there an easy manual way to define a substitution? Such as listing BoP's Crag Brick but using the existing 'cyan wool' texture. Or for me to specify 'Jacaranda Leaves' using 'Leaves'. I think I understand I can make a custom named txt file, define each mod, and then add definition lines to do this, but I get lost how to copy-paste the right reference to use.

Would it be possible for the mod to search for generic blocks if the specific block fails to detect/render? Such as 'Silty Grass Block' picking up 'Grass Block' as a suitable generic, or 'Jacaranda Leaves' using 'Leaves'. Again - it might be the mod doesn't know it won't render, which I totally understand.

Is there a way to define (in Dynmap itself) a default block if the texture doesn't load? There are times when it x-rays the blocks below, where-as a default stone block would be fine.

Again - much love for your time, and appreciate the love you put into this project. It has become the gold standard for servers to have, and I would love to know if you have a Patreon.

mikeprimm commented 6 years ago

This is an interesting thought - let me give it a bit of consideration. I think it'd be relatively easy to allow you to provide a modid:blockname -> modid:blockname type substitution, and at least some of the specific->generic blocks MIGHT be mappable (some, but not all, custom blocks for leaves are subclasses of the vanilla BlockLeaves block type; ditto for things like stairs, doors, crops).

generrosity commented 6 years ago

I don't suppose @mikeprimm that you have testing something along these lines?