-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replanting Feature #266
Comments
I'll keep it open as a reference but not sure this will be implemented. To me you already get enough advantages by having it all chopped down so you can still make some effort to replant it back. It can be argued that it can be toggled in the settings and yeah for sure it can. However there are technical difficulties :
I don't think the 2 lats points are the hardest, but the first one seems a bit tricky to me. There's no direct way (i think) of knowing the sapling item from the log. |
I dont remember what mod does did it this way, but use whatever sapling drops from the tree leaves? as for the where to plant thing, you could follow along the the log down to the base in code by checking if log@z -1 is not log and plant there, that would also be stupid enough to work with any type of tree, not counting mushroom trees maybe? |
Replanting would also require an override list and/or allow-/blocklists for the edge case where loottable for a leaf for some reason contains more than one "plantable" item. You can't just assume that the tree is placed on a block you can plant a sapling on, otherwise you can grow a tree, replace the dirt with stone, and use the mod to "plant" a sapling on the stone. So unless there are easily accessible predefined tables or something that describe where you can plant what, implementing this feature would be rough and approximate. Personally, I believe that this feature would be useful, but that would mean either breaking some other mods that behave in unforeseen ways or neglecting them entirely. And replanting manually is not that difficult anyway, you just keep a sapling next to your axe. |
if the sapling can be placed, just do it, else an additional sapling is dropped |
I would love to add this feature. You can set it so that it's not activated on default and it can only be activated by editing the config files. |
Describe the feature
add replanting ... when we chop down a tree the saplings will replant
The text was updated successfully, but these errors were encountered: