DynmapBlockScan icon indicating copy to clipboard operation
DynmapBlockScan copied to clipboard

Advanced block processing feature request

Open mskurnik opened this issue 3 years ago • 0 comments

It looks like Dynmap does not have a way to filter NBT data. I'm wondering if there is a way to add the ability to detect and filter on NBT data. In game I can do /give user ThermalExpansion:Light 1 2 {Mode:5,Style:2} and get a lamp that is enabled and is a certain size (thermal has multiple shapes/sizes). That might be a nice feature to add were you can do block:id=%Light,data=2,stdrot=true,face0-5=12000:thermalexpansion/light/Lamp_Effect,nbt=Mode:5 or something like that so you can specify different versions of something.

Additionally, the ability to extract some NBT data and apply it is a color filter/overlay would be nice as thermal will return colors in the NBT data as well. This would make colored ThermalExpansion blocks and OpenBlocks canvas blocks that have been colored to show up correctly in Dynmap instead of just white. For that you would need to extract the color and the block type. Same for things like architecture craft or carpenter's blocks. You would then be able to actually render stairs, slabs, and full blocks. I have no idea if Dynmap can render slopes no not.

I'm not sure if these requests are too complex for BlockScan but it could at least export various states of a block or something I'm not sure if BlockScan would be able to do something like create a variable to extract a color that would be used for a block or something like that tbh. At the very least, have it put in comments with various NBT data that can be extracted from the block. If needed, perhaps adding a scripting feature like that in MineTweaker so you can iterate through multiple states/colors/shapes/etc.

mskurnik avatar May 17 '21 23:05 mskurnik