webbukkit / DynmapBlockScan

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

[1.12.2] Blocks with ids including a . not rendering after being added manually #56

Open AnnevanGils opened 3 years ago

AnnevanGils commented 3 years ago

I am running the modpack Infitech 3 version 1.13, and none of the Forestry (version 5.8.2.422) wood and tree leaves textures are being picked up by DBS. So I tried adding plum wood planks and stairs to the file forestry-texture.txt.

These are the block ids in game:

These are the lines I added:

texture:id=txt1001,filename=assets/forestry/textures/blocks/wood/planks.plum.png,xcount=1,ycount=1 block:id=%stairs.plum,data=0,patch0=0:txt1001,patch1=0:txt1001,patch2=0:txt1001,patch3=0:txt1001,patch4=0:txt1001,patch5=0:txt1001,stdrot=true block:id=%planks.1,data=5,patch0=0:txt1001,patch1=0:txt1001,patch2=0:txt1001,patch3=0:txt1001,patch4=0:txt1001,patch5=0:txt1001,stdrot=true

The files forestry-texture.txt and forestry-models.txt are in the folder dynmap/renderdata directly. After adding these lines, the blocks still wouldn't be rendered (after running the dynmap radiusrender command), so I added this line to the file forestry-models.txt:

customblock:id=%planks.1,data=5,class=org.dynmap.hdmap.renderer.CuboidRenderer

But also that didn't change the map.

Is it possible to have block ids with a . in them? There are other forestry block ids in the textures file and they are rendered somewhat correctly, but they all don't have a . in the block id.

Versions: