Lunatrius / Schematica

Import schematics, export schematics, build schematics. All inside Minecraft!
MIT License
210 stars 146 forks source link

Add option to ignore snow layer blocks when displaying a schematic. #62

Closed starcraft66 closed 9 years ago

starcraft66 commented 9 years ago

I happen to be finding myself building in snow biomes a lot on 2b2t with schematica and it is really annoying when it starts snowing and the little snow layer blocks start forming and appear as invalid blocks in red on the ghost schematic. It would be really nice if a feature could be implemented to ignore the snow layers since you can replace the block with any other just by right clicking it like grass.

Lunatrius commented 9 years ago

This may be a tricky thing to do. The same thing also applies when building under water.

The easiest thing to do would be having a global list of blocks to consider as air (as if the block does not exist). That would however mean (with the current logic in place) that those blocks would be completely ignored. If the schematic had such a block and you placed it into that place, it would ignore the real block, marking it as missing (blue overlay).

starcraft66 commented 9 years ago

Alright. I'll check out the code later to familiarize myself with it and I'll try to whip up a quick hack to see how well that works.

Lunatrius commented 9 years ago

The main issue is, such an option would require at least a world reload (to tweak the setting in the config menu) if it was supposed to be permanent. The other alternative to this would be to have a part of the control screen dedicated to this, in the form of temporary "filters". Those would be wiped on each schematic load and/or player relog.

Lunatrius commented 9 years ago

You might be able to do this in the latest build now. However, anything with the blocks on the ignored list will not be highlighted at all.

starcraft66 commented 9 years ago

Thanks man! I'll check it out soon.

On Sat, Jan 10, 2015 at 12:09 PM, Jadran Kotnik notifications@github.com wrote:

Closed #62 https://github.com/Lunatrius/Schematica/issues/62.

— Reply to this email directly or view it on GitHub https://github.com/Lunatrius/Schematica/issues/62#event-216982482.

-Tristan