Olafski / FastLeafDecay

Minecraft mod that provides faster leaf decay.
21 stars 6 forks source link

Blacklist support #3

Open Gunner76th opened 9 years ago

Gunner76th commented 9 years ago

Currently, if you try to use shears on a slime tree from Tinker's Construct, even if you go to harvest one of the outer most leaves, fast leaf decay kicks in and makes all of the leaves decay. This makes it very difficult to be able to harvest the leaves in order to craft slime leaf fletchings for crossbow bolts.

Would it be possible to add a blacklist function into Fast Leaf Decay, so that you can enter things in the format of TConstructs:slime.leaves? I am thinking that the reason that FLD is kicking in even when an outer leaf is harvested, is because the slime tree does not have any "logs" so when FLD does its check to see if any logs are still present, it returns a 0 value, and so FLD triggers and starts clearing the leaf blocks.

Toastdeib commented 8 years ago

This is actually a feature I was interested in, albeit for a different reason. I absolutely love this mod and its simplicity - especially when combined with Ticon lumber axes, it makes dealing with those enormous oak trees a breeze. I've recently gotten big into Botania, though, and had the unfortunate realization that tree farms with FLD completely ruin the efficacy of Munchdews (flowers that consume leaf blocks to generate mana). The solution that jumped to mind would be exactly what Gunner76th was requesting - the ability to blacklist specific leaf types so I could, for example, have jacaranda trees (what I usually use for farms) not decay quickly, while everything else still does.

I do realize this would probably be a moderately difficult feature to implement, but it would definitely be a nice one to have. If I find the time, I may take a stab at implementing it myself and submit a pull request.