CraftBook 3

CraftBook 3

139k Downloads

Tree Lopper- Ignore placed logs

LadyCailinBot opened this issue ยท 4 comments

commented

CRAFTBOOK-2691 - Reported by Richard.Arkless

Hi I used to use TreeAssist and one of the features that it had was that it would only cut logs that have grown from a sapling and ignore user placed ones

When you're not busy can you add that as it really is annoying

Thanks
Richard

commented

Comment by Richard.Arkless

Oh yea you're right. Ok well thanks for looking into it

commented

Comment by me4502

An issue with this, is that we'd have to log all placed logs. This would require a lot of databases, that would make the plugin no longer lightweight.

commented

Comment by Richard.Arkless

How does the TreeAssist plugin do it then? As like I said it only ever seems to destroy logs that have been grown not placed and it doesn't even rely on a database

Maybe you can take a look at the source code
https://github.com/itsatacoshop247/TreeAssist

commented

Comment by me4502

It saves it to a YAML file, which is actually a whole lot worse. (YAML files are slow compared to Databases when storing thousands of entries)