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

Traverse blocks not rendering #29

Closed davidsiaw closed 5 years ago

davidsiaw commented 5 years ago

Hello there

Great work on Dynmap. Keep up the good work.

Recently I have been using FTB Revelation 1.12, after adding DynmapBlockScan-3.0-alpha-2-forge-1.12.2.jar to the world the Autumnal leaves don't render resulting in this:

image

Some of the offending items are as follows:

traverse:yellow_autumnal_leaves
traverse:orange_autumnal_leaves

This label is taken from here:

image

Do I need to do any additional configuration to use DynmapBlockScan?

``` Dynmap-3.0-beta-1-forge-1.12.2.jar DynmapBlockScan-3.0-alpha-2-forge-1.12.2.jar ``` Both of these binaries are available from curse at time of writing. I have also tried several combinations of: ``` Dynmap-3.0-alpha-3-forge-1.12.2.jar Dynmap-3.0-beta-1-forge-1.12.2.jar Dynmap-HEAD-forge-1.12.2.jar DynmapBlockScan-3.0-alpha-1-forge-1.12.2.jar DynmapBlockScan-3.0-alpha-2-forge-1.12.2.jar ``` In the server logs a large number of these are spit out: ``` ... "> [10:30:57] [Server thread/INFO] [DynmapBlockScan]: [DynmapBlockScan] openblocks:assets/openblocks/models/block/piggy.obj.json : Failed to open model\r\n" "> [10:30:57] [Server thread/INFO] [DynmapBlockScan]: [DynmapBlockScan] thaumcraft:assets/thaumcraft/models/block/thaumatorium.obj.json : Failed to open model\r\n" "> [10:30:57] [Server thread/INFO] [DynmapBlockScan]: [DynmapBlockScan] thaumcraft:assets/thaumcraft/models/block/pillar.obj.json : Failed to open model\r\n" "> [10:30:57] [Server thread/INFO] [DynmapBlockScan]: [DynmapBlockScan] thaumcraft:assets/thaumcraft/models/block/arcane_workbench_charger.obj.json : Failed to open model\r\n" "> [10:30:57] [Server thread/INFO] [DynmapBlockScan]: [DynmapBlockScan] nice:assets/nice/models/block/cylinder.obj.json : Failed to open model\r\n" "> [10:30:57] [Server thread/INFO] [DynmapBlockScan]: [DynmapBlockScan] immersiveengineering:assets/immersiveengineering/models/block/connector/connector_lv.obj.json : Failed to open model\r\n" "> [10:30:57] [Server thread/INFO] [DynmapBlockScan]: [DynmapBlockScan] immersiveengineering:assets/immersiveengineering/models/block/smartmodel/conn_ic2_relay_glass.json : Failed to open model\r\n" "> [10:31:05] [Server thread/ERROR] [woot]: Woot: Could not load factory loot from /home/minecraft/mcmyadmin/Minecraft/woot/loot.json\r\n" ... ``` Followed by these: ``` "> [10:31:03] [Server thread/WARN] [DynmapBlockScan]: [DynmapBlockScan] {model=dynmapblockscan:forgemodel54377,rotation=X0_Y0}: failed to generate elements for deepresonance:tank[{ values={down=accept, dummy_rcl=1, east=provide, north=none, south=none, up=provide, west=accept},meta=[0]}]\r\n" "> [10:31:03] [Server thread/WARN] [DynmapBlockScan]: [DynmapBlockScan] {model=dynmapblockscan:forgemodel54366,rotation=X0_Y0}: failed to generate elements for deepresonance:tank[{ values={down=accept, dummy_rcl=1, east=accept, north=provide, south=provide, up=accept, west=provide},meta=[0]}]\r\n" "> [10:31:03] [Server thread/WARN] [DynmapBlockScan]: [DynmapBlockScan] {model=dynmapblockscan:forgemodel53858,rotation=X0_Y0}: failed to generate elements for deepresonance:tank[{ values={down=none, dummy_rcl=1, east=accept, north=provide, south=none, up=none, west=accept},meta=[0]}]\r\n" ... ``` And these: ``` ... "> [10:33:13] [Dynmap Render Thread/WARN] [Dynmap]: [Dynmap] Resource assets/minecraft/textures/items/bone.png for mod darkutils not found\r\n" "> [10:33:13] [Dynmap Render Thread/WARN] [Dynmap]: [Dynmap] Resource assets/minecraft/textures/items/egg.png for mod darkutils not found\r\n" "> [10:33:13] [Dynmap Render Thread/WARN] [Dynmap]: [Dynmap] Resource assets/minecraft/textures/items/wheat.png for mod darkutils not found\r\n" "> [10:33:13] [Dynmap Render Thread/WARN] [Dynmap]: [Dynmap] Resource assets/minecraft/textures/items/blaze_powder.png for mod darkutils not found\r\n" "> [10:33:13] [Dynmap Render Thread/WARN] [Dynmap]: [Dynmap] Resource assets/minecraft/textures/items/nether_star.png for mod darkutils not found\r\n" "> [10:33:13] [Dynmap Render Thread/WARN] [Dynmap]: [Dynmap] Resource ... ``` I was searching all over for more info about how I would go about installing and troubleshooting DynmapBlockScan, if you could give me a few pointers on how to do that I'll write up some of that info I can write that up in the README and make a PR.
Derkades commented 5 years ago

I am having this issue as well on FTB Revelation 2.5.0 image

davidsiaw commented 5 years ago

I was having a brief look at the blockstate stuff but I don't really understand how resources are treated in java and how blockstates are related to that so its taking a while. My small fix idea was to make it so it looks in a local folder for missing blockstate data (plain json) after it searches everywhere.

Would be nice if maintainer could point me in the right direction on this one.

mikeprimm commented 5 years ago

I'll try to give it a look - your information looks good enough to get me where I need to be to reproduce it, so hopefully I'll have something useful to say soon :)

mikeprimm commented 5 years ago

OK - experimental fix in latest dev build - https://dynmap.us/builds/DynmapBlockScan/DynmapBlockScan-3.0-SNAPSHOT-forge-1.12.2.jar

NPutting commented 5 years ago

Was just looking up a solution for this problem as I just grabbed dynmap. Looks like it fixed all of the problems listed above on my map. clear glass is now completely invisible but that looks better than the long green streaks it was making in the alpha-2 build.

Thanks!

Derkades commented 5 years ago

Thanks for the quick fix! Traverse blocks display properly now. (And many other mods too probably)

davidsiaw commented 5 years ago

Thank you for the fix. I'll close this now so it doesn't continue to pollute the issue list.