DynmapBlockScan icon indicating copy to clipboard operation
DynmapBlockScan copied to clipboard

Using block id aliases and DynmapBlockScan?

Open squid-box opened this issue 7 years ago • 10 comments
trafficstars

As there are some mods that are troublesome to render, even with DynmapBlockScan (looking at you, Chisel), is it possible to use the block alias list (used to replace one block type with another in the render, eg. hide diamond ore as regular stone on the map)?

The setting in dynmap/configuration.txt is:

block-id-alias:
    "14": 1
    "15": 1
    "16": 1

From my attempts at replacing eg. Chisel marble with quartz blocks, it seems like the setting is overridden/ignored (or I'm misunderstanding how to use it).

I'd really just like to "hide" the render holes caused by this :)

I'm running:

  • Minecraft 1.12.2 (with Forge 14.23.3.2655)
  • Dynmap 3.0 alpha 1
  • DynmapBlockScan 3.0 alpha 1

squid-box avatar Aug 15 '18 11:08 squid-box

Oops - sorry - haven't documented this change, but block aliases in v3.0 are block NAME based vs block ID based. I failed to update the default configuration.txt with the proper description. The new form is:

block-alias: "blockname": "blockname-to-map-to"

So, for your example, it'd be:

block-alias: "sand": "stone" "gravel": "stone" "gold_ore": "stone"

For mod blocks, use 'modid:blockname' format : e.g. "minecraft:stone"

mikeprimm avatar Aug 28 '18 19:08 mikeprimm

Fantastic to hear, thank you :)

squid-box avatar Aug 28 '18 20:08 squid-box

Did you have any luck getting chisel blocks to show? I've tried block-id-alias without any luck. Trying to get the pyramids in Pyramid Reborn 3 to show, even if they are all just plain sandstone.

"chisel:sandstoneyellow": "minecraft:sandstone" "chisel:sandstoneyellow1": "minecraft:sandstone" "chisel:sandstoneyellow2": "minecraft:sandstone" "chisel:sandstone-scribbles": "minecraft:sandstone" These did not work. Still have nothing but black for all chisel blocks. image

BonaireDreams avatar Oct 16 '18 00:10 BonaireDreams

I hadn't noticed because I haven't had any Chisel blocks visible on the dynmap, but no it doesn't seem to work for me either. I just did a trivial test of adding this to my configuration.txt:

block-id-alias:
    "chisel:cobblestone": "minecraft:cobblestone"

Any place I place chisel:cobblestone is handled the same way. Also applies to many other mod blocks, like "traverse:fir_planks"

squid-box avatar Oct 16 '18 11:10 squid-box

Isn't the new section name "block-alias:" instead of "block-id-alias:" ;) Anyway I'll post my test result after I collected some block replacements for blocks my folk use on their buildings and restarted the server. yea.. block-alias and block-id-alias don't work as expected. BTW there is no config relaoding while server running? - would understand that ^^ running SevTech Ages 3.0.8 with:

  • Dynmap-3.0-beta-3-forge-1.12.2.jar (09-Dec-2018 17:36)
  • DynmapBlockScan-3.0-SNAPSHOT-forge-1.12.2.jar (11-Dec-2018 22:53)

Eld0r avatar Feb 22 '19 15:02 Eld0r

#31

senue avatar Mar 05 '19 14:03 senue

Thx for the chisel jar! too bad Sevtech Ages use Chisel 0.2.0.31 (I may force my people to update to this version but I hate to force the client customizations ^^) BTW: forget to update my post: Problem still exist with Dynmap-3.0-SNAPSHOT-forge-1.12.2 (03-Feb-2019) - this version seem to have a problem with the player body sprite files

Eld0r avatar Mar 06 '19 15:03 Eld0r

@Eld0r You are welcome! You don't have to update: Open my Chisel.jar and copy the json files under assets/chisel/blockstates into the same folder of the Chisel.jar you are running on the server (except default.json and auto_chisel.json) No need to do anything on the client side and this should work fine.

senue avatar Mar 06 '19 15:03 senue

Ah thx @senue, works like a charm! So easy to just replace the blockstates. (You should add this hint to https://github.com/webbukkit/DynmapBlockScan/issues/31 ^^)

Nethertheless other Mods are still missing, like portal tree leaves from the betweenlands, drawers, liquid starlight from astral sorcery or rivers with flowing water placed by the sevtech world generator (see background of pic).

Chisel render in progress... ^^ image

Eld0r avatar Mar 06 '19 16:03 Eld0r

Glad i could help :smile:

senue avatar Mar 06 '19 16:03 senue