DynmapBlockScan icon indicating copy to clipboard operation
DynmapBlockScan copied to clipboard

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

Open AnnevanGils opened this issue 4 years ago • 0 comments
trafficstars

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:

  • plum stairs: forestry:stairs.plum, #4488/0
  • plum wood planks: forestry:planks.1, #4376/5

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:

  • DynmapBlockScan-3.0-SNAPSHOT-forge-1.12.2
  • Dynmap-3.1-forge-1.12.2
  • ForgeMultipart-1.12.2-2.6.2.83-universal

AnnevanGils avatar Jun 03 '21 16:06 AnnevanGils